![H3C S5120-SI Series Operation Manual Download Page 163](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174163.webp)
1-23
Configuration example
# Set the forward delay to 1,600 centiseconds, hello time to 300 centiseconds, and max age to 2,100
centiseconds.
<Sysname> system-view
[Sysname] stp timer forward-delay 1600
[Sysname] stp timer hello 300
[Sysname] stp timer max-age 2100
Configuring the Timeout Factor
After the network topology is stabilized, each non-root-bridge device forwards configuration BPDUs to
the downstream devices at the interval of hello time to check whether any link is faulty. Typically, if a
device does not receive a BPDU from the upstream device within nine times the hello time, it will
assume that the upstream device has failed and start a new spanning tree calculation process.
In a very stable network, this kind of spanning tree calculation may occur because the upstream device
is busy. In this case, you can avoid such unwanted spanning tree calculation by lengthening the timeout
time.
Configuration procedure
Follow these steps to configure the timeout factor:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the timeout factor of the device
stp timer-factor number
Optional
3 by default
z
Timeout time = timeout factor × 3 × hello time.
z
Typically, we recommend that you set the timeout factor to 5, or 6, or 7 for a stable network.
Configuration example
# Set the timeout factor to 6.
<Sysname> system-view
[Sysname] stp timer-factor 6
Configuring the Maximum Port Rate
The maximum rate of a port refers to the maximum number of MSTP packets that the port can send
within each hello time. The maximum rate of a port is related to the physical status of the port and the
network structure.
Configuration procedure
Follow these steps to configure the maximum rate of a port or a group of ports: