Alternate Port
Cheat sheet · https://pcornel.dk/topic.php?topic=1021
Answer
An alternate port (RSTP/MST) receives a better BPDU from another switch than the one it would send, but is not the root port. It discards and is a ready backup path to the root.
Remember
In classic 802.1D the same port is called blocking. With RSTP an alternate port moves to forwarding almost immediately when the root port fails. A port that should be alternate but forwards creates a loop — often a unidirectional link or BPDU filter.
First checks
show spanning-tree vlan <id>— root ID, local bridge ID, and each port's role, state and cost.show spanning-tree root— the root bridge, root cost and root port per VLAN.show spanning-tree vlan <id> detail— BPDUs sent and received, topology changes and their source.show spanning-tree summary— mode, enabled features and port counts per state.show spanning-tree inconsistentports— ports blocked by root guard, loop guard or type inconsistency.
Commands
show spanning-tree vlan <id>
Verify in this order
superior BPDU received on a second uplink → port not chosen as root port → role alternate → state discarding → becomes root port if the current one fails
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
| Alternate check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Protocol mode | RSTP-derived instance | Classic terminology only | STP mode |
| Normal role/state | Alternate / discarding | Disabled, designated, unknown | BPDU/topology |
| Root relation | Same intended root | Different/rootless view | BPDU scope |
| Failover | Promotes rapidly when root path fails | No/slow transition | RSTP handshake/link |
| Recovery | Returns to designed backup state | Oscillation/churn | Cost/topology |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1021