< Home

(Optional) Configuring LLDP Time Parameters

Context

Interval for sending LLDP packets

When the LLDP status of a device remains unchanged, the device sends LLDP packets to its neighbors at certain intervals.

Consider the value of delay when adjusting the value of interval because it is restricted by delay.

  • The value of interval must be in the range of 5 to 32768.
  • The value of interval must be greater than or equal to four times the value of delay. Therefore, if you want to set interval to be less than four times the value of delay, first reduce the delay value to be equal to or less than one-fourth of the new interval value, and then reduce the interval value.
Delay in sending LLDP packets

If the device status changes frequently, a delay is required before the device can send an LLDP packet to its neighbors.

Consider the value of interval when adjusting the value of delay because it is restricted by 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 less than or equal to one-fourth of interval. Therefore, if you want to set delay to be greater than one-fourth the value of interval, first increase the interval value to be equal to or larger than four times the new delay value, and then increase the delay value.
Hold time multiplier of device information on neighbors

The hold time multiplier is used to calculate the Time to Live (TTL), which determines how long device information can be saved on the neighboring devices. You can specify the hold time of device information on the neighboring devices. After receiving an LLDP packet, a neighbor updates the aging time of the device information from the sender based on the TTL.

The storage time calculation formula is: TTL = Min (65535, (interval x hold)).
  • 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

  1. Run system-view

    The system view is displayed.

  2. Run lldp message-transmission interval interval

    The interval for sending LLDP packets is set.

    The default interval for sending LLDP packets is 30 seconds.

  3. Run lldp message-transmission delay delay

    The delay in sending LLDP packets is set.

    The default delay in sending LLDP packets is 2 seconds.

  4. 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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >