set protocols spanning-tree stp hello-time
The set protocols spanning-tree stp hello-time command sets the interval of the switching device to send BPDUs when STP is running.
Command Syntax
set protocols spanning-tree stp hello-time <hello-time>
Parameter
Parameter | Description |
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. |
Usage Guidelines
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)
Example
- Set the interval of the switching device to send BPDUs to 5s when STP is running.
admin@Xorplus# set protocols spanning-tree stp hello-time 5 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.