The set protocols spanning-tree pvst vlan hello-time command sets the interval of the switching device to send BPDUs when Rapid-PVST+ is running.
set protocols spanning-tree pvst vlan <vlan-id> hello-time <hello-time>
Specifies the VLAN ID. The value is an integer that ranges from 1 to 4094.
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 Rapid-PVST+ is running.