Rapid PVST+ is the Cisco implementation of RSTP. It supports RSTP on a per-VLAN basis. The topology in Figure 1 has two VLANs: 10 and 20.
Note: The default spanning tree configuration on a Catalyst 2960 Series switch is PVST+. A Catalyst 2960 switch supports PVST+, Rapid PVST+, and MST, but only one version can be active for all VLANs at any time.
Rapid PVST+ commands control the configuration of VLAN spanning tree instances. A spanning tree instance is created when an interface is assigned to a VLAN and is removed when the last interface is moved to another VLAN. As well, you can configure STP switch and port parameters before a spanning tree instance is created. These parameters are applied when a spanning tree instance is created.
Figure 2 displays the Cisco IOS command syntax needed to configure Rapid PVST+ on a Cisco switch. The spanning-tree mode rapid-pvst global configuration mode command is the one required command for the Rapid PVST+ configuration. When specifying an interface to configure, valid interfaces include physical ports, VLANs, and port channels. The VLAN ID range is 1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. The port-channel range is 1 to 6.
Figure 3 shows Rapid PVST+ commands configured on S1.
In Figure 4, the show spanning-tree vlan 10 command shows the spanning tree configuration for VLAN 10 on switch S1. Notice that the BID priority is set to 4,096. In the output, the statement “Spanning tree enabled protocol rstp” indicates that S1 is running Rapid PVST+. Because S1 is the root bridge for VLAN 10, all of its interfaces are designated ports.
In Figure 5, the show running-config command is used to verify the Rapid PVST+ configuration on S1.
Note: Generally, it is unnecessary to configure the point-to-point link-type parameter for Rapid PVST+, because it is unusual to have a shared link-type. In most cases, the only difference between configuring PVST+ and Rapid PVST+ is the spanning-tree mode rapid-pvst command.