Configuring the current device as a secondary root bridge of a specific spanning tree

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the current device as a secondary root bridge.

  • In STP/RSTP mode:stp root secondary

  • In PVST mode:stp vlan vlan-id-list root secondary

  • In MSTP mode:stp [ instance instance-list ] root secondary

By default, a device does not function as a secondary root bridge.