The stp timer-factor command sets the timer factor of the timeout period of a switching device to the Hello Time.
The undo stp timer-factor command restores the default setting.
If a switching device does not receive BPDUs from an upstream device within the timeout period (timeout period = Hello Time × 3 × Timer Factor), the spanning tree is calculated again.
Parameter | Description | Value |
---|---|---|
factor | Specifies the timer factor. | The value ranges from 1 to 10. |
System view or MSTP process view
Usage Scenario
On a network where a spanning tree protocol is enabled, if a switching device does not receive BPDUs from an upstream device within the timeout period, it considers that the upstream device becomes faulty, and will recalculate the spanning tree.
In a spanning tree, the device closer to the root bridge is the upstream device of another connected device.
Precautions
If the parameter factor is set smaller, the timeout period of the switching device to re-calculate the spanning tree is shorter. In this case, there is a higher probability that the switching device incorrectly considers the upstream device as being faulty.
If the parameter factor is set larger, the timeout period of the switching device to re-calculate the spanning tree is longer. In this case, there is a higher probability that the traffic becomes interrupted because the upstream device has become faulty.