Alternate Port
Cheat sheet · https://pcornel.dk/topic.php?topic=1031
Answer
An alternate port is a loop-free standby path toward the root learned through a different bridge. It normally remains Discarding while the preferred root-port path is healthy, but RSTP can rapidly promote it when the active path fails and synchronization conditions are satisfied. An alternate state is therefore often healthy redundancy rather than an error.
Remember
An alternate port hears a better BPDU from another switch than it could send itself, so it blocks and waits. If the root port fails, RSTP promotes the alternate immediately, without timers. Altn BLK on a redundant uplink is the healthy state, not a fault.
First checks
show spanning-tree vlan 10 → Altn BLK on the backup uplink. show spanning-tree vlan 10 interface <if> detail → BPDUs received keep increasing. No alternate port on a switch with two uplinks means the two uplinks are not in the same VLAN/tree — check the trunk.
Commands
show spanning-tree vlan <vlan>show spanning-tree vlan <vlan> interface <alternate> detail
Verify in this order
two paths to the root → best path becomes root port → other port still receives superior BPDUs → role Altn, state BLK → root port fails → alternate becomes Root/FWD at once
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
Alternate Port operational reference
| Boundary | Known-good for Alternate Port | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches alternate-port standby behavior design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | an alternate unexpectedly forwarding, no alternate where redundant topology expects one, or slow failover because the link is not treated as point-to-point | Inspect protocol/RIB detail |
| Forwarding | Expected egress/Port-Channel/VLAN path | State exists but traffic path disagrees | FIB/MAC/adjacency |
| Closure | Original test passes for explained reason | Symptom merely moved or was bypassed | Regression test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1031