Changing the spanning tree mode disrupts traffic because all spanning tree instances are stopped for the
previous mode and started for the new mode.
Note
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Enables Rapid PVST+ on the switch. Rapid PVST+ is the
default spanning tree mode.
switch(config)#
spanning-tree
mode rapid-pvst
Step 2
Changing the spanning tree mode disrupts traffic
because all spanning tree instances are stopped for
the previous mode and started for the new mode.
Note
This example shows how to enable Rapid PVST+ on the switch:
switch#
configure terminal
switch(config)#
spanning-tree mode rapid-pvst
Because STP is enabled by default, entering the
show running-config
command to view the resulting
configuration does not display the command that you entered to enable Rapid PVST+.
Note
Enabling Rapid PVST+ per VLAN
You can enable or disable Rapid PVST+ on each VLAN.
Rapid PVST+ is enabled by default on the default VLAN and on all VLANs that you create.
Note
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure
terminal
Step 1
Enables Rapid PVST+ (default STP) on a per VLAN basis. The
vlan-range
value can be 2 through 4094 (except reserved VLAN
values).
switch(config)#
spanning-tree vlan-range
Step 2
(Optional)
Disables Rapid PVST+ on the specified VLAN.
switch(config)#
no
spanning-tree vlan-range
Step 3
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
59
Configuring Rapid PVST+
Enabling Rapid PVST+ per VLAN