Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
409
46. Multiple Spanning Tree Protocol (MSTP)
Commands
46-1 instance
This command is used to map a VLAN or a set of VLANs to an MST instance. Use the no instance
without VLANs specified to remove instances. Use the no instance with VLAN specified to return the
VLANs to the default instance (CIST).
instance INSTANCE-ID vlans VLANDID [, | -]
no instance INSTANCE-ID [vlans VLANDID [, | -]]
Parameters
INSTANCE-ID
Specifies the MSTP instance identifier to which the specified VLANs
are mapped. This value must be between 1 and 4094.
vlans VLANDID
Specifies the VLANs to be mapped to or removed from the specified
instance. This value must be between 1 and 4094.
,
(Optional) Specifies a series of VLAN, or separate a range of
interfaces from a previous range. No space is allowed before and after
the comma.
-
(Optional) Specifies a range of VLAN. No space is allowed before and
after the hyphen.
Default
None.
Command Mode
MST Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Any unmapped VLAN is mapped to the CIST instance. When mapping the VLANs to an instance, if the
instance doesn’t exist, this instance will be created automatically. If all VLANs of an instance are removed,
this instance will be destroyed automatically. In another way, users can remove the instance manually by
using the no instance command without VLANs specified.
Example
This example shows how to map a range of VLANs to instance 2.
Switch# configure terminal
Switch(config)# spanning-tree mst configuration
Switch(config-mst)# instance 2 vlans 1-100
Switch(config-mst)#