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.
lldp message-transmission interval interval
undo lldp message-transmission interval [ interval ]
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 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
LLDP has been enabled globally using the lldp enable (system view) command.
Configuration Impact
Precautions
If the delay value is greater than a quarter of the interval value, the system displays an error message when you run the undo lldp message-transmission interval command. To run the undo lldp message-transmission interval command in this case, reduce the delay value to be equal to or smaller than a quarter of interval first.