R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

76
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 value
range for this argument is 0 to 31. The value 0 represents the CIST.
Usage guidelines
To set an MSTP device as a secondary root bridge in a specific MSTI, use this command with the MSTI
specified. To set an MSTP device in the CIST or an STP or RSTP device as a secondary root bridge, use
this command without specifying any MSTI.
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.
Syntax
stp root-protection
undo stp root-protection
Default
The root guard function is disabled.