2.4 EtherChannel (Link Aggregation)
Key Takeaways
- EtherChannel bundles 2-8 physical links into one logical link for increased bandwidth and redundancy.
- LACP (Link Aggregation Control Protocol, IEEE 802.3ad) is the industry standard — use active/passive modes.
- PAgP (Port Aggregation Protocol) is Cisco-proprietary — use desirable/auto modes.
- All member ports must have matching speed, duplex, VLAN, and trunk settings.
- EtherChannel appears as a single link to STP, preventing STP from blocking redundant member links.
EtherChannel (Link Aggregation)
EtherChannel bundles multiple physical Ethernet links between two switches into a single logical link. This provides increased bandwidth and redundancy without triggering STP to block redundant links.
Why EtherChannel?
Without EtherChannel, if you connect two switches with 4 Gigabit links, STP will block 3 of them to prevent loops. With EtherChannel, all 4 links are active and appear as a single logical link to STP.
| Without EtherChannel | With EtherChannel |
|---|---|
| STP blocks redundant links | All links active |
| 1 Gbps effective bandwidth | 4 Gbps effective bandwidth |
| Single point of failure | Survives link failures |
| STP reconvergence if active link fails | Automatic failover, no STP reconvergence |
EtherChannel Negotiation Protocols
LACP (Link Aggregation Control Protocol)
LACP is the IEEE 802.3ad open standard for EtherChannel negotiation. It is the recommended protocol for multi-vendor environments.
| Mode | Behavior |
|---|---|
| active | Actively sends LACP packets to form a channel |
| passive | Only responds to LACP packets (does not initiate) |
Successful LACP combinations:
| Side A | Side B | Result |
|---|---|---|
| active | active | EtherChannel forms |
| active | passive | EtherChannel forms |
| passive | passive | No channel (neither initiates) |
PAgP (Port Aggregation Protocol)
PAgP is Cisco-proprietary. Use it only in all-Cisco environments.
| Mode | Behavior |
|---|---|
| desirable | Actively sends PAgP packets to form a channel |
| auto | Only responds to PAgP packets (does not initiate) |
Successful PAgP combinations:
| Side A | Side B | Result |
|---|---|---|
| desirable | desirable | EtherChannel forms |
| desirable | auto | EtherChannel forms |
| auto | auto | No channel (neither initiates) |
Static (on mode)
Configuring EtherChannel with on mode forces the channel without negotiation. Both sides must be set to on. No protocol packets are exchanged.
Warning: Static EtherChannel is risky because there is no negotiation to detect misconfigurations. LACP is preferred.
EtherChannel Configuration
Layer 2 EtherChannel (LACP)
Switch(config)# interface range GigabitEthernet0/1 - 4
Switch(config-if-range)# channel-group 1 mode active ! LACP active
Switch(config-if-range)# exit
Switch(config)# interface Port-channel1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan 10,20,30
Layer 3 EtherChannel
Switch(config)# interface range GigabitEthernet0/1 - 4
Switch(config-if-range)# no switchport ! Make Layer 3
Switch(config-if-range)# channel-group 1 mode active
Switch(config)# interface Port-channel1
Switch(config-if)# no switchport
Switch(config-if)# ip address 10.0.0.1 255.255.255.252
Member Port Requirements
All ports in an EtherChannel must match:
- Same speed (all 1 Gbps or all 10 Gbps)
- Same duplex (all full-duplex)
- Same VLAN configuration (access VLAN or trunk allowed VLANs)
- Same trunk mode (all access or all trunk)
- Same native VLAN (for trunk ports)
- Same STP cost settings
If any port has different settings, the EtherChannel will not form (or will be suspended).
Load Balancing
EtherChannel distributes traffic across member links using a hash algorithm. The switch can use different criteria:
| Method | Hash Based On |
|---|---|
| src-mac | Source MAC address |
| dst-mac | Destination MAC address |
| src-dst-mac | Both source and destination MAC |
| src-ip | Source IP address |
| dst-ip | Destination IP address |
| src-dst-ip | Both source and destination IP |
| src-port | Source TCP/UDP port |
| dst-port | Destination TCP/UDP port |
Switch(config)# port-channel load-balance src-dst-ip ! Configure load balance method
Switch# show etherchannel load-balance ! Verify current method
Verification Commands
Switch# show etherchannel summary ! Quick status of all channels
Switch# show etherchannel port-channel ! Port-channel details
Switch# show etherchannel detail ! Detailed information
Switch# show interfaces port-channel 1 ! Interface status
Sample "show etherchannel summary" Output
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SU) LACP Gi0/1(P) Gi0/2(P) Gi0/3(P) Gi0/4(P)
Status flags: SU = Layer 2 in use, RU = Layer 3 in use, P = bundled in port-channel, s = suspended, D = down
On the Exam: Know that LACP active-active and active-passive form a channel, but passive-passive does not. This mirrors PAgP where desirable-auto works but auto-auto does not. Also know that all member ports must have matching configurations.
What is the maximum number of physical ports that can be bundled in a single EtherChannel?
Which EtherChannel negotiation protocol is the IEEE open standard?
What happens if one switch is configured with LACP passive and the other with LACP passive?