You are not advised to directly change the preceding three timers. The three parameters are
relevant to the network scale; therefore, it is recommended that you set the network diameter so
that the spanning tree protocol automatically adjusts these timers. When the default network
diameter is used, the three timers also retain their default values.
NOTICE
To prevent frequent network flapping, make sure that the Hello Time, Forward Delay, and Max
Age timer values conform to the following formulas:
l
2 x (Forward Delay - 1.0 second) >= Max Age
l
Max Age >= 2 x (Hello Time + 1.0 second)
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Set Forward Delay, Hello Time, and Max Age.
1.
Run:
stp timer forward-delay
forward-delay
The value of Forward Delay of the switching device is set.
By default, the value of Forward Delay of the switching device is 1500 centiseconds.
2.
Run:
stp timer hello
hello-time
The value of Hello Time of the switching device is set.
By default, the value of Hello Time of the switching device is 200 centiseconds.
3.
Run:
stp timer max-age
max-age
The value of Max Age of the switching device is set.
By default, the value of Max Age of the switching device is 2000 centiseconds.
----End
7.6.2.4 Setting the Maximum Number of Connections in an Eth-Trunk that Affects
Spanning Tree Calculation
Context
The path costs affect spanning tree calculation. Changes of path costs trigger spanning tree
recalculation. The path cost of an interface is affected by its bandwidth, so you can change the
interface bandwidth to affect spanning tree calculation.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
7 MSTP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
253