Octet

How does LACP decide which links are active when you have more than eight, and what are LACP rate and priority for?

Show the answer

Say this first

Many platforms allow 16 ports in an LACP bundle: 8 active and up to 8 hot-standby. The switch with the better system ID (lower system priority, then lower MAC) decides which ports are active, choosing the lowest port priority and then the lowest port number. Hot-standby ports (H) replace a failed active member. Rate slow sends LACPDUs every 30 seconds with a 90-second timeout; fast sends every second with a 3-second timeout. Priorities default to 32768.

Go deeper

Controls

Cisco IOS
lacp system-priority 100
!
interface GigabitEthernet1/0/1
 lacp port-priority 100
 lacp rate fast
 channel-group 1 mode active
!
interface Port-channel1
 lacp max-bundle 4
 port-channel min-links 2
  • lacp max-bundle caps active members; the rest wait in hot-standby.
  • port-channel min-links takes the whole bundle down when fewer members are up, so routing moves traffic to another path instead of squeezing it into half the bandwidth.
  • lacp rate fast catches a member that stays up but stops passing frames, for example through a media converter, in about 3 seconds instead of 90.

Reading the neighbor

Output
DSW1# show lacp 1 neighbor
Flags:  S - Device is requesting Slow LACPDUs
        F - Device is requesting Fast LACPDUs
        A - Device is in Active mode       P - Device is in Passive mode

Channel group 1 neighbors

                     LACP port                      Admin  Oper   Port    Port
Port          Flags  Priority  Dev ID          Age  key    Key    Number  State
Gi1/0/47      SA     32768     aabb.cc00.0500  12s  0x0    0x1    0x130   0x3D
Gi1/0/48      SA     32768     aabb.cc00.0500   9s  0x0    0x1    0x131   0x3D

Same Dev ID on both members means both reach the same partner. State 0x3D means active, aggregatable, in sync, collecting and distributing.

Traps

  • Assuming more than 8 members can forward at once. The extra members are hot-standby.
How did you do?