Sub topic 12
Troubleshooting Common Port Channel Problems
This chapter assumes you can configure an LACP port channel and read basic show output. It also assumes you know how a hash picks a member link and how spanning tree treats a bundle. Port channel faults fall into two groups: members that will not join the bundle, and members that join but carry uneven traffic.
Read the bundle state first
Run show etherchannel summary before changing anything. The flag beside each member tells you where to look.
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------
1 Po1(SU) LACP Gi0/1(P) Gi0/2(s)| Flag | Meaning | Usual cause |
|---|---|---|
| P | Bundled in the port channel | Healthy |
| I | Stand-alone, acting as an ordinary port | No LACP partner replies |
| s | Suspended | Settings differ from the bundle or the partner |
| D | Down | Cable, optic, or remote port down |
| w | Waiting to be aggregated | Negotiation still running |
The first letters on the Po line matter too. SU means Layer 2 and in use. SD means the whole bundle is down.
Members that will not bundle
Check these causes in order.
- Both ends passive. Passive mode only replies to LACP frames and never sends them. Two passive ends never form a bundle. Set at least one side to
active. - Mode mismatch. One side runs static (
on) and the other runs LACP. The static side sends no LACP frames, so the LACP side leaves its port stand-alone. Use LACP on both sides. - Member mismatch. Speed, duplex, trunk or access mode, allowed VLANs, and native VLAN must match across members. They must also match the Port-channel interface. A member that differs is suspended.
- Wrong partner. The member ports cable to two unrelated switches, with no MLAG between them. Run
show lacp neighborand compare the partner system ID on each member. It must be the same on every link.
The fix for a mismatch is to configure the Port-channel interface and let the members inherit from it. Change settings under interface Port-channel1, not on individual members. If a member is still suspended, shut and re-enable it with shutdown and no shutdown.
Members that bundle but carry uneven traffic
If show etherchannel summary shows every member as P but one link is busy and another idle, suspect the hash.
- Few flows. With only a handful of flows, an even split is unlikely. Each flow stays on one link.
- Poor hash inputs. A
src-machash on a link to a router sees only one source MAC, so everything lands on one member. Switch tosrc-dst-ipor an input that includes ports, where the platform supports it. - One large flow. A single backup stream cannot exceed one member's speed. No hash setting fixes that.
Run show etherchannel load-balance to see the active hash. Remember that each end hashes its own transmitted traffic. Changing the setting on one switch does not change how the other switch sends.
A working order
Exercise
Two switches show Gi0/1 and Gi0/2 as (I) on both sides. One side is configured channel-group 1 mode passive. What is the most likely cause, and what is the fix?
Show answer
The other side is probably also passive, or it is set to static on. Neither case produces LACP frames that start negotiation. Change at least one side to mode active and use LACP on both ends. Then confirm the members show (P).