Purpose
Command or Action
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.
Specifies the instance name. The
name
string has a maximum
length of 32 case-sensitive characters.
switch(config-mst)#
name
name
Step 4
Specifies the configuration revision number. The range is from
0 to 65535.
switch(config-mst)#
revision
version
Step 5
To return to defaults, do the following:
•
To return to the default MST region configuration settings, enter the
no spanning-tree mst configuration
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
Instances configured 2
Instance
Vlans Mapped
--------
---------------------
0
1-9,21-4094
1
10-20
-------------------------------
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
81
Configuring Multiple Spanning Tree
Specifying the Configuration on an MST Region