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

Backup Port

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

Back to the Topic

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> detail
show cdp neighbors <port> detail
show 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

BoundaryKnown-good for Backup PortSuspicious signatureNext proof
IntentMatches backup-port same-segment redundancy designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statea surprising Backup role indicating shared-segment semantics, duplicate local attachment, or a topology that does not match the intended point-to-point designInspect 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=1032

Confirmation

Confirm action

Continue?