Post

Etherchannel

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-channel keywords

  • STP 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

  1. PAgP (Cisco Proprietary)
  • Modes:

    • desirable – Actively negotiates

    • auto – Passive; waits to form EtherChannel

    • on – Forces EtherChannel statically (no negotiation)

Formation Table:

Mode 1Mode 2Forms EtherChannel?
desirabledesirableβœ… Yes
desirableautoβœ… Yes
autoauto❌ No
onany other❌ No
  1. LACP (IEEE 802.3ad – Open Standard)
  • Modes:

    • active – Actively negotiates

    • passive – Waits passively

    • on – Static (no negotiation)

  • Supports: 16 total ports (8 active + 8 standby)

  • Formation Table:

Mode 1Mode 2Forms EtherChannel?
activeactiveβœ… Yes
activepassiveβœ… Yes
passivepassive❌ No
onany 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-mac

    • src-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

CommandDescription
show etherchannel summaryMain status view
show interfaces trunkShows trunk info (logical port-channel only)
show ip interface briefCheck interface status
show running-configReview current config
show pagp neighborPAgP-specific info
show lacp neighborLACP-specific info
show etherchannel load-balanceView/load balancing config
show etherchannel [group] port-channelDetailed view of a specific port-channel
show interfaces [intf] etherchannelEtherChannel 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 summary and 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.

πŸ™Œ Connect With Me

GitHub LinkedIn YouTube Gmail

This post is licensed under CC BY 4.0 by the author.