LACP, PAgP and static channels

Three ways

ProtocolModesNotes
LACP (IEEE 802.3ad / 802.1AX)active, passiveOpen standard, works with any vendor. Use this.
PAgPdesirable, autoCisco only
StaticonNo negotiation at all: both ends must be set to on

Which combinations bundle?

Side ASide BResult
activeactive or passiveBundles (LACP)
passivepassiveNo: both wait
desirabledesirable or autoBundles (PAgP)
autoautoNo: both wait
ononBundles (no protocol)
onactive / desirableNo: one side doesn't negotiate
LACP modePAgP modeNo: different protocols

Configuring it

  1. Select the members together: interface range g0/1 - 2.
  2. channel-group 1 mode active. This creates interface Port-channel1.
  3. Configure the port-channel interface (trunk, allowed VLANs, native VLAN); the settings are copied to the members.

In NetLab

▶ SW1
SW1>enable
SW1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#interface range g0/1 - 2
SW1(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel1 
SW1(config-if-range)#exit
SW1(config)#interface port-channel 1
SW1(config-if)#switchport mode trunk
SW1(config-if)#end
*Mar  1 00:00:08.000: %SYS-5-CONFIG_I: Configured from console by console
▶ SW2
SW2>enable
SW2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW2(config)#interface range g0/1 - 2
SW2(config-if-range)#channel-group 1 mode passive
Creating a port-channel interface Port-channel1 
*Mar  1 00:00:12.000: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar  1 00:00:12.000: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up
SW2(config-if-range)#exit
SW2(config)#interface port-channel 1
SW2(config-if)#switchport mode trunk
SW2(config-if)#end
*Mar  1 00:00:16.000: %SYS-5-CONFIG_I: Configured from console by console
SW2#show etherchannel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1      Po1(SU)         LACP      Gi0/1(P)    Gi0/2(P)    

Reading show etherchannel summary

FlagMeaning
Po1(SU)Layer 2 (S), in use (U): good. RU = a layer 3 channel in use
Po1(SD)Down: no member is bundled
(P)Member is bundled: good
(I)Stand-alone: up, but not bundled (no negotiation partner)
(s)Suspended: settings don't match the others
(D)Member is down

Tip: A layer 3 EtherChannel works too: no switchport on the port-channel and the members, and the IP address on interface port-channel 1.

HOME LABS COMMUNITY DASHBOARD