The spanning-tree mode command is used in global configuration mode to select whether a Cisco switch runs PVST+ or Rapid PVST+. The choice matters because both create a separate spanning-tree instance for each VLAN, while Rapid PVST+ provides faster convergence. section 15.1
Enable Rapid PVST+ and verify it
SW1(config)# spanning-tree mode rapid-pvst SW1(config)# do show spanning-tree VLAN0001 Spanning tree enabled protocol rstp The command enables Rapid PVST+. Verification displays rstp, even though the configured keyword is rapid-pvst. section 15.1
Use show spanning-tree to identify the active mode: protocol ieee indicates PVST+, whereas protocol rstp indicates Rapid PVST+. The default depends on the switch model and IOS version. section 15.5
