STP vs Rapid PVST+
Compare classic spanning tree with rapid spanning tree for loop prevention and convergence.
| Dimension | STP (802.1D) | Rapid PVST+ (802.1w) | What it means in practice |
|---|---|---|---|
| Convergence | 30–50 seconds (listening, learning, max age). | Usually under a few seconds with proposal/agreement. | Rapid convergence needs point-to-point full-duplex links. |
| Port states | Blocking, listening, learning, forwarding, disabled. | Discarding, learning, forwarding. | Blocking and listening are merged into discarding. |
| Port roles | Root, designated, blocked. | Root, designated, alternate, backup. | An alternate port can take over immediately when the root port fails. |
| Edge ports | PortFast (Cisco extension). | Edge ports in the standard; PortFast on Cisco. | Always pair PortFast with BPDU Guard on access ports. |
| Per VLAN | PVST+ runs one instance per VLAN. | Rapid PVST+ runs one rapid instance per VLAN. | MST maps many VLANs to fewer instances. |
| Verification | show spanning-tree vlan <id> | show spanning-tree summary (mode rapid-pvst) | Check the root bridge is the intended distribution switch. |