104
Default level
2: System level
Parameters
instance-id
: Specifies an MSTI ID. The minimum value is 0, representing the CIST.
•
In MSTP mode, the
instance-id
argument ranges from 0 to 16.
•
In PVST mode, the
instance-id
argument ranges from 0 to 16.
vlan vlan-list
: Specifies a VLAN list in the format of
vlan-list
=
{
vlan-id
[
to
vlan-id
] }&<1-10>, where
the
vlan-id
argument represents the VLAN ID, in the range of 1 to 4094, and &<1-10>
indicates that
you can specify up to 10 VLAN IDs or VLAN ID ranges.
Description
Use
instance
to map a list of VLANs to the specified MSTI.
Use
undo instance
to remap the specified VLAN or all VLANs to the CIST (MSTI 0).
By default, all VLANs are mapped to the CIST.
If you specify no VLAN in the
undo instance
command, all VLANs mapped to the specified MSTI will
be remapped to the CIST.
You cannot map the same VLAN to different MSTIs. If you map a VLAN that has been mapped to an
MSTI to a new MSTI, the old mapping will be automatically removed.
In PVST mode, you can map multiple VLANs to the CIST, and only one VLAN to each remaining
MSTI.
After configuring this command, run the
active region-configuration
command to activate the
VLAN-to-instance mapping.
Related commands:
display stp region-configuration
,
check region-configuration
, and
active
region-configuration
.
Examples
# Map VLAN 2 to MSTI 1.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] instance 1 vlan 2
region-name
Syntax
region-name
name
undo region-name
View
MST region view
Default level
2: System level
Parameters
name
: Specifies the MST region name, a string of 1 to 32 characters.
Description
Use
region-name
to configure the MST region name.
Use
undo region-name
to restore the default MST region name.