The only configuration command required to enable RSTP is the spanning-tree mode rapid-pvst global configuration command as illustrated in the following output:
| VTP-Server-2#conf t Enter configuration commands, one per line. End with CNTL/Z. VTP-Server-2(config)#spanning-tree mode rapid-pvst VTP-Server-2(config)#exit |
Once enabled, R-PVST+ configuration can be validated via the show spanning-tree summary command, the output of which is shown below :
| VTP-Server-2#show spanning-tree summary Switch is in rapid-pvst mode Root bridge for: VLAN0050, VLAN0060, VLAN0070 EtherChannel misconfig guard is enabled Extended system ID is enabled PortFast Default is disabled PortFast BPDU Guard Default is disabled PortFast BPDU Filter Default is disabled LoopGuard Default is disabled UplinkFast is disabled BackboneFast is disabled PathCost method used is shortName Blocking Listening Learning Forwarding STP Active ———————- ——– ——— ——– ———- ———- VLAN0001 1 0 0 1 2 VLAN0050 0 0 0 2 2 VLAN0060 0 0 0 2 2 VLAN0070 0 0 0 2 2 ———————- ——– ——— ——– ———- ———- 4 vlans 1 0 0 7 8 |
NOTE: The show spanning-tree bridge protocol command may also be used to view the type of STP running on the switch, as shown in the following output:
| VTP-Server-2#show spanning-tree bridge protocol VLAN0001 rstp VLAN0050 rstp VLAN0060 rstp VLAN0070 rstp |