
70
Use
undo stp region-configuration
to restore the default MST region configurations.
These are the default settings for the MST region:
•
The MST region name of the device is the MAC address of the device.
•
All VLANs are mapped to the CIST.
•
The MSTP revision level is 0.
After you enter MST region view, you can configure the MST region-related parameters, including the
region name, VLAN-to-instance mappings, and revision level.
Examples
# Enter MST region view.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region]
stp root primary
Syntax
stp
[
instance
instance-id
]
root primary
undo stp
[
instance
instance-id
]
root
View
System view
Default level
2: System level
Parameters
instance
instance-id
: Configures the device as the root bridge in a particular MSTI. The
instance-id
argument ranges from 0 to 15, where 0 represents the CIST.
Description
Use
stp root primary
to configure the device as the root bridge.
Use
undo stp root
to restore the default.
By default, a device is not a root bridge.
To set an MSTP device as the root bridge in a specific MSTI, use this command with the MSTI specified.
To set an MSTP device in the CIST or an STP/RSTP device as the root bridge, use this command without
specifying any MSTI.
Once you specify the device as the root bridge, you cannot change the priority of the device.
Related commands:
stp priority
and
stp root secondary
.
Examples
# In MSTP mode, specify the device as the root bridge of MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root primary