Labs · · 5 min read

Lab na-08 - Configure Rapid-PVST

Lab na-08 - Configure Rapid-PVST - PingLabz Labs article title card

Spanning-Tree Protocol prevents Layer 2 loops by detecting redundant paths and putting one in a blocking state. Rapid-PVST (Rapid Per-VLAN Spanning Tree) is the modern Cisco variant - per-VLAN STP, but using RSTP convergence times (sub-second instead of 30-50 seconds). This lab is your hands-on with the three-switch triangle that has SW1 explicitly configured as root and SW2 as backup.

What you will learn

  • The structure of a spanning-tree decision: bridge ID, root bridge election, root port selection, designated port selection
  • How priority + sys-id-ext combine to form the Bridge ID
  • The four port states in Rapid-PVST (Discarding, Learning, Forwarding, plus Disabled)
  • The four port roles (Root, Designated, Alternate, Backup)
  • How to read show spanning-tree output and identify each role
  • How to manually set root bridge priority (and why)

What this lab does NOT cover

  • PortFast, BPDU Guard, Root Guard - those are na-09 and na-10
  • MST (Multiple Spanning Tree)
  • STP attacks and detailed mitigations beyond the per-VLAN structure

Topology

Download the STP+VLAN Reference Lab .yaml

Three IOSvL2 switches in a triangle with VLANs 10/20/99, dot1q trunks, rapid-PVST root election (SW1 root, SW2 backup), and an LACP EtherChannel between SW1 and SW2.

Download STP+VLAN Reference Lab

Read next

Terminal card showing a repeating CDP native VLAN mismatch log naming Ethernet0/0 native VLAN 1 against SW2 Ethernet0/0 native VLAN 99
VLANs ·

Native VLAN Mismatch: Read the CDP Log, Fix the Trunk

%CDP-4-NATIVE_VLAN_MISMATCH hands you both interfaces and both native VLANs in one line. The real damage is underneath it: untagged frames get re-homed at the trunk boundary and two VLANs quietly become one. Captured live on IOS XE 17.18.2 in CML.