Cisco Catalyst 3560X-24P Command Reference Manual page 850

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

spanning-tree mst configuration
When you map VLANs to an MST instance, the mapping is incremental, and VLANs specified in the
command are added to or removed from the VLANs that were previously mapped. To specify a range,
use a hyphen; for example, instance 1 vlan 1-63 maps VLANs 1 to 63 to MST instance 1. To specify a
series, use a comma; for example, instance 1 vlan 10, 20, 30 maps VLANs 10, 20, and 30 to MST
instance 1.
All VLANs that are not explicitly mapped to an MST instance are mapped to the common and internal
spanning tree (CIST) instance (instance 0) and cannot be unmapped from the CIST by using the no form
of the command.
For two or more switches to be in the same MST region, they must have the same VLAN mapping, the
same configuration revision number, and the same name.
Examples
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# 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
Revision
Instance
--------
0
1
-------------------------------
Switch(config-mst)# exit
Switch(config)#
This example shows how to add VLANs 1 to 100 to the ones already mapped (if any) to instance 2, to
move VLANs 40 to 60 that were previously mapped to instance 2 to the CIST instance, to add VLAN
10 to instance 10, and to remove all the VLANs mapped to instance 2 and map them to the CIST instance:
Switch(config-mst)# instance 2 vlan 1-100
Switch(config-mst)# no instance 2 vlan 40-60
Switch(config-mst)# instance 10 vlan 10
Switch(config-mst)# no instance 2
You can verify your settings by entering the show pending MST configuration command.
Related Commands
Command
show spanning-tree
Catalyst 3750-X and 3560-X Switch Command Reference
2-818
[region1]
1
Vlans Mapped
---------------------
1-9,21-4094
10-20
mst configuration
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Description
Displays the MST region configuration.
OL-21522-02

Advertisement

Table of Contents
loading

Table of Contents