Command Reference Guide

22bridge-set stp port pathcost 3Com Router 5000 Family and Router 6000 Family
Command Reference
bridge-set stp port pathcost
Purpose 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.
Syntax bridge-set bridge-set stp port pathcost cost
undo bridge-set bridge-set stp port pathcost
Parameters bridge-set
Number of a bridge set. Valid values are 1 to 255.
cost
Path cost of a bridge port. Valid values are 1 to 65,535.
The default is 19 if the port is Ethernet and 1000 if the
port is serial.
Example Set the path cost for Ethernet port 1/0/0 to 5.
[Router-Ethernet1/0/0] bridge-set stp port pathcost 5
View This command can be used in the following views:
Interface view
Description 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.