Pcornel
Networking · Switching › STP › RSTP — 802.1w › Rapid PVST+

Alternate Port

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

Back to the Topic

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

BoundaryKnown-good for Alternate PortSuspicious signatureNext proof
IntentMatches alternate-port standby behavior designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statean alternate unexpectedly forwarding, no alternate where redundant topology expects one, or slow failover because the link is not treated as point-to-pointInspect protocol/RIB detail
ForwardingExpected egress/Port-Channel/VLAN pathState exists but traffic path disagreesFIB/MAC/adjacency
ClosureOriginal test passes for explained reasonSymptom merely moved or was bypassedRegression test

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

Confirmation

Confirm action

Continue?