EtherChannel Fundamentals
EtherChannel combines 2–8 physical links into a single logical bundle (port channel). The logical interface has the combined bandwidth — four 1 Gbps links create a 4 Gbps logical channel. Traffic is distributed across member links using a load-balancing algorithm (based on source/destination MAC, IP, or port). If one member link fails, traffic automatically moves to the remaining links without reconvergence.
From STP's perspective, an EtherChannel appears as a single link — STP runs on the logical port channel, not the individual physical links. This prevents STP from blocking the redundant physical links within the EtherChannel. Without EtherChannel, adding redundant links between switches would cause STP to block all but one.
Negotiation Protocols: LACP and PAgP
LACP (Link Aggregation Control Protocol): IEEE 802.3ad standard — vendor-neutral. Modes: Active (initiates LACP negotiation) and Passive (responds to LACP, does not initiate). An Active-Active or Active-Passive combination forms an EtherChannel. Passive-Passive does not — neither side initiates.
PAgP (Port Aggregation Protocol): Cisco proprietary. Modes: Desirable (initiates PAgP negotiation) and Auto (responds but doesn't initiate). Desirable-Desirable or Desirable-Auto forms a channel. Auto-Auto does not.
On mode: forces EtherChannel without negotiation — no LACP or PAgP exchanged. Both sides must be set to On. Useful for connecting to devices that don't support negotiation protocols. Risk: no negotiation means misconfiguration isn't detected automatically.
Load Balancing and Requirements
EtherChannel load balancing distributes frames across member links, not packets within a flow. A single TCP flow always uses the same physical link — load balancing is per-flow (session-based). The algorithm hashes source and/or destination addresses: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip. For switch-to-switch uplinks, source-destination IP is usually most effective for distributing diverse traffic.
Requirements: all member ports must have identical speed, duplex, VLAN configuration, and trunk settings. Mixing different speed ports in one EtherChannel is not supported. Mismatched configuration causes the EtherChannel to fail and individual ports to enter an error-disabled state.