Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters MST configuration submode.switch(config)# spanning-tree mst
configuration
Step 2
Maps VLANs to an MST instance, as follows:switch(config-mst)# instance
instance-id vlan vlan-range
Step 3
•
For instance-id the range is from 1 to 4094.
Instance 0 is reserved for the IST for each MST
region.
•
For vlan-range the range is from 1 to 4094.
When you map VLANs to an MSTI, the mapping is
incremental, and the VLANs specified in the
command are added to or removed from the VLANs
that were previously mapped.
Deletes the specified instance and returns the VLANs to
the default MSTI, which is the CIST.
switch(config-mst)# no instance
instance-id vlan vlan-range
Step 4
This example shows how to map VLAN 200 to MSTI 3:
switch# configure terminal
switch(config)# spanning-tree mst configuration
switch(config-mst)# instance 3 vlan 200
Mapping Secondary VLANs to Same MSTI as Primary VLANs for Private VLANs
When you are working with private VLANs on the system, all secondary VLANs must be in the same MSTI
and their associated primary VLAN.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters MST configuration submode.switch(config)# spanning-tree mst
configuration
Step 2
Automatically maps all secondary VLANs to the
same MSTI and their associated primary VLAN
for all private VLANs.
switch(config-mst)# private-vlan
synchronize
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
188 OL-16597-01
Configuring MST
Mapping Secondary VLANs to Same MSTI as Primary VLANs for Private VLANs