Devices on a ring network must use the same values of Forward Delay, Hello Time, and Max Age.
Generally, you are not advised to adjust values of the three parameters. This is because the three parameters are relevant to the network scale. It is recommended that the network diameter be adjusted so that the spanning tree protocol automatically adjusts the three parameters. When the default network diameter is used, the default values of the three parameters are used.
To prevent frequent network flapping, ensure that the values of Hello Time, Forward Delay, and Max Age conform to the following formulas:
2 x (Forward Delay - 1.0 second) ≥ Max Age
Max Age ≥ 2 x (Hello Time + 1.0 second)
The system view is displayed.
Run stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> timer forward-delay forward-delay
The value of Forward Delay is set.
By default, the value of Forward Delay is 1500 centiseconds.
Run stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> timer hello hello-time
The value of Hello Time is set.
By default, the value of Hello Time is 200 centiseconds.
Run stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> timer max-age max-age
The value of Max Age is set.
By default, the value of Max Age is 2000 centiseconds.