To create an MST instance and map it to VLANs, use the command instance in MSTP Configuration Mode. The no form of this command deletes the instance and unmaps specific VLANs from the MST instance.
Parameter | Type | Description |
---|---|---|
instance ID
|
Enter to configure the ID of MSTP to be created / deleted and mapped with / unmapped from VLAN. | |
<instance ID (1-64/4094)>
|
Integer | Enter an instance ID. This value ranges from 1 to 64.his
value ranges from 1 to 64. The special value 4094 can be used in
the switch that supports PBB-TE. Except vlan instance mapping, other
commands for STP configuration will not be applicable in this Mode.This
special value represents PTETID that identifies VID used by ESP.
Note:
Instance 0 is created and mapped with all VLANs (1-4094). |
vlan
|
Enter to configure a VLAN ID or list of VLAN IDs that should be mapped with / unmapped from the specified MST instance. | |
<vlan-range>
|
Integer | Enter a VLAN ID or list of VLAN IDs. This value is a string whose maximum size is 9. For example, the value is provided as 4000-4010 to represent the list of VLANs IDs from 4000 to 4010. |
MSTP Configuration Mode
iS5Comm(config)# spanning-tree mode mst
Spanning Tree enabled protocol is RSTP, now RSTP is being shutdown and MSTP is being enabled
iS5Comm(config)# spanning-tree mst configuration
This how MSTP Configuration Mode is entered.
iS5Comm(config-mst)# instance 1 vlan 2