3.1 Layer 2
📘CCNP Encore (350-401-ENCORE-v1.1)
EtherChannel is a Layer 2 (and sometimes Layer 3) technology that allows multiple physical links between switches or between a switch and a server/router to be combined into one logical link. This improves bandwidth and provides redundancy.
Troubleshooting EtherChannels is crucial because misconfigurations can break connectivity, cause loops, or prevent load balancing.
We’ll divide the explanation into:
- EtherChannel Basics
- Types of EtherChannels (Static vs. Dynamic)
- Key Configuration Requirements
- Common Problems & Troubleshooting Commands
- Practical Troubleshooting Steps
1. EtherChannel Basics
- Purpose: Combines multiple physical links into one logical link.
- Benefits:
- Increased bandwidth: If you combine 4 x 1 Gbps links, your logical link has 4 Gbps.
- Redundancy: If one physical link fails, traffic still passes through the others.
- Simplified management: Logical link behaves like a single interface.
- Types of EtherChannel:
- Layer 2: Between switches for VLAN traffic.
- Layer 3: Between routers or switches for routing traffic.
2. Types of EtherChannels
There are two ways to form EtherChannels:
A. Static EtherChannel (Manual)
- Configuration is manual. No negotiation protocol is used.
- Commands:
- On a Cisco switch:
interface range gi0/1 - 2 channel-group 1 mode on mode on→ forces the interface into EtherChannel.
- On a Cisco switch:
- Pros: Simple, deterministic.
- Cons: If one side is not configured properly, the link stays down. No negotiation.
B. Dynamic EtherChannel (Negotiation)
Uses protocols to automatically form EtherChannels:
- PAgP (Port Aggregation Protocol) – Cisco proprietary
mode auto→ waits for the other side to initiatemode desirable→ actively tries to form a channel- Only works with Cisco devices.
- LACP (Link Aggregation Control Protocol) – Industry standard (IEEE 802.3ad)
mode passive→ waits for the other side to initiatemode active→ actively initiates formation- Works across different vendors.
Important Note: Both sides must match in protocol and mode; otherwise, EtherChannel fails.
3. Key Configuration Requirements for EtherChannel
EtherChannels are strict. Misconfiguration is the most common cause of failure.
EtherChannel Rules:
- Same speed and duplex: All interfaces must match (e.g., 1 Gbps full-duplex).
- Same VLAN configuration (Layer 2): All member interfaces must belong to the same VLAN/trunk configuration.
- Same trunking mode: All links in trunk mode must use the same encapsulation (dot1q or ISL).
- Same EtherChannel protocol: PAgP vs LACP must match.
- No port errors: Ports must be up and not administratively down.
4. Common Problems & Troubleshooting Commands
When EtherChannel fails, check for the following:
Common Problems:
- Physical Layer issues: Cable or interface down.
- Speed/duplex mismatch: Even 1 mismatch breaks the channel.
- VLAN mismatch: Trunks with different allowed VLANs fail.
- Protocol mismatch: One side uses PAgP, the other LACP.
- Misconfigured modes: One side passive, other side passive → won’t form EtherChannel.
- EtherChannel flapping: Rapid up/down due to errors or misconfiguration.
Key Troubleshooting Commands (Cisco)
- Check EtherChannel summary:
show etherchannel summary- Displays the port-channel, its protocol (PAgP/LACP), member interfaces, and status.
- Example Output:
Group Port-channel Protocol Ports 1 Po1 LACP Gi0/1(P) Gi0/2(P)(P)→ bundled in port-channel(I)→ standalone, not bundled
- Check interfaces in channel:
show running-config- Verify interface configuration matches requirements.
- Check LACP/PAgP details:
show lacp neighbor show pagp neighbor- Verifies the negotiation and remote partner info.
- Check port status:
show interfaces status show interfaces trunk- Confirm interfaces are up, trunking, and allowed VLANs match.
- Check errors:
show interfaces counters errors- Look for mismatched duplex or physical errors.
5. Practical Troubleshooting Steps
Step-by-step approach:
- Check physical connectivity: Make sure all cables and interfaces are up.
- Verify EtherChannel protocol: PAgP or LACP must match.
- Verify mode configuration:
- For LACP:
active↔activeoractive↔passive - For PAgP:
desirable↔desirableordesirable↔auto
- For LACP:
- Check speed/duplex: All links must match exactly.
- Verify VLAN/trunk configuration:
- Layer 2 EtherChannel: Trunks must match encapsulation (dot1q/ISL) and allowed VLANs.
- Check summary/status: Use
show etherchannel summaryto see if ports are bundled. - Check for error counters or flapping: Ensure no physical layer problems.
Tip for exams:
- If asked why an EtherChannel isn’t forming, common answers:
- Mode mismatch (active vs passive, desirable vs auto)
- Protocol mismatch (LACP vs PAgP)
- Speed/duplex mismatch
- VLAN mismatch
- One interface is down
✅ Key Exam Points to Remember
- Static vs Dynamic:
- Static:
mode on→ no negotiation - Dynamic: LACP/PAgP → requires compatible modes
- Static:
- All ports in an EtherChannel must match in:
- Speed & duplex
- VLAN/trunk config
- EtherChannel protocol
- Use
show etherchannel summaryto confirm channel status. - Mode mismatches are the most common reason dynamic EtherChannels fail.
- LACP is standard; PAgP is Cisco proprietary.
