User's Manual
263
36.3.3 Configuring MSTP region
The MST area where the switch resides is decided by three attributes: configurationname, edit number, the
mapping relation between VLAN and MSTI. You can configure them through area configuration commands.
Note that the change of any of the three attributes will cause the change of the area where the switch resides.
In original state, the MST configuration name is the character string of the MACaddress of the switch. The edit
number is 0 and all VLANs are mapped in the CIST (MST00). Because different switch has different MAC
address, switches that run MSTP are in different areas in original state. You can run spanning-tree mstp
instance instance-id vlan vlan-list to create a new MSTI and map the esignated VLAN to it. If the MSTI is
deleted, all these VLANs are mapped to the CIST again.
Run the following command to set the MST area information:
Command Purpose
spanning-tree mstp name
string Configures the MST configuration name.
string means the character string of the
configurationname. It contains up to 32 characters,
capital sensitive. The default value is the character string
of the MAC address.
no spanning-tree mstp name
Sets the MST configuration name to the default value.
spanning-tree mstp revision
value Sets the MST edit number.
value represents the edit number, ranging from 0 to
65535. The default value is 0.
no spanning-tree mstp revision
Sets the MST edit number to the default value.
spanning-tree mstp instance
instance-id
vlan
vlan-list
Maps VLAN to MSTI.
Instance ID of the spanning-tree, which stands for an
MSTI Value range: 1-15
vlan-list: means the VLAN list that is mapped to
thespanning tree. It ranges from 1 to 4094.
Instance ID is an independent value which stands for an
STP instance.
vlan-list can represent a group of VLANs,
suchas ”1,2,3”, ”1-5” and “1,2,5-10”.
"1,2: 5 -10"...
no spanning-tree mstp instance
instance-id
Cancels the VLAN mapping of MSTI and disables
thespanning tree instance.
instance-id: Instance ID of the spanning-tree, which
stands for a MSTI. Value range: 1-15
Run the following command to check the configuration of the MSTP area:
Command Purpose
show spanning-tree mstp region
Displays the configuration of the MSTP area.
36.3.4 Configuring network root
In MSTP, each spanning tree instance has a Bridge ID, containing the priority value and MAC address of the
switch. During the establishment of spanning tree topology, the switch with comparatively small bridge ID is
selected as the network root.