Command Reference Guide

26bridge stp priority 3Com Router 5000 Family and Router 6000 Family
Command Reference
bridge stp priority
Purpose Use the bridge stp priority command to assign a priority to the bridge.
Use the undo bridge stp priority command to restore the default priority of
the bridge.
Syntax bridge stp priority value
undo bridge stp priority
Parameters value
Bridge priority. Valid values are 0 to 65,535.
If no value is specified, the default value is 32,768.
Example Set the bridge priority to 500.
[Router] bridge stp priority 500
View This command can be used in the following views:
System view
Description The ID of a bridge consists of two parts: bridge priority and bridge MAC address.
During a spanning tree calculation in a network, the bridge with the lowest ID is
elected as the root. The process is as follows:
Compare the priorities of the bridges in the network. The one with the lowest
bridge priority is elected as the root.
In case multiple bridges in the network have the same priority, compare their MAC
addresses and elect the bridge with the lowest MAC address as the root.
When STP is enabled, changing the priority of a bridge may cause spanning tree
recalculation.