I Commands
instance vlan
To map a VLAN or a set of VLANs to a Multiple Spanning Tree instance (MSTI), use the instance vlan command. To delete the instance and return the VLANs to the default instance (CIST), use the no form of this command.
instance instance-id vlan vlan-id
no instance instance-id vlan vlan-id
Syntax Description
instance-id |
Instances to which the specified VLANs are mapped; the range of valid values is from 0 to 4094. |
vlan-id |
Number of the VLAN that you are mapping to the specified MSTI; the range of valid values is from 1 to 4094. |
Command Default
No VLANs are mapped to any MST instance (all VLANs are mapped to the CIST instance).
Command Modes
MST configuration submode
Supported User Roles
network-admin
vdc-admin
Command History
Release |
Modification |
---|---|
4.0 |
This command was introduced. |
Usage Guidelines
The vlans vlan-range is entered as a single value or a range.
You cannot map VLANs 3968 to 4047 or 4094 to an MST instance. These VLANs are reserved for internal use by the device.
The mapping is incremental, not absolute. When you enter a range of VLANs, this range is added to or removed from the existing instances.
Any unmapped VLAN is mapped to the CIST instance.
Caution | When you change the VLAN-to-MSTI mapping, the system restarts MST. |
This command does not require a license.
Examples
This example shows how to map a range of VLANs to MSTI 4:
switch(config)# spanning-tree mst configuration switch(config-mst)# instance 4 vlan 100-200 switch(config-mst)#
Related Commands
Command |
Description |
---|---|
show spanning-tree mst configuration |
Displays information about the MST protocol. |
spanning-tree mst configuration |
Enters MST configuration submode. |