HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
46
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-list ] root secondary
undo stp [ instance instance-list ] root
Default
A device is not a secondary root bridge.
Views
System view
Predefined user roles
network-admin
Parameters
instance instance-list: Configures the device as a secondary root bridge in the MSTIs that are specified by
an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10>
indicates that you can specify up to 10 instances or instance ranges. The value range for the instance-id
argument is 0 to 4094, and the value 0 represents the CIST. If you do not specify this option, the
command configures the device as the secondary root bridge in the MSTP CIST or as the primary root
bridge of STP or RSTP.
Usage guidelines
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.