Use it when Back BLK appears in show spanning-tree — it almost always points to a hub, an unmanaged switch or a cabling loop between two ports of the same switch.
Backup Port
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.
1. Back BLK = second port to the same segment on the same switch (shared media/hub).
2. Rare on modern point-to-point links.
3. show spanning-tree vlan 10 | include Back.
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
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show spanning-tree vlan 10Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
show spanning-tree vlan 10
show spanning-tree vlan 10 interface Gi1/0/4 detail
show interfaces Gi1/0/4 | include duplex
The summary shows the Back role and the link type. In the detail view, a Designated bridge equal to this switch's own address confirms the BPDU came from the switch itself. The duplex line tells whether the port really is half duplex or was merely connected to a bridging device.
Known-good: no port with role Back; access ports are Desg FWD, type P2p Edge.
Step 2 Verification & troubleshooting Narrow the fault
1. show spanning-tree vlan <vlan> → the port with role Back.
2. show spanning-tree vlan <vlan> interface <port> detail → Designated port id identifies the partner port on the same switch.
3. Trace where both ports lead: show cdp neighbors <port> detail, show lldp neighbors <port> detail, and the patch records.
4. Remove the hub, unmanaged switch or patch loop. The port should come back as a normal designated port or go down.
Step 3 Failure signatures and troubleshooting branches Narrow the fault
Backappears after an office move or re-patching. Two wall outlets were connected together or into the same small switch.Backon a port toward a desk. A user connected two cables to one unmanaged switch or docking device.- Port type
Shron a link that should be full duplex. A duplex mismatch makes the link look shared; fix speed and duplex settings. - Role flips between
BackandDesg. The device in between drops some BPDUs; this is close to an uncontained loop — remove it.
Step 4 When the problem is really fixed Narrow the fault
- No port has role
Back. - The two ports involved are full duplex and lead to different devices.
- Access ports have PortFast and BPDU Guard, so a repeat err-disables the port and is logged.
Step 5 Common mistakes Narrow the fault
- Seeing backup ports in a switched network and not finding the hub.
- Treating backup like alternate.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
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.
ReferenceWhat it is1 section · depth on demand
What it is
A backup port is a blocked port connected to a link that its own switch already serves through another port. It hears the switch's own BPDUs coming back and therefore blocks. It only exists where two ports of one switch end up on the same shared segment.
ReferenceWhy it matters1 section · depth on demand
Why it matters
In a network of point-to-point links a backup port should not exist. When one shows up it is a finding: two ports of the same switch are joined by something that passes BPDUs between them — a hub, an unmanaged switch, or a patching mistake. Spanning tree is containing the loop, but the cause should be located, because a device that drops BPDUs in the same position would not be contained.
ReferenceImportant terms & boundaries4 sections · depth on demand
Key points
- Role
Back, stateBLK, usually with link typeShr. - Alternate = better BPDU from another switch. Backup = better BPDU from the same switch.
- In the port's detail view the designated bridge is the switch's own address.
- Of the two ports, the one with the lower port ID becomes designated.
- On a shared segment there are no rapid transitions; a takeover uses timers.
- With PortFast and BPDU Guard on access ports, the port would be err-disabled instead of becoming a backup port.
In depth
Backup port: a redundant port to the same segment on the same switch
The Catalyst 9300 RSTP guide defines a backup port as one that backs up the path of a designated port. It exists only when two ports of the same switch are in a loopback on a point-to-point link, or when the switch has two or more connections to a shared LAN segment.
When a backup port appears
| Situation | Result |
|---|---|
| Two ports of a switch connected to the same hub or unmanaged switch | One designated, the other backup |
| A port looped back to another port on the same switch | One designated, the other backup |
| Normal point-to-point switch-to-switch links | No backup ports |
C9300# show spanning-tree vlan 30
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/0/20 Desg FWD 4 128.20 Shr
Gi1/0/21 Back BLK 4 128.21 Shr
C9300# show cdp neighbors Gi1/0/20 detail
Shr (shared link type) and a backup port together usually mean both ports are connected to the same unmanaged switch or hub.
Alternate versus backup
| Alternate | Backup | |
|---|---|---|
| Protects | The root port | A designated port |
| Superior BPDUs come from | Another switch | This switch (its own designated port) |
| Typical cause | Redundant design | Unintended cabling or a shared segment |
Why it matters operationally
A backup port in a modern campus is almost always unintended. It means someone has connected two switch ports into the same unmanaged device. The topology is safe while spanning tree blocks the backup port, but:
- The ports are shared links, so RSTP can't use fast proposal and agreement on them.
- If the unmanaged device filters BPDUs, a loop can form.
Find the device with the MAC address table and CDP or LLDP, and remove the duplicate connection.
Documented example, not captured output.
Quick reference
A backup port is a discarding port that receives better information from another port on the same switch. That only happens when a switch has two ports on one shared segment — for example both connected to a hub or an unmanaged switch. One becomes designated and the other backup, ready to take over if the designated port fails.
In modern switched networks backup ports are rare, and seeing one is a useful clue: it usually means an unmanaged switch, a hub, or a loop through a device that passes BPDUs between two ports of the same switch. Trace where the two ports physically lead before deciding whether the topology is intended.
show spanning-tree vlan 20 | include Back
show cdp neighbors Gi1/0/5 detail
show lldp neighbors Gi1/0/5 detail
Mechanics and state ownership
On a shared segment a switch can hear its own BPDUs. It sends one out of port A, and the same BPDU arrives on port B. Root ID, cost and bridge ID are identical — it is the same switch — so the comparison falls through to the sender port ID. Port A, with the lower port ID, wins and stays designated; port B sees a better BPDU than it could send and blocks as backup.
A backup port therefore gives redundancy toward that one segment, not toward the root. If port A fails, port B takes over the segment, but only after the timers expire, because proposal/agreement needs a point-to-point link.
Cisco marks a port as shared (Shr) when it runs half duplex. A backup role on a full-duplex port still means the same thing: something between the two ports is bridging them together.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Expected output
show spanning-tree vlan 10Expected state: Two ports on the same shared segment: one designated, one backup.
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----
Gi1/0/3 Desg FWD 19 128.3 Shr
Gi1/0/4 Back BLK 19 128.4 Shr
! Illustrative output, not captured Evidence.Both ports connect to the same hub. Gi1/0/4 hears this switch's own BPDU from Gi1/0/3 and blocks. Type `Shr` shows half duplex, which also prevents rapid transitions.Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Switching → STP → RSTP — 802.1w → Rapid PVST+ → Backup Port. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Backup Port operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| 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 |