lldp message-transmission interval
Function
The lldp message-transmission interval command sets the LLDP transmission interval.
The undo lldp message-transmission interval command restores the default LLDP transmission interval.
The default LLDP transmission interval is 30 seconds.
Parameters
Parameter |
Description |
Value |
---|---|---|
interval |
Specifies the LLDP transmission interval. |
The value is an integer ranging from 5 to 32768, in seconds. The default value is 30 seconds. The interval value depends on the delay value in lldp message-transmission delay. The value of interval must be equal to or greater than four times the value of delay. Otherwise, an error occurs in the configuration. |
Usage Guidelines
Usage Scenario
When the LLDP status of the device keeps unchanged or the device does not discover new neighbors, the interface sends LLDP packets to the neighbors at a certain interval. After the LLDP transmission interval is set on the device, the LLDP enabled interfaces send LLDP packets to neighbors at this interval. The interfaces may send LLDP packets at different time points.
If you want to change the network topology detection frequency, run the lldp message-transmission interval command to change the LLDP transmission interval.
Prerequisites
The LLDP function has been enabled globally.
Configuration Impact
- A large value reduces the LLDP packet transmission frequency. This helps save system resources. However, if the value is too large, the device cannot notify neighbors of its status in a timely manner, and the NMS cannot discover the network topology changes in real time.
- A short interval increases the LLDP packet transmission frequency and enables the NMS to discover network topology changes in real time. However, if the interval is too short, LLDP packets are exchanged frequently, increasing the system load.
- The default value is recommended.
Precautions
- The value of interval ranges from 5 to 32768.
- The value of interval must be equal to or greater than four times the value of delay. Therefore, if you want to set interval to be smaller than four times the value of delay, first reduce the delay value to be equal to or smaller than a quarter of the new interval value, and then reduce the interval value.