R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
83
HP recommends not setting 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.
Examples
# In MSTP mode, set the max age timer to 10 seconds.
<Sysname> system-view
[Sysname] stp timer max-age 1000
Related commands
• stp bridge-diameter
• stp timer forward-delay
• stp timer hello
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. HP recommends you to 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