EtherChannel: Aggregating Layer 2 Links for CCNA
EtherChannel bundles multiple physical Ethernet links into one logical link to increase bandwidth and provide redundancy without causing STP loops.
The Problem with Redundant Links
If you connect multiple cables between two switches to increase bandwidth, Spanning Tree Protocol (STP) will block all but one of the links to prevent a loop. This wastes potential bandwidth. **EtherChannel** solves this by bundling up to 8 active physical links into a single logical interface called a Port-Channel.
LACP vs. PAgP
EtherChannels can be formed statically or dynamically. The two dynamic negotiation protocols are **LACP** (Link Aggregation Control Protocol, IEEE 802.3ad) and **PAgP** (Port Aggregation Protocol, Cisco proprietary). LACP is the industry standard and preferred choice. It uses states like 'Active' (initiates negotiation) and 'Passive' (waits for negotiation).
Configuration and Load Balancing
To configure LACP, select the physical interfaces and use `channel-group 1 mode active`. This creates logical interface `Port-channel 1`. All physical ports in the bundle must have identical configurations (speed, duplex, VLANs). Traffic is load-balanced across the links based on hashes of MAC or IP addresses, ensuring efficient utilization.
❓ Frequently Asked Questions
What happens if one physical link in an EtherChannel fails?
The EtherChannel remains up as long as one link is active, and traffic is instantly redistributed across the remaining links.
Can I mix Gigabit and FastEthernet ports in an EtherChannel?
No, all ports in an EtherChannel bundle must have the same speed and duplex settings.
How does STP treat an EtherChannel?
STP treats the entire Port-Channel bundle as a single logical link, calculating one cost and assigning one port state.