82
•
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
Use
stp root primary
to configure the device as the root bridge.
Use
undo stp root
to restore the default.
Syntax
stp
[
instance instance-id
]
root primary
undo stp
[
instance instance-id
]
root
Default
A device is not a root bridge.
Views
System view
Default command level
2: System level
Parameters
instance instance-id
: Configures the device as the root bridge in a particular MSTI. The minimum
value of
instance-id
is 0, representing the CIST, and the maximum value of
instance-id
is 15.
Usage guidelines
To set an MSTP device as the root bridge in a specific MSTI, use this command with the MSTI
specified.
Once you specify the device as the root bridge, you cannot change the priority of the device.
Examples
# In MSTP mode, specify the device as the root bridge of MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root primary
Related commands
•
stp
priority
•
stp root secondary
stp root secondary
Use
stp root secondary
to configure the device as a secondary root bridge.
Use
undo stp root
to restore the default.