Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Alternate Port · Rapid PVST+

Direct answer

An alternate port is a loop-free standby path toward the root learned through a different bridge. It normally remains Discarding while the preferred root-port path is healthy, but RSTP can rapidly promote it when the active path fails and synchronization conditions are satisfied. An alternate state is therefore often healthy redundancy rather than an error.

When to use this

Use it to confirm that a redundant uplink is a ready backup, or to explain why an uplink shows BLK although the link is up.

First 30 seconds

1. Altn BLK = backup path to the root via another switch.

2. Becomes root port quickly (RSTP) when the root port fails.

3. show spanning-tree vlan 10 | include Altn.

Operational verification

two paths to the root → best path becomes root port → other port still receives superior BPDUs → role Altn, state BLK → root port fails → alternate becomes Root/FWD at once

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 to confirm that a redundant uplink is a ready backup, or to explain why an uplink shows BLK although the link is…
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/2 detail
show spanning-tree vlan 10 detail | include occurr|from

Look for Altn BLK in the summary and a rising received counter in the detail view. The third command shows how many topology changes there have been and where the last one came from — useful right after a failover test.

Known-good: one Root FWD and one Altn BLK per VLAN on each dual-uplink switch, with the alternate still receiving BPDUs.

Step 2 Verification & troubleshooting Narrow the fault

1. show spanning-tree vlan <vlan> on a switch with two uplinks → expect one Root FWD and one Altn BLK.

2. show spanning-tree vlan <vlan> interface <alternate> detail → the BPDU received counter keeps increasing.

3. In a maintenance window, shut the root port: the alternate becomes Root FWD and a running ping loses at most a packet. Re-enable the port and check that the roles return.

4. No alternate at all? Check that the VLAN is allowed on both uplinks and that both links are up.

Step 3 Failure signatures and troubleshooting branches Narrow the fault
  • "The second uplink is not used." Correct — it is the alternate, by design.
  • No alternate on a switch with two uplinks. The VLAN is missing from one trunk, one uplink is down or err-disabled, or this switch is unexpectedly the root.
  • Failover takes about six seconds. The failure did not take the link down (media converter, one-way fibre), so it was detected by missed BPDUs. Add UDLD.
  • Failover takes 30–50 seconds. A neighbour runs legacy STP (type P2p Peer(STP)) or the link is half duplex.
  • The alternate started forwarding and a loop formed. BPDUs were lost in one direction; add Loop Guard and UDLD on the uplinks.
Step 4 When the problem is really fixed Narrow the fault
  • Each dual-uplink switch shows one Root FWD and one Altn BLK per VLAN.
  • The alternate's BPDU received counter is increasing.
  • A failover test moves traffic in about a second and the roles return afterwards.
  • Loop Guard or UDLD protects the uplinks.
Step 5 Common mistakes Narrow the fault
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

An alternate port hears a better BPDU from another switch than it could send itself, so it blocks and waits. If the root port fails, RSTP promotes the alternate immediately, without timers. Altn BLK on a redundant uplink is the healthy state, not a fault.

Key checks

show spanning-tree vlan 10 → Altn BLK on the backup uplink. show spanning-tree vlan 10 interface <if> detail → BPDUs received keep increasing. No alternate port on a switch with two uplinks means the two uplinks are not in the same VLAN/tree — check the trunk.

ReferenceWhat it is1 section · depth on demand

What it is

An alternate port is a blocked port that offers a second path to the root through a neighbouring switch. It listens to BPDUs and forwards nothing, and it takes over as root port the moment the current root port fails.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Alternate ports are the redundancy you paid for. They explain why a redundant uplink shows BLK although the link is up, and why failover with RSTP takes well under a second. Knowing where the alternates are tells you in advance what will happen when a link fails — and a switch with two uplinks but no alternate port has no working redundancy for that VLAN.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key points

  • Role Altn, state BLK: normal and healthy.
  • The port hears a better BPDU than the switch could send there, but it is not the switch's best path, so it is not the root port.
  • Promotion to root port is immediate — no timers involved.
  • Decided per VLAN, so different VLANs can use different uplinks when their roots differ.
  • An alternate that stops hearing BPDUs would turn designated and start forwarding; Loop Guard prevents that.
  • A blocked redundant link is not unused — do not remove it.

