set protocols spanning-tree rstp bridge-priority
The set protocols spanning-tree rstp bridge-priority command sets the bridge priority the switching device when RSTP is running.
Command Syntax
set protocols spanning-tree rstp bridge-priority <bridge-priority>
Parameter
Parameter | Description |
bridge-priority <bridge-priority> | Specifies the bridge priority of the switching device when RSTP is running. The value is an integer ranges from 0 to 61440. The default value is 32768. |
Usage Guidelines
Priorities of switching devices are an important factor to calculate a spanning tree and determine the selection of the root bridge. The smaller the priority value of a switching device is, the higher the possibility that the switching device is selected as the root bridge.
Example
Set the bridge priority the switching device to 55 when RSTP is running.
admin@Xorplus# set protocols spanning-tree rstp bridge-priority 55
admin@Xorplus# commit