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
9-14
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 9 Configuring MST
Configuring MST
To specify the configuration on an MST region, perform this task:
To return to defaults, do the following:
To return to the default MST region configuration settings, enter the no spanning-tree mst
configuration global configuration command.
To return to the default VLAN-to-instance map, enter the no instance instance_id vlan vlan-range
MST configuration command.
To return to the default name, enter the no name MST configuration command.
To return to the default revision number, enter the no revision MST configuration command.
To reenable Rapid PVST+, enter the no spanning-tree mode or the spanning-tree mode
rapid-pvst global configuration command.
This example shows how to enter MST configuration mode, map VLANs 10 to 20 to MST instance 1,
name the region region1, set the configuration revision to 1, display the pending configuration, apply the
changes, and return to global configuration mode:
switch(config)# spanning-tree mst configuration
switch(config-mst)# instance 1 vlan 10-20
switch(config-mst)# name region1
switch(config-mst)# revision 1
switch(config-mst)# show pending
Pending MST configuration
Name [region1]
Revision 1
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# spanning-tree mst
configuration
Enters MST configuration submode.
Step 3
switch(config-mst)# instance instance-id
vlan vlan-range
Maps VLANs to an MST instance as follows:
For instance-id, the range is from 1 to 4094.
For vlan vlan-range, the range is from 1 to 4094.
When you map VLANs to an MST instance, the
mapping is incremental, and the VLANs
specified in the command are added to or
removed from the VLANs that were previously
mapped.
To specify a VLAN range, enter a hyphen; for
example, enter the instance 1 vlan 1-63 command to
map VLANs 1 through 63 to MST instance 1.
To specify a VLAN series, enter a comma; for
example, enter the instance 1 vlan 10, 20, 30
command to map VLANs 10, 20, and 30 to MST
instance 1.
Step 4
switch(config-mst)# name name
Specifies the instance name. The name string has a
maximum length of 32 characters and is case
sensitive.
Step 5
switch(config-mst)# revision version
Specifies the configuration revision number. The
range is from 0 to 65535.