HPE Aruba Networking & ProVision-based
1836357 Members
2063 Online
110100 Solutions
New Discussion

Trunk or LACP?

 
PokerMunkee
Advisor

Trunk or LACP?

Common question but no concrete answers on multiple threads on the 'net.

 

I have a 5412zl (core) and a 5406zl (edge) that I want to connect together with 2x 1GbE Cat5e links.   I want to add capacity (2Gbps potential) and redundancy.

 

I'm playing around with having the trunk setup as Trunk and LACP.  I'm not seeing any difference between the two in my limited testing.

 

What's the prefered type of trunk for my setup?

 

I'm starting to lose sleep over this :/  I want to make sure I'm setting this up the correct way.

 

Thanks!

 

 

 

 

 

4 REPLIES 4
HEKnet
Advisor

Re: Trunk or LACP?

There is no clear recommendation for one of these options. If it was, there would be no point in offering more than the one and only option. Actually, I would suggest you to read the chapter 4 in the "Management and Configuration Guide", because it describes the advantages and disadvanges for each of the options and then you have to decide what you want on your own

 

But I had the same question some time ago and I will sum up the main points. I skip all points that are related to trunking vs. aggregation with other equipments, because you are only interested into a conenction between two 5400zl.

 

  • A "trunk" is a very "dumb" thing. This is not meant to be negative, I only want to say there is no negiotation between  both ends of a trunk. Each end uses all links of a trunk in some kind of round-robin fashion and expects the remote end to do the same. Moreover within the switch firmware a trunk is seen as an individual, proper port. It forgets about the members of a trunk, they won't even show up in "show interfaces" anymore. If both ends are under your control this is totally fine, but dare you if you create a trunk on one side and then put both links into non-trunked ports at the other side or even into two ports of two different devices. But in my opinion this is not a real disadvantage but an advantage. Either is works and then it works 100% as expected or it does not work at all and you will notice it. Moreover and this is a real advantage of a trunk you can sniff traffic on it because it is seen as a proper interface by the switch. If you need this capability for network monitoring or error analysis then a trunk is the only option.
  • LACP takes some burden from the administrator and puts more "intelligence" into the switch. If you aggregate some ports on one side but then forget to do the same at the remote end or if you suddenly decide to use the links for something totally different, nothing bad will happen. This is fine, if you do not have control about the remote end. LACP is more fault-tolerant. Moreover there is one advantage. A trunk as well as an LACP link can only have at most 8 "active" member links. For a trunk this is all you can have, because each member of a trunk is always active. A LACP link can have additional members as "inactive" spares. If one of the active links fails (the cord is removed or whatever) one of the spares becomes active. Unfortunately, you cannot sniff traffic on a LACP link, because the switch still sees the members as individual ports.

To make a long story short: Back in times, I myself decided to use a trunk.

 

(a) From I technical perspective I wanted to have the capability to monitor traffic if I need to. I did not need the option to have more than 8 inactive spares. I did not need the intelligence of LACP, because I had both sides and the wiring under my control.

 

(b) From a more "social" perspective, I do not like auto-negiotation and "intelligent" devices. What I say now is a total personal attitude. If I have both ends under my control and if I do something wrong I want to notice it. It is OK for me, if things go really wrong in this case, because then it is my fault and I want to know it as soon as possible. For me this is a question of "digital sovereignty". In my personal experience, auto-negiotation causes more problems than it solves. If something goes wrong, you normally do not notice it directly, because there is only a silent decrease in performance. Hence, you need some kind of monitoring to ensure that everything still works as you want it to work. This monitoring introduces some additional complexity that is not really necessary. If you use "dumb" devices, you get this monitoring for free. Either it works and then it works as it should or it does not work at all.

 

PokerMunkee
Advisor

Re: Trunk or LACP?

Thank you very much!

 

I'm on team trunk now, as well.

 

Makes sense to me.

Richard Litchfield
Respected Contributor

Re: Trunk or LACP?

LACP is a properly defined standard; I always use that unless there is some reason not to (eg connecting to an older device that doesn't support LACP properly or at all).

 

Sample config

trunk A1,B1 trk1 lacp

interface A1
   name "10Gb fibre link to L2"
   exit
interface B1
   name "10Gb fibre link to L2 orange"
   exit

vlan 10
   name "Prod"
   untagged A3,B3,C8,C22-C23,D3,D8-D9,D19,E1,Trk1,Trk10
   tagged C3,D13-D14,Trk2
   exit

 

Vince-Whirlwind
Honored Contributor

Re: Trunk or LACP?

I'm with Richard, by default I would tend to prefer standards-based LACP.

 

If it's just an interswitch link between two Procurve switches, then Trunk is also fine.