Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
8-18
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 8 Configuring Rapid PVST+
Configuring Rapid PVST+
Note Changing the spanning tree mode disrupts traffic because all spanning tree instances are stopped for the
previous mode and started for the new mode.
To enable Rapid PVST+ on the switch, perform this task:
This example shows how to enable Rapid PVST+ on the switch:
switch# configure terminal
switch(config)# spanning-tree mode rapid-pvst
Note Because STP is enabled by default, entering the show running command to view the resulting
configuration does not display the command that you entered to enable Rapid PVST+.
Enabling Rapid PVST+ per VLAN
You can enable or disable Rapid PVST+ on each VLAN.
Note Rapid PVST+ is enabled by default on the default VLAN and on all VLANs that you create.
To enable Rapid PVST+ per VLAN, perform this task:
This example shows how to enable STP on VLAN 5:
switch# configure terminal
switch(config)# spanning-tree vlan 5
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# spanning-tree mode
rapid-pvst
Enables Rapid PVST+ on the switch. Rapid PVST+ is
the default spanning tree mode.
Note Changing the spanning tree mode disrupts
traffic because all spanning tree instances are
stopped for the previous mode and started for
the new mode.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# spanning-tree
vlan-range
Enables Rapid PVST+ (default STP) on a per VLAN
basis. The vlan-range value can be 2 through 4094
(except reserved VLAN values. See Chapter 6,
“Configuring VLANs.