In depth

Alternate port: a ready backup path to the root

The Catalyst 9300 RSTP guide defines an alternate port as one that offers a backup path to the root, through a port other than the current root port. It's not part of the active topology: it discards traffic, but keeps receiving BPDUs.

C9300-ACC# show spanning-tree vlan 10
Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Po10                Root FWD 2         128.2081 P2p
Po11                Altn BLK 2         128.2082 P2p
C9300-ACC# show spanning-tree vlan 10 detail | section Port-channel11
 Port 2082 (Port-channel11) of VLAN0010 is alternate blocking
   Port path cost 2, Port priority 128, Port Identifier 128.2082.
   Designated root has priority 24586, address a4bb.6d11.2200
   Designated bridge has priority 28682, address a4bb.6d55.6600
   BPDU: sent 1, received 284211

The guide notes that Cisco output uses "blocking" (BLK) for the RSTP discarding state.

Alternate versus backup

RoleBackup forReceives superior BPDUs from
AlternateThe root portAnother switch
BackupA designated portIts own switch (shared segment or loopback)

Fast failover

When the root port fails, RSTP promotes the best alternate port to root and moves it straight to forwarding. There's no listening or learning wait. This is the RSTP equivalent of UplinkFast; the guide notes that UplinkFast itself is inactive in Rapid PVST+ and MST.

Where alternate ports appear

TopologyAlternate port
Access switch dual-homed to two distribution switchesThe uplink towards the non-root distribution switch, per VLAN
Ring of switchesOne port on the switch furthest from the root

Operational check

An alternate port should show many BPDUs received and almost none sent. If received BPDUs stop, the port would become designated and forward. Loop guard prevents that when the cause is a unidirectional link.

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.

Worked example

An alternate port receives better spanning-tree information from another switch than the information its own switch would send, but its path to the root is worse than the current root port. It is therefore kept discarding, ready to take over as soon as the root port fails. This is RSTP's main improvement over classic STP: the backup path is already known, so failover takes well under a second instead of 30–50 seconds.

Worked example: SW3 has root port Te1/1/1 to SW1 and alternate port Te1/1/2 to SW2. When Te1/1/1 loses link, SW3 immediately makes Te1/1/2 the new root port and moves it to forwarding, then flushes affected MAC entries with a topology change. If the failure is not a link-down event — for example a unidirectional fibre — detection waits for missed BPDUs (three hellos, 6 seconds by default), which is why UDLD or Loop Guard are recommended on fibre uplinks.

show spanning-tree vlan 20 | include Altn
show spanning-tree detail | include occurr|from
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

After choosing its root port, a switch looks at each remaining port and compares the BPDU it receives there with the one it would send. If the received one is better, the port cannot be designated and must block. It is an alternate when that better BPDU comes from another switch, and a backup when it comes from the switch itself.

The important part is that RSTP remembers what the alternate hears. When the root port is lost, the switch already knows its next-best path, makes the best alternate the new root port and moves it straight to forwarding. That is safe because a root port by definition faces toward the root. Classic 802.1D had to wait for information to age out and for two forward-delay timers — 30 to 50 seconds.

How fast the failure is noticed depends on its kind. Loss of link is seen immediately. A fault that leaves the link up is noticed only after three missed hellos, six seconds with default timers.

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: One Root FWD and one Altn BLK uplink.

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- ----
Gi1/0/1             Root FWD 4         128.1    P2p
Gi1/0/2             Altn BLK 4         128.2    P2p
! Illustrative output, not captured Evidence.
Gi1/0/2 is up and receives BPDUs but does not forward VLAN 10. It is the standby path to the root through a different upstream switch.
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+ → Alternate 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

Alternate Port operational reference

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

BoundaryKnown-good for Alternate PortSuspicious signatureNext proof
IntentMatches alternate-port standby behavior designConfiguration differs from peer/designCompare effective config
Control stateStable expected role/route/member statean alternate unexpectedly forwarding, no alternate where redundant topology expects one, or slow failover because the link is not treated as point-to-pointInspect 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?