Pcornel
Networking · Switching

EtherChannel

Cheat sheet · https://pcornel.dk/topic.php?topic=598

Back to the Topic

Answer

EtherChannel bundles several physical links into one logical port-channel. Spanning tree sees one link, and traffic is spread over the members by a hash of addresses or ports. Bundles are negotiated with LACP (standard), PAgP (Cisco) or forced on.

Remember

All members must match: speed, duplex, switchport mode, access VLAN or trunk allowed and native VLANs. Configure members with channel-group <n> mode active|passive|desirable|auto|on, then make VLAN changes on the port-channel interface. One flow uses one member; a single flow never exceeds one link's speed.

First checks

  • show etherchannel summary — port-channels, protocol and member flags (P bundled, I stand-alone, s suspended, D down).
  • show etherchannel <n> detail — per-member state and reasons.
  • show lacp neighbor / show pagp neighbor — the partner seen on each member.
  • show interfaces port-channel <n> — logical interface state and bandwidth.
  • show running-config interface <member> — compare member configurations.
  • show etherchannel load-balance — the hash used to spread traffic.

Commands

port-channel load-balance <method>
Selects supported hashing inputs used to choose a member link.
show etherchannel load-balance
Displays configured port-channel load-balancing method.
show etherchannel <group> detail
Inspect member state, protocol and channel consistency details.
show interfaces
Physical member
show etherchannel summary
Bundle
show lacp neighbor
LACP
show lacp internal
LACP
show pagp neighbor
PAgP
show pagp internal
PAgP
show interfaces switchport
Layer 2 service
show ip interface brief
Layer 3 service
show ip route
Layer 3 service

Verify in this order

members match in speed, duplex and VLAN settings → compatible channel mode on both ends → protocol partner seen on each member → members bundled (P) → port-channel up → traffic hashed across members

Where it usually breaks

physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path

EtherChannel summary flags

FlagMeaning / clue
PMember is bundled in the port-channel
IStand-alone / individual member
sSuspended member
DDown
UPort-channel in use
SLayer-2 port-channel
RLayer-3 port-channel

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=598

Confirmation

Confirm action

Continue?