< Home

lldp message-transmission delay

Function

The lldp message-transmission delay command sets the LLDP packet transmission delay.

The undo lldp message-transmission delay command restores the default LLDP packet transmission delay.

By default, the LLDP packet transmission delay is 2 seconds.

Format

lldp message-transmission delay delay

undo lldp message-transmission delay [ delay ]

Parameters

Parameter

Description

Value

delay

Specifies the LLDP packet transmission delay.

The value is an integer ranging from 1 to 8192, in seconds. The default value is 2 seconds.

The delay value depends on the interval value in lldp message-transmission interval. The delay value must be equal to or smaller than a quarter of the interval value.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

There is a delay before the interface sends an LLDP packet to the neighbor when the device status changes frequently. After the LLDP packet transmission delay is set on the device, the LLDP-enabled interfaces send LLDP packets to neighbors after a delay (the delay is the same as or longer than the delay you specified). The interfaces may send LLDP packets at different time points.

If the device status changes frequently, extend the delay in preventing the device from frequently sending packets to the neighbors. A delay suppresses the network topology flapping.

Prerequisites

LLDP has been enabled globally using the lldp enable (system view) command.

Configuration Impact

The LLDP packet transmission delay must be set properly and adjusted according to network loads.

  • A large value reduces the LLDP packet transmission frequency when the local device status frequently changes. 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 small value increases the LLDP packet transmission frequency and enables the NMS to discover network topology changes in real time when the local device status frequently changes. However, if the value is too small, LLDP packets are exchanged frequently, increasing the system load.
  • The default value is recommended.

Precautions

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

If the interval value is smaller than four times the delay value, the system displays an error message when you run the undo lldp message-transmission delay command. To run the undo lldp message-transmission delay command in this case, increase the interval value to at least four times the delay value first.

Example

# Set the LLDP packet transmission delay to 5 second.

<HUAWEI> system-view
[HUAWEI] lldp message-transmission delay 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >