Rapid PVST+
Cheat sheet · https://pcornel.dk/topic.php?topic=608
Answer
Rapid PVST+ is Cisco's per-VLAN implementation of RSTP (802.1w). Each VLAN has its own tree, and ports converge in about a second using proposals and agreements instead of timers.
Remember
Fast convergence needs point-to-point links (full duplex) and edge ports (PortFast) towards hosts; on shared or half-duplex links it falls back to timers. Roles: root, designated, alternate, backup; states: discarding, learning, forwarding. Every VLAN costs CPU — prune VLANs from trunks where they are not needed.
First checks
show spanning-tree summary— mode rapid-pvst.show spanning-tree vlan <id>— roles, states and link type (P2p, Edge, Shr).show spanning-tree vlan <id> detail— topology changes.show spanning-tree root— root per VLAN.show spanning-tree interface <if>— role and state in every VLAN on a trunk.
Commands
show spanning-tree- STP root, bridge, roles, states and path costs.
show spanning-tree root- Summarizes root information per spanning-tree instance/VLAN.
spanning-tree mode rapid-pvst- Selects Rapid PVST+ as spanning-tree mode on supported Cisco switches.
show spanning-tree interface <interface> detail- Inspect per-interface STP role/state, cost, port ID and guard-related evidence.
spanning-tree vlan <vlan> root primary- Make the switch root bridge for a VLAN.
spanning-tree vlan <vlan> root secondary- Make the switch backup root bridge for a VLAN.
spanning-tree vlan <vlan> priority <value>- Set the bridge priority for a VLAN (multiple of 4096).
spanning-tree vlan <vlan> cost <value>- Set the spanning-tree port cost for a VLAN.
spanning-tree vlan <vlan> port-priority <value>- Set the spanning-tree port priority for a VLAN.
show spanning-tree vlan <vlan>- Display spanning-tree state for a VLAN: root, roles and port states.
show spanning-tree interface <interface>- Display spanning-tree state of one interface.
show spanning-tree summary- Display a spanning-tree summary, including mode and enabled features.
show spanning-tree vlan <id>
Verify in this order
rapid-pvst mode on all switches → uplinks point-to-point → host ports edge → proposal/agreement on each link → fast transition to forwarding per VLAN
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
Rapid PVST+ · operational reference
| Rapid PVST+ scope | Interpretation |
|---|---|
| Per VLAN | Independent STP instance |
| Root priority | Can differ by VLAN |
| Alternate port | Rapid backup path |
| Edge/PortFast | Fast endpoint transition, not loop immunity |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=608