EtherChannel Configuration

About EtherChannel:

  • You can configure maximum 8 ports in single port-channel.
  • All ports in the port-channel should be of same type (Fast Ethernet or Gigabit Ethernet), same speed, same duplex settings schweizer-apotheke.de. In addition, incase of trunk port-channel, same VLANs and native VLAN should be permitted. It is advisable to configure switchports on the port-channel interface rather than on each physical interface.

# config t
config)# interface range gigabit ethernet 0/51-52
config-if-range)# channel-group 1 mode active
(config-if-range)# channel-protocol 1 lacp
(config-if-range)# exit
(config)# interface port-channel 1
(config-if)# switchport trunk encapsulation dot1q
(config-if)# switchport mode trunk
(config-if)# end

You  don’t need to specify Channel-protocol 1 lacp command because active keyword in channel-group 1 mode active instruct switch to form LACP aggregated link.

ModeProtocolDescription
On
On
LACP
PAgP
Links in this mode don't perform any protocol negotiation. It doesn't send or respond any frames sent by far-end switch. The other end of link should also be set to On to bring up the ether channel.
Active
Auto
LACP
PAgP
Links in this mode send and respond to frames in order to form aggregated link.
Passive
Desirable
LACP
PAgP
It doesn't initiate any frames but waits for first frame from far-end switch and then responds to initiate negotiation.

Both end of the links should be On-On or Active-Passive or Auto-Desirable in order to bring up the ether channel. All other combination doesn’t bring up aggregated link.