160
undo stp timer-factor
Default
The timeout factor of the device is set to 3.
Views
System view
Predefined user roles
network-admin
Parameters
factor: Specifies the timeout factor in the range of 1 to 20.
Usage guidelines
In a stable network, each non-root-bridge forwards configuration BPDUs to surrounding devices at
the interval of hello time to determine whether any link fails. If a device does not receive a BPDU from
the upstream device within nine times of the hello time, it assumes that the upstream device has
failed. Then it will start a new spanning tree calculation process.
As a best practice, set the timeout factor to 5, 6, or 7 in the following situations:
• To prevent undesired spanning tree calculations. An upstream device might be too busy to
forward configuration BPDUs in time, for example, many Layer 2 interfaces are configured on
the upstream device. In this case, the downstream device fails to receive a BPDU within the
timeout period and then starts an undesired spanning tree calculation.
• To save network resources on a stable network.
Examples
# Set the timeout factor of the device to 7.
<Sysname> system-view
[Sysname] stp timer-factor 7
Related commands
stp timer hello
stp transmit-limit
Use stp transmit-limit to set the BPDU transmission rate of a port.
Use
undo stp transmit-limit to restore the default.
Syntax
stp transmit-limit limit
undo stp transmit-limit
Default
The BPDU transmission rate of all ports is 10.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin