300 CHAPTER 19: CONFIGURING BRIDGE

Table 327 Configure the bridge priority

Operation

Command

 

 

Configure the bridge priority

bridge stp priority value

 

 

Restore the default value of the bridge priority

undo bridge stp 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.

Table 328 Configure the path cost of bridge port

Operation

Command

 

 

Configure the path cost of bridge port

bridge set bridge-setstp port

 

pathcost cost

 

 

 

Restore the path cost on the bridge port to the

undo

bridge-set bridge-setstp

default value

port

pathcost

 

 

 

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.

Table 329 Configure the bridge port priority

Operation

Command

 

 

Configure the bridge port priority

bridge-set bridge-setstp port

 

priority value

 

 

Restore the default value of the bridge port

undo bridge-set bridge-setstp

priority

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.

Page 304
Image 304
3Com 10014299 Configure the bridge priority, Configure the path cost of bridge port, Configure the bridge port priority