The path cost of a port is related to its link speed. The higher the link speed is, the lower
the path cost should be configured. If the port is configured with the default path cost,
STP will automatically detect the current link speed of the port and accordingly compute
the path cost.
Example
# Configure the path cost of the Ethernet port 0 to 5.
[3Com-Ethernet0]bridge-set stp port pathcost 5
8.1.24 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
Value: Bridge port priority in the range of 0 to 255. By default, the bridge port priority is
128.
Description
Using the bridge-set stp port priority command, you can configure the bridge port
priority. Using the undo bridge-set stp port priority command, you can restore the
default bridge port priority.
In the case that path costs of ports are the same, the port with lower ID has greater
chance to be the designated port. The port ID is comprised of Port Priority and Port
Number. The smaller the port priority, the smaller the bridge port ID will be. Changing
the bridge port priority will cause recomputation of the spanning tree. If all the bridge
ports adopt the same priority, the smaller the port number, the smaller the port ID will
be.
Example
# Configure the priority of Ethernet port 0 to 5.
[3Com-Ethernet0]bridge-set stp port priority 5
8.1.25 debugging bridge
Syntax
debugging bridge
Link Layer Protocol
159
Need help?
Do you have a question about the 3C13618 and is the answer not in the manual?