
130
H3C does not recommend you to set the max age by using this command. Instead, you can use the
stp
bridge-diameter
command to set the network diameter and let MSTP automatically calculates the max
age according to the network size. When the network diameter is the default value, the max age is also
set to the default.
Related commands:
stp timer forward-delay
,
stp timer hello
, and
stp bridge-diameter
.
Examples
# Set the max age timer of the switch to 1000 centiseconds.
<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 the
stp timer-factor
command to set the timeout factor, which decides the timeout time.
Timeout time = timeout factor × 3 × hello time.
Use the
undo stp timer-factor
command 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 switch does
not receive a BPDU from the upstream switch within nine times the hello time, it will assume that the
upstream switch has failed and start a new spanning tree calculation process.
In a stable network, this kind of spanning tree calculation may occur because the upstream switch is busy.
You can avoid such unwanted spanning tree calculations by lengthening the timeout time, saving the
network resources. H3C recommends that you set the timeout factor to 5, or 6, or 7 for a stable network.
Related commands:
stp timer hello
.
Examples
# Set the timeout factor of the switch to 7.
<Sysname> system-view
[Sysname] stp timer-factor 7