75
Default level
2: System level
Parameters
time
: Sets the max age in 0.01 seconds, ranging from 600 to 4000 in steps of 100 (as in 600, 700,
800).
Description
Use
stp timer max-age
to set the max age timer of the device.
Use
undo stp timer max-age
to restore the default.
By default, the max age is 20 seconds.
In the CIST of an MSTP network, the device determines whether a configuration BPDU received on a port
has expired based on the max age timer. If yes, a new spanning tree calculation process starts. The max
age timer does not take effect on MSTIs.
H3C does not recommend you to set the max age timer with this command. Instead, you can specify the
network diameter of the switched network by using the
stp bridge-diameter
command and let spanning
tree protocols automatically calculate optimal settings of the max age timer. If the network diameter uses
the default value, the max age timer also uses the default value.
Related commands:
stp timer forward-delay
,
stp timer hello
, and
stp bridge-diameter
.
Examples
# In MSTP mode, set the max age timer to 10 seconds.
<Sysname> system-view
[Sysname] stp timer max-age 1000
stp timer-factor
Syntax
stp timer-factor
factor
undo
stp timer-factor
View
System view
Default level
2: System level
Parameters
factor
: Sets the timeout factor, ranging from 1 to 20.
Description
Use
stp timer-factor
to set the timeout factor, which decides the timeout time.
Timeout time = timeout factor × 3 × hello time.
Use
undo stp timer-factor
to restore the default.
By default, the timeout factor is 3.
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