300 CHAPTER 19: CONFIGURING BRIDGE
Tabl e 327 Configure the bridge priority
By default, the bridge priority is 32768. It is valued in the range of 0 to 65535.
cConfigure the path cost of bridge port
The path cost of the 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 on the port.
Perform the following configuration in interface view.
Tabl e 328 Configure the path cost of bridge port
By default, the path cost of Ethernet port is 100, and the path cost of serial
interface is 647. It is valued in the range 1 to 65535.
dConfigure the bridge port priority
In the case that path costs of the ports are the same, the port with lower ID is
more likely to become 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 is, the smaller the port ID will be.
Perform the following configuration in interface view.
Tabl e 329 Configure the bridge port priority
By default, the bridge port priority is 128. It is in the range of 0 to 255.
eConfigure the interval for sending BPDUs
The Hello Time timer is used to control the interval to send BPDUs. Whenever a
port enables the STP, it enables the Hello Time timer. Appropriate Hello Time
ensures that the bridge can detect the link fault in the network promptly
without consuming too many network resources.
Perform the following configuration in system view.
Operation Command
Configure the bridge priority bridge stp priority value
Restore the default value of the bridge priority undo bridge stp priority
Operation Command
Configure the path cost of bridge port bridge set bridge-set stp port
pathcost cost
Restore the path cost on the bridge port to the
default value undo bridge-set bridge-set stp
port pathcost
Operation Command
Configure the bridge port priority bridge-set bridge-set stp port
priority value
Restore the default value of the bridge port
priority undo bridge-set bridge-set stp
priority