Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Backup Port

Direct 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.

When to use this

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.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow spanning-tree vlan 10
Scope / prerequisiteUse it when Back BLK appears in show spanning-tree — it almost always points to a hub, an unmanaged switch or a cabling…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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
  • Back appears after an office move or re-patching. Two wall outlets were connected together or into the same small switch.
  • Back on a port toward a desk. A user connected two cables to one unmanaged switch or docking device.
  • Port type Shr on a link that should be full duplex. A duplex mismatch makes the link look shared; fix speed and duplex settings.
  • Role flips between Back and Desg. 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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.

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, state BLK, usually with link type Shr.
  • 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

SituationResult
Two ports of a switch connected to the same hub or unmanaged switchOne designated, the other backup
A port looped back to another port on the same switchOne designated, the other backup
Normal point-to-point switch-to-switch linksNo 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

AlternateBackup
ProtectsThe root portA designated port
Superior BPDUs come fromAnother switchThis switch (its own designated port)
Typical causeRedundant designUnintended 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Expected output

Cisco IOS / IOS XE IEEE 802.1D-2004 / 802.1Qshow spanning-tree vlan 10

Expected 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.
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Embedded reference data

Quick lookup tables

Backup Port operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

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
Confirmation

Confirm action

Continue?