Use it when a Rapid-PVST+/RSTP link converges slowly, proposal/agreement behavior is suspected, or classic timer-based reasoning does not explain the observed transition.
RSTP — 802.1w
RSTP converges rapidly when neighboring bridges can synchronize their non-edge ports and complete the proposal/agreement handshake on point-to-point links while preserving a loop-free tree.
1. RSTP converges with proposal/agreement instead of timers.
2. Roles: root, designated, alternate, backup.
3. Edge ports (PortFast) go forwarding immediately.
4. Point-to-point links needed for fast transition.
5. Compatible with 802.1D but slower then.
proposal → agreement → sync → forwarding quickly
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show spanning-tree detailShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & 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
For one topology change, map each relevant interface to RSTP role, state, edge status and point-to-point classification. Verify BPDUs are exchanged continuously and identify which link should be eligible for proposal/agreement. Trigger a controlled failure or restoration and observe whether the alternate/root/designated roles transition without long timer waits. If a legacy neighbor is present, show whether the port is operating in compatibility behavior. Known-good is a loop-free transition with bounded loss and roles that match the physical topology, not merely a configured rapid-pvst mode string.
Step 2 Verification and output interpretation Verify boundary
Use show spanning-tree for the relevant VLAN/instance and read the root identity, local bridge identity, root port, root path cost, per-port role and state together. A healthy output is internally consistent: the expected root is elected, the expected uplink is the root port, redundant links have intentional alternate roles, and endpoint ports are edge where designed. After a controlled topology event, observe which alternate becomes forwarding and whether the new root path matches the design. Interface up/down state alone is insufficient because an operational Ethernet link can legitimately be discarding under STP. Correlate STP state with EtherChannel state when a logical port-channel is present; STP should reason about the aggregate rather than accidentally independent members.
Step 3 Verification & troubleshooting Narrow the fault
Verify active spanning-tree mode, root/roles/states and whether edge/point-to-point assumptions match the physical design.
Step 4 Failure signatures and troubleshooting branches Narrow the fault
Slow convergence on an RSTP-configured switch can come from legacy STP compatibility, a shared/non-point-to-point link, incorrect edge behavior, BPDU loss, or an inconsistent port that prevents normal role selection. If a proposal is sent but the peer cannot synchronize, investigate downstream forwarding state rather than reducing timers. An edge port receiving BPDUs should be treated as a topology/safety signal. If root identity itself is unstable, resolve election or Layer-2 reachability before blaming proposal/agreement mechanics.
Step 5 When the problem is really fixed Narrow the fault
Repeat the same controlled link event and show the intended alternate/root/designated transition occurs rapidly without a temporary loop. Verify application or ping continuity only as an end consequence after the STP role/state chain is understood. Restore the link and confirm stable reconvergence with no repeated topology-change storm. Captured BPDUs can substantiate proposal/agreement only when actually collected; the Topic does not fabricate packet evidence or claim a handshake occurred in production.
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.
Subtopics
Go one level deeper into this subject.
Rapid transition requires eligibility. Shared links, edge misclassification, inconsistent role/state, compatibility with legacy STP, or missing BPDUs can force slower behavior.
show spanning-tree summary— mode rapid-pvstshow spanning-tree vlan <vlan>— roles (Altn, Desg, Root)show spanning-tree detail | include changes— topology changes
ReferenceWhat it is1 section · depth on demand
What it is
Rapid Spanning Tree Protocol (RSTP, IEEE 802.1w) accelerates convergence compared with classic 802.1D by using explicit port roles, rapid proposal/agreement behavior and edge-port concepts.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Use RSTP-based modes when fast Layer 2 convergence is required while preserving spanning-tree loop prevention.
ReferenceHow it works1 section · depth on demand
How RSTP works
The root bridge and the best paths are chosen exactly as before: lowest bridge ID wins the root, lowest path cost wins the root port. What RSTP changes is how ports get into forwarding.
Port roles.
| Role | Meaning |
|---|---|
| Root | The switch's best path to the root bridge |
| Designated | The port that serves a segment — forwards towards switches and devices further out |
| Alternate | A blocked port with another path to the root; takes over at once if the root port fails |
| Backup | A blocked second connection to the same segment; rare |
Port states. Three, down from five: discarding, learning, forwarding.
Three mechanisms make it fast.
- Handshake. On a point-to-point link between two RSTP switches, the two agree directly that the link can forward, without waiting for timers.
- Alternate ports. The backup path is worked out in advance, so losing the root port causes an immediate switchover.
- Edge ports. Ports to end devices, configured with
spanning-tree portfast, forward as soon as they come up and do not disturb the rest of the network.
Failure detection is quicker too: every switch sends a BPDU every two seconds, and three missed in a row — six seconds — means the neighbour is gone.
Compatibility. RSTP works alongside classic STP. A port that hears old-format BPDUs falls back to the old behaviour, timers included, on that port only. Cisco's Rapid PVST+ runs one RSTP instance per VLAN.
ReferenceImportant terms & boundaries6 sections · depth on demand
Key points
RSTP uses Root, Designated, Alternate and Backup roles and simplifies states to Discarding, Learning and Forwarding. Rapid transition depends on topology/port type and protocol agreement, not merely on timers.
RSTP roles and states
RSTP separates role (Root, Designated, Alternate, Backup) from state (Discarding, Learning, Forwarding). Role explains why the port exists in the tree; state explains whether it currently forwards/learns. Fast convergence comes from protocol handshakes and edge/point-to-point behavior, not simply shorter timer values.
In depth
RSTP (IEEE 802.1w): spanning tree that converges in about a second
The Catalyst 9300 MSTP/RSTP guide states that RSTP can reconfigure in under one second, compared with about 50 seconds for 802.1D with default settings. It does so with explicit handshakes between neighbours instead of waiting for timers.
Changes from 802.1D (documented)
| Area | 802.1D | RSTP |
|---|---|---|
| Port states | Blocking, listening, learning, forwarding | Discarding, learning, forwarding |
| Port roles | Root, designated | Root, designated, alternate, backup |
| Moving to forwarding | Timer-based | Proposal/agreement on point-to-point links |
| Topology change | TCN BPDUs to the root | TC flag set in BPDUs, flooded directly |
| BPDU version | 0 | 2 |
Proposal and agreement
1. A designated port sends a BPDU with the proposal flag.
2. The neighbour makes the receiving port its root port, blocks all its non-edge ports (sync), and replies with the agreement flag.
3. The proposer moves its port to forwarding at once.
4. The process repeats outwards from the root towards the edges.
This only works on point-to-point links. The guide notes that link type is derived from duplex (full duplex = point-to-point), and can be set with spanning-tree link-type point-to-point.
C9300(config)# spanning-tree mode rapid-pvst
C9300(config)# interface TenGigabitEthernet1/1/1
C9300(config-if)# spanning-tree link-type point-to-point
C9300# show spanning-tree vlan 10 | include protocol|P2p
Spanning tree enabled protocol rstp
Po10 Root FWD 2 128.2081 P2p
Po11 Altn BLK 2 128.2082 P2p
C9300# show spanning-tree detail | include changes|occurred
Topology changes (from the guide)
Only a non-edge port moving from blocking to forwarding triggers a topology change. Edge ports going up or down don't. The switch then flushes learned MAC addresses on its non-edge ports.
Interoperability
RSTP falls back to 802.1D on ports where it hears legacy BPDUs. The port doesn't return to RSTP by itself; use clear spanning-tree detected-protocols after the legacy switch is gone.
Documented example, not captured output.
Mechanics and state ownership
IEEE 802.1w RSTP preserves root election but adds richer port roles and a handshake that can safely move designated point-to-point links to forwarding without waiting through classic listening/learning timers. A designated bridge can send a proposal; the neighbor synchronizes other non-edge ports as required, selects the proposing port as root if appropriate, and returns an agreement. Edge ports can transition immediately because they are assumed not to create loops, while alternate ports provide precomputed backup paths. Compatibility with legacy 802.1D neighbors or links that are not point-to-point can remove rapid-transition opportunities and fall back to slower semantics. This section is authored reference guidance for RSTP — 802.1w in the RSTP context.
State model and protocol mechanics
RSTP still elects a root bridge and derives a loop-free tree, but it expresses topology with clearer port roles and a synchronization process designed for rapid transitions. Root and designated ports normally forward; alternate ports provide a precomputed backup path toward the root; backup ports are a same-segment special case. On point-to-point full-duplex links, a designated bridge can propose a forwarding relationship and the neighbor can synchronize its other non-edge ports before sending agreement, allowing the selected link to move rapidly to forwarding without relying on the classic listening/learning timer sequence. Edge ports are a separate optimization: they can enter forwarding immediately because the design asserts no downstream bridge exists. Receiving a BPDU can cause an edge assumption to be withdrawn depending on implementation and feature configuration.
Limits and common misconceptions
RSTP forwarding shows a port is allowed by spanning tree, but it does not show VLAN carriage, MAC learning, gateway reachability or application health. An alternate/discarding port is often the healthy state that prevents a loop, not a failed link. Fast transition depends on correct edge or point-to-point assumptions and valid BPDU exchange; convergence can slow when those assumptions are not met. A topology-change indication is not automatically a fault—legitimate link or endpoint changes can trigger it—but persistent unexpected topology changes deserve correlation with interface events and MAC movement. Keep election state, port role, forwarding state and end-to-end service as separate evidence layers.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Design begins with deterministic root placement rather than default bridge priorities. Select the intended root and secondary root per VLAN or spanning-tree instance, then align link costs and port priorities only where the physical topology requires a specific path choice. Mark true endpoint-facing ports as edge/PortFast and pair that intent with protective controls such as BPDU Guard where appropriate. Avoid treating rapid convergence as permission to leave ambiguous Layer 2 loops in the design: RSTP converges quickly when its topology assumptions and BPDU exchange are intact, but redundant links still need deliberate roles. Where multiple VLANs share the same physical topology, decide whether per-VLAN trees or MST aggregation better matches the scale and path-control requirements.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
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. 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%Official Cisco vendor documentation reviewed for bounded reference claims: RSTP role/state behavior and convergence concepts. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.
Basis: https://www.cisco.com/c/en/us/td/docs/switches/lan/c9000/lyr2-fwd/stp/stp-configuration-guide/m-stp.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
RSTP role and state map
Separate why a port exists in the tree from whether it forwards
| Role | Typical purpose | Common stable state |
|---|---|---|
| Root | Best path toward root | Forwarding |
| Designated | Best port for a segment | Forwarding |
| Alternate | Redundant path through another bridge | Discarding |
| Backup | Redundant port to same shared segment | Discarding |
| State | Learns MAC? | Forwards user frames? |
| --- | --- | --- |
| Discarding | No | No |
| Learning | Yes | No |
| Forwarding | Yes | Yes |
RSTP — 802.1w · operational reference
Compact state and interpretation boundaries for fast lookup.
| RSTP concept | Meaning | Healthy interpretation |
|---|---|---|
| Root port | Best local path toward root | One expected root port per non-root bridge/instance |
| Designated port | Forwarding representative for a segment | Expected downstream/segment-facing role |
| Alternate | Backup path toward root | Discaring can be intentional and healthy |
| Edge | Endpoint-facing rapid-forward port | Use only where no bridge is expected |
RSTP — 802.1w operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Mode | RSTP/Rapid-PVST+ active | Legacy compatibility unexpected | Protocol boundary |
| Link type | Point-to-point when expected | Shared/unknown | Rapid eligibility |
| Roles | Root/designated/alternate stable | Role instability | Topology |
| Handshake | Rapid synchronization possible | Fallback/blocked transition | Proposal/agreement |
| Convergence | Bounded loss, no loop | Timer-like delay/oscillation | Control-plane health |