< Home

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.

Format

lldp message-transmission interval interval

undo lldp message-transmission interval [ interval ]

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.

Views

System view

Default Level

2: Configuration level

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

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

Configuration Impact

The LLDP transmission interval must be set properly and adjusted according to network loads.
  • 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.

Precautions

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

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.

Example

# Set the LLDP transmission interval to 35 seconds.

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