Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

PurposeCommand or Action
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
PurposeCommand or Action
Enters 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
Do not disable spanning tree on a VLAN unless all switches
and bridges in the VLAN have spanning tree disabled. You
cannot disable spanning tree on some of the switches and
bridges in a VLAN and leave it enabled on other switches
and bridges. This action can have unexpected results
because switches and bridges with spanning tree enabled
will have incomplete information regarding the physical
topology of the network.
Do not disable spanning tree in a VLAN without ensuring
that there are no physical loops present in the VLAN.
Spanning tree serves as a safeguard against
misconfigurations and cabling errors.
Caution
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
166 OL-16597-01
Configuring Rapid PVST+
Enabling Rapid PVST+ per VLAN