Backup Port
Cheat sheet · https://pcornel.dk/topic.php?topic=1032
Answer
A backup port is an RSTP role representing a redundant path to the same shared segment through another local port on the same bridge. It is uncommon in modern full-duplex switched topologies and is more associated with shared-media semantics. Backup differs from alternate: alternate reaches the root through another bridge, while backup backs up the local bridge's own designated port on one segment.
Remember
A backup port receives BPDUs sent by its own switch on the same segment, so it blocks. Alternate = backup path to the root via another switch; backup = second connection to a segment this switch already serves. On point-to-point links it should not occur; seeing it means something is bridging two of your ports together.
First checks
show spanning-tree vlan 10 → role Back, usually with type Shr (shared, half duplex). show spanning-tree vlan 10 interface <if> detail → the designated bridge is this switch's own address. show cdp neighbors / show mac address-table interface <if> → what is actually connected.
Commands
show spanning-tree vlan <vlan>show spanning-tree vlan <vlan> interface <port> detailshow cdp neighbors <port> detailshow lldp neighbors <port> detail
Verify in this order
two ports of one switch reach the same segment → own BPDU received → port with better port ID stays Desg → the other becomes Back/BLK → find and remove the hub, unmanaged switch or patch loop
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
Backup Port operational reference
| Boundary | Known-good for Backup Port | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches backup-port same-segment redundancy design | Configuration differs from peer/design | Compare effective config |
| Control state | Stable expected role/route/member state | a surprising Backup role indicating shared-segment semantics, duplicate local attachment, or a topology that does not match the intended point-to-point design | 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=1032