Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 3 Bridge Configuration Commands
3Com Corporation
3-12
Description
Use the bridge-set stp port pathcost command to configure the path cost of the
bridge port.
Use the undo bridge-set stp port pathcost command to restore the default.
Assign a path cost to a bridge port depending on its link speed. The higher the link
speed is, the lower the path cost should be configured.
When a bridge port uses the default path cost, STP can automatically identify the type
of the port and get the corresponding default path cost value.
Example
# Set the path cost for Ethernet port 1/0/0 to 5.
[Router-Ethernet1/0/0] bridge-set stp port pathcost 5
3.1.17 bridge-set stp port priority
Syntax
bridge-set bridge-set stp port priority value
undo bridge-set bridge-set stp port priority
View
Interface view
Parameter
bridge-set: Number of a bridge set, in the range 1 to 255.
value: Bridge port priority, in the range 0 to 255. The default value is 128.
Description
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.
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:
z Compare the priorities of the ports on the bridge. The one with the lowest port
priority is elected as the designated port.
z 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.