The instance vlan command maps a VLAN or VLAN range to a Multiple Spanning Tree Instance (MSTI).
The undo instance vlan command deletes the mapping between a VLAN or VLAN range and an MSTI.
By default, all VLANs are mapped to Common and Internal Spanning Tree (CIST), namely, instance 0.
Parameter | Description | Value |
---|---|---|
instance-id |
Specifies the ID of an MSTI. |
The value is an integer ranging from 0 to 4094, Value 0 indicates CIST. <instanceId> specified in the undo instance command cannot be 0, that is, instance 0 cannot be deleted. |
vlan-id1 |
Specifies the start VLAN ID to be mapped to an MSTI. |
The value is an integer ranging from 1 to 4094. |
to vlan-id2 |
Specifies the end VLAN ID to be mapped to an MSTI. |
The value is an integer ranging from 1 to 4094. <vlanIdEnd> must be greater than <vlanIdBegin>. |
Usage Scenario
MSTP divides a switching network into multiple regions, each of which has independent Multiple Spanning Trees. Each spanning tree is called an MSTI, and each region is called a Multiple Spanning Tree (MST) region. Two devices belong to the same MST region only when their following configurations are the same:
Configuration Impact
When using the undo instance command, note the following points:
Precautions
A VLAN cannot be mapped to different MSTIs. If the instance command is run more than once, the latest configuration overrides the previous one.