
Spanning Tree Commands 451
Example
The following example shows how to exit the MST configuration mode and save changes.
console(config)#spanning-tree mst configuration
console(config-mst)#exit
instance (mst)
Use the
instance
command in MST mode to map VLANS to an MST instance.
Syntax
instance
instance-id
{add | remove} vlan
vlan-range
• instance-ID—
ID of the MST instance. (Range: 1-15)
•
vlan-range—
VLANs to be added to the existing MST instance. To specify a range of
VLANs, use a hyphen. To specify a series of VLANs, use a comma. (Range: 1-4093)
Default Configuration
VLANs are mapped to the common and internal spanning tree (CIST) instance (instance 0).
Command Mode
MST mode
User Guidelines
Before mapping VLANs to an instance use the
spanning-tree mst
enable
command to enable
the instance.
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.
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.
Example
The following example maps VLANs 10-20 to MST instance 1.
console(config)#spanning-tree mst configuration
console(config-mst)#instance 1 add vlan 10-20
name (mst)
Use the
name
command in MST mode to define the configuration name. To return to the default
setting, use the
no
form of this command.
Commentaires sur ces manuels