Command Reference Guide
3Com Router 5000 Family and Router 6000 Family bridge-set stp port priority ● 23
Command Reference
bridge-set stp port priority
Purpose Use the bridge-set stp port priority command to configure the priority of
the bridge port.
Use the undo bridge-set stp port priority command to restore the
default priority of the bridge port.
Syntax bridge-set bridge-set stp port priority value
undo bridge-set bridge-set stp port priority
Parameters bridge-set
Number of a bridge set. Valid values are 1 to 255.
value
Bridge port priority. Valid values are 0 to 255.
If no value is specified, the default value is 128.
Example Set the priority for Ethernet port 0/0/0 to 5.
[Router-Ethernet0/0/0] bridge-set stp port priority 5
View This command can be used in the following views:
■ Interface view
Description The ID of a bridge port comprises port priority and port number.
When the path costs of all ports on a bridge are the same, the one with the lowest
port ID is more likely to be elected as the designated port. The process is as follows:
■ Compare the priorities of the ports on the bridge. The one with the lowest port
priority is elected as the designated port.
■ In case multiple ports on the bridge have the same priority, compare their port
numbers and elect the port with the lowest number as the designated port.
To identify the number of each port, execute the display bridge spanning
tree
command.