Cisco Nexus 9000 Series Configuration Manual page 115

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Rapid PVST+ Using Cisco NX-OS
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
This example shows how to enable STP on VLAN 5:
switch# config t
switch(config)# spanning-tree vlan 5
switch(config)# exit
switch#
Do not disable spanning tree on a VLAN unless all switches and bridges in the VLAN have spanning tree
Note
disabled. You cannot disable spanning tree on some switches and bridges in a VLAN and leave it enabled
on other switches and bridges in the VLAN. 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.
Command or Action
config t
Example:
switch# config t
switch(config)#
spanning-tree vlan vlan-range or no
spanning-tree vlan vlan-range
Example:
switch(config)# spanning-tree vlan
5
exit
Example:
switch(config)# exit
switch#
show spanning-tree
Example:
switch# show spanning-tree
copy running-config startup-config
Example:
switch# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Disabling or Enabling Rapid PVST+ Per VLAN - CLI Version
Purpose
Enters configuration mode.
• spanning-tree vlan vlan-range
Enables Rapid PVST+ (default STP) on a per
VLAN basis. The vlan-range value can be 2
through 3967 except for reserved VLAN
values.
• no spanning-tree vlan vlan-range
Disables Rapid PVST+ on the specified
VLAN. See the Caution for information
regarding this command.
Exits configuration mode.
(Optional)
Displays the STP configuration.
(Optional)
Copies the running configuration to the startup
configuration.
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents