EtherChannel
EtherChannel is a port link aggregation technology. It allows you to group multiple physical Ethernet links between two switches and treat them as a single logical link. That way Spanning Tree only sees this single Port-Channel, so it doesn’t block anything.
1.Protocols
Section titled “1.Protocols”When configuring EtherChannel, you have to choose a negotiation protocol:
LACP (Link Aggregation Control Protocol): The IEEE standard (802.3ad).
PAgP (Port Aggregation Protocol): Cisco’s proprietary version.
Static (ON): Forces the channel without negotiation. Dangerous because if one side is misconfigured, it can create an STP loop.
2. Configuration of LACP
Section titled “2. Configuration of LACP”2.1 Configure Switch A
Section titled “2.1 Configure Switch A”SwitchA(config)# interface range GigabitEthernet 0/1 - 2SwitchA(config-if-range)# channel-group 1 mode activeSwitchA(config-if-range)# exit2.2 Configure the Logical Port-Channel on Switch A
Section titled “2.2 Configure the Logical Port-Channel on Switch A”Once the channel group is created, a virtual interface called Port-channel 1 appears. You configure your VLANs or trunking on this logical interface, NOT the physical ones anymore.
SwitchA(config)# interface Port-channel 1SwitchA(config-if)# switchport mode trunkSwitchA(config-if)# exit2.3 Configure Switch B
Section titled “2.3 Configure Switch B”SwitchB(config-if-range)# channel-group 1 mode activeSwitchB(config-if-range)# exit
SwitchB(config)# interface Port-channel 1SwitchB(config-if)# switchport mode trunkSwitchB(config-if)# end3.Verification commands
Section titled “3.Verification commands”SwitchA# show etherchannel summarySwitchA# show interfaces trunk