(Optional) Configuring LLDP Time Parameters
Context
When the LLDP status of the device keeps unchanged, the device sends LLDP packets to the neighbors at a certain interval.
Consider the value of delay when adjusting the value of interval because it is restricted by the value of delay.
- The value of interval ranges from 5 to 32768. Increasing the value of interval is not restricted by the value of delay.
- 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.
There is a delay before the device sends an LLDP packet to the neighbor when the device status changes frequently.
Consider the value of interval when adjusting the value of delay because it is restricted by the value of interval.
- The value of delay ranges from 1 to 8192. Decreasing the value of delay is not restricted by the value of interval.
- The value of delay must be smaller than or equal to a quarter of interval. Therefore, if you want to set delay to be greater than a quarter of interval, first increase the interval value to four times the new delay value, and then increase the delay value.
The hold time multiplier is used to calculate the Time to Live (TTL), which determines how long information about a device can be saved on the neighbors. You can specify the hold time of device information on the neighbors. After receiving an LLDP packet, a neighbor updates the aging time of the device information from the sender based on the TTL.
TTL is the hold time of device information. It is the smaller value between 65535 and (interval x hold).
interval indicates the interval at which the device sends LLDP packets to neighbors.
hold indicates the hold time multiplier of device information on neighbors. The value ranges from 2 to 10.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
lldp message-transmission interval interval
The interval between sending LLDP packets is set.
The default interval between sending LLDP packets is 30 seconds.
- Run:
lldp message-transmission delay delay
The delay in sending LLDP packets is set.
The default delay in sending LLDP packets is 2 seconds.
- Run:
lldp message-transmission hold-multiplier hold
The hold time multiplier of device information stored on neighbors is set.
The default hold time multiplier is 4.