Configuration example – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 192

Advertising
background image

22-23

To do…

Use the command…

Remarks

Configure the hello time parameter stp timer hello centiseconds

Required
The hello time parameter defaults
to 200 centiseconds (namely, 2
seconds).

Configure the max age parameter

stp timer max-age

centiseconds

Required
The max age parameter defaults to
2,000 centiseconds (namely, 20
seconds).

All devices in a switched network adopt the three time-related parameters configured on the CIST root
bridge.

z

The forward delay parameter and the network diameter are correlated. Normally, a large network
diameter corresponds to a large forward delay. A too small forward delay parameter may result in
temporary redundant paths. And a too large forward delay parameter may cause a network unable
to resume the normal state in time after changes occurred to the network. The default value is
recommended.

z

An adequate hello time parameter enables a device to detect link failures in time without occupying
too many network resources. And a too small hello time parameter may result in duplicated
configuration BPDUs being sent frequently, which increases the work load of the devices and
wastes network resources. The default value is recommended.

z

As for the max age parameter, if it is too small, network congestion may be falsely regarded as link
failures, which results in frequent spanning tree recalculation. If it is too large, link problems may be
unable to be detected in time, which prevents spanning trees being recalculated in time and makes
the network less adaptive. The default value is recommended.

As for the configuration of the three time-related parameters (that is, the hello time, forward delay, and
max age parameters), the following formulas must be met to prevent frequent network jitter.

2 x (forward delay – 1 second) >= max age

Max age >= 2 x (hello time + 1 second)

You are recommended to specify the network diameter of the switched network and the hello time by
using the stp root primary or stp root secondary command. After that, the three proper time-related
parameters are determined automatically.

Configuration example

# Configure the forward delay parameter to be 1,600 centiseconds, the hello time parameter to be 300
centiseconds, and the max age parameter to be 2,100 centiseconds (assuming that the current device
operates as the CIST root bridge).

<device> system-view

[device] stp timer forward-delay 1600

[device] stp timer hello 300

[device] stp timer max-age 2100

Advertising