Network Bytes · Episode 34 · CCNA 2.4
EtherChannel
Two links between switches make a loop, so Spanning Tree blocks one and half the bandwidth sits idle. EtherChannel bundles up to eight links into one logical link, shares traffic across them and keeps running if a cable fails.
Two cables, one blocked
Connecting two switches with a second cable sounds like a free speed boost. But two parallel links make a loop, and Spanning Tree Protocol (STP) breaks loops by putting a port into a blocking state. One cable carries traffic; the other sits idle as a backup. You paid for two links and use one.
Bundle them into one logical link
EtherChannel (Cisco's name for link aggregation) groups the physical ports into a single logical interface called a port channel. STP runs on the port channel, sees one link, and has nothing to block. On Cisco switches a bundle holds up to eight active ports, and they must match in speed, duplex and VLAN settings.
How traffic is shared
EtherChannel doesn't chop a single transfer into pieces. The switch runs a hash over addresses in each frame (MAC, IP and/or port numbers, depending on the platform and settings) and the result picks one member link. Frames of the same conversation always take the same link, so they stay in order. That means one big download still tops out at the speed of one cable, but many users' conversations spread across all of them. This is load sharing, not one faster wire.
Failover and negotiation
If a member cable fails, its flows are rehashed onto the remaining links and the port channel stays up. To agree on which ports form the bundle, switches use LACP (Link Aggregation Control Protocol, IEEE 802.3ad, now IEEE 802.1AX, the open standard) or PAgP (Port Aggregation Protocol, Cisco-proprietary). There is also static on mode, which forms the bundle with no negotiation protocol at all.
Try it yourself
In the free Cisco Packet Tracer, connect two switches with two cables and run show spanning-tree: one port is BLK. Now put both ports in a bundle with channel-group 1 mode active on each switch (LACP), wait a moment, and run show etherchannel summary. You'll see Po1 with both ports flagged P (bundled), and show spanning-tree now lists one interface, Po1, forwarding.
Good to know
- Cisco EtherChannel bundles up to 8 active ports with the same speed, duplex and VLAN settings; LACP can also hold up to 8 more as hot standby.
- Load is shared by a hash of addresses (MAC, IP and/or ports, depending on platform and settings), so a single flow uses one member link. It is load sharing, not a true doubling for one transfer.
- LACP is IEEE 802.3ad, now 802.1AX; PAgP is Cisco-proprietary; static "on" mode uses no negotiation protocol.
- If a member link fails, traffic moves to the remaining links and the bundle stays up.
For CCNA learners
This lines up with CCNA 200-301 exam topic 2.4, configure and verify (Layer 2/Layer 3) EtherChannel (LACP): know why bundling avoids STP blocking, how load sharing works per flow, and the difference between LACP, PAgP and on mode.
Answer to the comment question
4 Gbps in total. Four 1 Gbps links in one EtherChannel give the bundle 4 Gbps of combined capacity, shared across many conversations. The catch: each single flow is hashed onto one member link, so one download still tops out at 1 Gbps. You only see the full 4 Gbps when lots of traffic is spread across all four links.
Test your knowledge
Quick quiz: EtherChannel
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- Cisco, "Configuring EtherChannels" (Catalyst 9300, IOS XE 17.13): bundles links into one logical link; up to eight active ports; LACP, PAgP and on modes; traffic moves to remaining links if one fails
- Cisco, "Understand EtherChannel Load Balance and Redundancy on Catalyst Switches": a hash picks one member link per flow; load sharing and failover
- IEEE SA, "IEEE 802.1AX Link Aggregation": the open standard behind LACP; an aggregated group acts as a single link
- Cisco, CCNA 200-301 v1.1 exam topics: 2.4 configure and verify (Layer 2/Layer 3) EtherChannel (LACP)
Video transcript
How do you turn two cables into one fat pipe?
You connect two switches with two cables for extra speed. But Spanning Tree sees a loop and blocks one of them. Half your bandwidth just sits there.
EtherChannel fixes that. It bundles the links into one logical link. Spanning Tree sees a single fat cable, so nothing gets blocked.
You can bundle up to eight ports. Traffic is spread across them conversation by conversation. One download still rides one cable, but many users share them all.
If a cable fails, traffic moves to the others, and the network stays up. The switches agree on the bundle using LACP, the open standard, or Cisco's own PAgP.
You bundle four one-gigabit links. How many gigabits can the whole bundle carry? Comment your answer below!
That's your byte.
More from Network Bytes
- EP32"Spanning Tree: why loops kill networks"
- EP33Root bridge election
- EP35CDP and LLDP
- EP362.4 GHz vs 5 GHz vs 6 GHz