Etherchannel
π§ EtherChannel β The Ultimate Technical Guide
Learn. Revise. Interview. Repeat.
π A complete EtherChannel reference built for learners, job seekers, interviewers, and network professionals. π‘ Covers every essential technical detail. No fluff. No missing pieces.
1. What is EtherChannel?
βͺ Definition:
EtherChannel (also called Link Aggregation or Port-Channel) is a technology that combines multiple physical Ethernet links into a single logical link to increase bandwidth, improve fault tolerance, and optimize Layer 2/3 network design.
βͺ Core Benefits:
Maximized Bandwidth: Aggregates capacity across multiple links.
Redundancy: If one link fails, others keep traffic flowing.
STP Efficiency: Spanning Tree Protocol treats it as a single linkβavoiding blocked redundant paths.
Simplified Management: Easier to configure and monitor as one logical interface.
2. EtherChannel in Cisco IOS
Logical interface: Port-channel
Configuration uses:
channel-group,etherchannel,port-channelkeywordsSTP sees EtherChannel as one link, reducing blocked paths.
BUM (Broadcast, Unknown Unicast, Multicast) traffic is never sent back through the EtherChannel, avoiding loops.
3. Bandwidth vs Speed β Know the Difference
Bandwidth = Total Capacity (e.g., 4x1Gbps = 4Gbps EtherChannel)
Speed = Per Flow (One flow still maxes out at 1Gbps)
EtherChannel increases capacity, not the speed of a single communication flow.
4. EtherChannel Types & Modes
π A. Dynamic EtherChannel
- PAgP (Cisco Proprietary)
Modes:
desirable β Actively negotiates
auto β Passive; waits to form EtherChannel
on β Forces EtherChannel statically (no negotiation)
Formation Table:
| Mode 1 | Mode 2 | Forms EtherChannel? |
|---|---|---|
| desirable | desirable | β Yes |
| desirable | auto | β Yes |
| auto | auto | β No |
| on | any other | β No |
- LACP (IEEE 802.3ad β Open Standard)
Modes:
activeβ Actively negotiatespassiveβ Waits passivelyonβ Static (no negotiation)
Supports: 16 total ports (8 active + 8 standby)
Formation Table:
| Mode 1 | Mode 2 | Forms EtherChannel? |
|---|---|---|
| active | active | β Yes |
| active | passive | β Yes |
| passive | passive | β No |
| on | any other | β No |
π 2. Static EtherChannel (Mode on)
No negotiation; both sides must match.
Not recommended due to risk of loops unless youβre connecting to devices like WLCs.
5. Port Configuration Requirements
All physical ports in a bundle must match:
- Speed
- Duplex
- Mode (Access/Trunk)
- Native VLAN (Trunk)
- Allowed VLANs (Trunk)
- Access VLAN (Access mode)
β οΈ Mismatch = Suspended Ports
6. Managing EtherChannel β Best Practices
- Assign physical interfaces using:
1
2
interface range g0/1 - 4
channel-group 1 mode active
Logical interface auto-creates: interface Port-channel1
Always configure trunk/access mode, VLANs, etc. on the Port-channel, not physical interfaces.
7. Load Balancing β How It Works
Frames are sent through one physical link in the EtherChannel using a hashing algorithm.
Common Hash Parameters:
src-mac,dst-mac,src-dst-macsrc-ip,dst-ip,src-dst-ip
π‘ Default varies by device, often src-dst-ip
Real-world Optimization (RFC 7424):
Recognize large flows and redistribute across links:
Tools: sFlow, NetFlow, PSAMP, inline monitoring
Actions:
Move large flows using Policy-Based Routing (PBR)
Rebalance small flows for congestion relief
β οΈ Avoid frequent changes to maintain packet order (especially TCP)
8. Layer 3 EtherChannel (Routed Port Channels)
Uses routed ports (no switchport), ideal for inter-VLAN routing or Layer 3 links.
π§ Configuration Example:
1
2
3
4
5
6
interface range g0/2 - 3
no switchport
channel-group 2 mode active
!
interface Port-channel2
ip address 192.168.1.1 255.255.255.252
β
Use show etherchannel summary β R flag = Routed Port Channel
9. Verification & Troubleshooting Commands
| Command | Description |
|---|---|
show etherchannel summary | Main status view |
show interfaces trunk | Shows trunk info (logical port-channel only) |
show ip interface brief | Check interface status |
show running-config | Review current config |
show pagp neighbor | PAgP-specific info |
show lacp neighbor | LACP-specific info |
show etherchannel load-balance | View/load balancing config |
show etherchannel [group] port-channel | Detailed view of a specific port-channel |
show interfaces [intf] etherchannel | EtherChannel status on individual interface |
π Summary β Key Interview & Revision Highlights
EtherChannel = Logical bundling of Ethernet links.
PAgP (Cisco) vs LACP (IEEE) β use LACP for multi-vendor.
Static mode (
on)= risky, use only when necessary.Configuration mismatches = Suspended ports.
Load balancing is hash-based β optimize with correct flow parameters.
Layer 3 EtherChannels simplify routing between devices.
Always verify with
show etherchannel summaryand others.
β Why Bookmark This Page?
π Job Interviews: Master EtherChannel questions.
π Learning: Start from fundamentals, build to RFC-level mastery.
π Revision: The ultimate cheat sheet before exams or assessments.
Keep this page saved.
Whether youβre a beginner, job seeker, or expert brushing up β this is your go-to EtherChannel reference.