R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)
83
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.
Syntax
stp [ instance instance-id ] root secondary
undo stp [ instance instance-id ] root
Default
A device is not a secondary root bridge.
Views
System view
Default command level
2: System level
Parameters
instance instance-id: Configures the device as a secondary 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 a secondary root bridge in a specific MSTI, use this command with the MSTI
specified.
Once you specify the device as a secondary root bridge, you cannot change the priority of the device.
Examples
# In MSTP mode, specify the device as a secondary root bridge in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root secondary
Related commands
• stp priority
• stp root primary
stp root-protection
Use stp root-protection to enable the root guard function on the ports.
Use undo stp root-protection to disable the root guard function on the ports.










