In an MSTI, there can be only one root bridge, which is the logical center of the MSTI. The root bridge should be a high-performance switch; however, the priority of such a device may not be the highest on the network. To ensure that such a device is selected as the root bridge, set a low priority for low-performance switches, and set a high priority for high-performance switches. A smaller priority value indicates a higher priority.
The system view is displayed.
A priority is set for the switch in an MSTI.
The default priority value of the switch is 32768.
If instance-id is not specified, a priority is set for the switch in MSTI 0.
If the stp [ instance instance-id ] root primary or stp [ instance instance-id ] root secondary command has been executed to configure the device as the root bridge or secondary root bridge, to change the device priority, run the undo stp [ instance instance-id ] root command to disable the root bridge or secondary root bridge function and run the stp [ instance instance-id ] priority priority command to set a priority.