88
[Sysname] stp timer max-age 1000
Related commands
•
stp timer forward-delay
•
stp timer hello
•
stp
bridge-diameter
stp timer-factor
Use
stp timer-factor
to configure the timeout time by setting the timeout factor.
Use
undo stp timer-factor
to restore the default.
Syntax
stp timer-factor factor
undo
stp timer-factor
Default
The timeout factor of the device is set to 3.
Views
System view
Default command level
2: System level
Parameters
factor
: Sets the timeout factor in the range of 1 to 20.
Usage guidelines
Timeout time = timeout factor × 3 × hello time.
After the network topology is stabilized, each non-root-bridge device forwards configuration BPDUs
to the surrounding devices at the interval of hello time to check whether any link is faulty. 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 stable network, this kind of spanning tree calculation might occur because the upstream device
is busy. You can avoid such unwanted spanning tree calculations by lengthening the timeout time (by
setting the timeout factor to 4 or more), saving the network resources. H3C recommends that you set
the timeout factor to 5, 6, or 7, for 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 maximum number of BPDUs that the ports can send within each
hello time.
Use
undo stp transmit-limit
to restore the default.