Etherchannel on Cisco IOS Catalyst Switch

Hi Zaman,

It is used to restrict anyone from using non-LACP commands. Here’s an example:

You can use the channel-protocol command to restrict anyone from selecting a mode that is not applicable to the selected protocol

SW1(config)#interface GigabitEthernet 0/1
SW1(config-if)#channel-protocol lacp
SW1(config-if)#channel-group 1 mode ?
  active     Enable LACP unconditionally
  auto       Enable PAgP only if a PAgP device is detected
  desirable  Enable PAgP unconditionally
  on         Enable Etherchannel only
  passive    Enable LACP only if a LACP device is detected
SW1(config-if)#channel-group 1 mode auto
Command rejected (Channel protocol mismatch for interface Gi0/1 in group 1): the interface can not be added to the channel group
SW1(config-if)#channel-group 1 mode desirable
Command rejected (Channel protocol mismatch for interface Gi0/1 in group 1): the interface can not be added to the channel group
SW1(config-if)#channel-group 1 mode on       
Command rejected (Channel protocol mismatch for interface Gi0/1 in group 1): the interface can not be added to the channel group

All non-LACP commands are now rejected.

Rene

1 Like