The set protocols spanning-tree stp hello-time command sets the interval of the switching device to send BPDUs when STP is running.
set protocols spanning-tree stp hello-time <hello-time>
Specifies the interval of the switch to send BPDUs. The value is an integer, in seconds, that ranges from 1 to 10. The default value is 2s.
The relationships between the Hello Time, Forward Delay, and Max Age are as follows. The spanning tree functions properly only if the correct relationships are established. Otherwise, frequent network flapping occurs.
- 2 * (Forward Delay - 1.0) ≥ Max Age
- Max Age ≥ 2 * (Hello Time + 1.0)
- Set the interval of the switching device to send BPDUs to 5s when STP is running.