EtherChannel technology was originally developed by Cisco as a LAN switch-to-switch technique of grouping several Fast Ethernet or Gigabit Ethernet ports into one logical channel.
When an EtherChannel is configured, the resulting virtual interface is called a port channel. The physical interfaces are bundled together into a port channel interface, as shown in the figure.
EtherChannel technology has many advantages, including the following:
EtherChannel has certain implementation restrictions, including the following:
PAgP helps create the EtherChannel link by detecting the configuration of each side and ensuring that links are compatible so that the EtherChannel link can be enabled when needed. The modes for PAgP as follows:
LACP provides the same negotiation benefits as PAgP. LACP helps create the EtherChannel link by detecting the configuration of each side and making sure that they are compatible so that the EtherChannel link can be enabled when needed. The modes for LACP are as follows:
The following guidelines and restrictions are useful for configuring EtherChannel:
Configuring EtherChannel with LACP requires the following three steps:
All interfaces within an EtherChannel must have the same configuration of speed and duplex mode, native and allowed VLANs on trunks, and access VLAN on access ports. Ensuring these configurations will significantly reduce network problems related to EtherChannel. Common EtherChannel issues include the following:
S1(config)#
interface range f0/21-22
shutdown
channel-group 1 mode desirable
no shutdown
interface port-channel 1
switchport mode trunk
————————–
interface range g0/1-2
shutdown
channel-group 2 mode active
no shutdown
interface port-channel 2
switchport mode trunk
S2(config)#
interface range g0/1-2
shutdown
channel-group 2 mode active
no shutdown
interface port-channel 2
switchport mode trunk
————————-
interface range f0/23-24
shutdown
channel-group 3 mode passive
no shutdown
interface port-channel 3
switchport mode trunk
S3(config)#
interface range f0/21-22
shutdown
channel-group 1 mode desirable
no shutdown
interface port-channel 1
switchport mode trunk
————————
interface range f0/23-24
shutdown
channel-group 3 mode active
no shutdown
interface port-channel 3
switchport mode trunk
S1# show etherchannel summary
S2# show etherchannel summary
S1# show etherchannel summary
Verify ports are in trunk mode.
S2#show interface Trunk
S2(config)#
interface range f0/21 – 24, g0/1-2
switchport mode trunk
Correct any EtherChannel ports that are not configured as trunks
S1(config)# interface port-channel 1
S1(config-if)# switchport mode trunk
S2(config)# interface port-channel 2
S2(config-if)# switchport mode trunk
S2(config-if)# interface port-channel 3
S2(config-if)# switchport mode trunk
S2(config-if)# interface Port-channel 6
S2(config-if)# switchport mode trunk
Examine port channel assignments
S1# show etherchannel summary
<output omitted>
1 Po1(SD) LACP Gig0/1(I) Gig0/2(I)
3 Po3(SU) LACP Fa0/23(P) Fa0/24(P)
5 Po5(SU) LACP Fa0/21(P) Fa0/22(P)
S2# show etherchannel summary
<output omitted>
2 Po2(SU) LACP Gig0/1(P) Gig0/2(P)
3 Po3(SU) LACP Fa0/23(P) Fa0/24(P)
6 Po6(SD) LACP Fa0/21(I) Fa0/22(I)
S3# show etherchannel summary
<output omitted>
1 Po1(SD) PAgP Gig0/1(I) Gig0/2(I)
4 Po4(SD) PAgP Fa0/23(I) Fa0/24(I)
6 Po6(SD) PAgP Fa0/21(I) Fa0/22(I)
S4# show etherchannel summary
<output omitted>
2 Po2(SU) LACP Gig0/1(P) Gig0/2(P)
4 Po4(SU) LACP Fa0/21(P) Fa0/22(P) Fa0/23(I) Fa0/24(I)
5 Po5(SD) –
Step 2: Correct port channel assignments
S4(config)# interface range f0/21 – 22
S4(config-if-range)# channel-group 5 mode active
orrect Port Channel Protocol Issues
S3# show etherchannel summary
<output omitted>
1 Po1(SD) PAgP Gig0/1(I) Gig0/2(I)
4 Po4(SD) PAgP Fa0/23(I) Fa0/24(I)
6 Po6(SD) PAgP Fa0/21(I) Fa0/22(I)
S3(config)# interface range g0/1 – 2
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 1 mode active
S3(config-if-range)# interface range f0/21 – 22
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 6 mode active
S3(config-if-range)# interface range f0/23 – 24
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 4 mode active