< Home

lldp restart-delay

Function

The lldp restart-delay command sets the delay in re-enabling the LLDP function on an interface.

The undo lldp restart-delay command restores the default delay in re-enabling the LLDP function on an interface.

The default delay is 2 seconds.

Format

lldp restart-delay delay

undo lldp restart-delay [ delay ]

Parameters

Parameter

Description

Value

delay

Specifies the delay in re-enabling the LLDP function on an interface.

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

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

There is a delay before LLDP is re-enabled on an interface. The delay suppresses the topology flapping caused by the frequent LLDP status changes.

Prerequisites

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

Configuration Impact

The delay in re-enabling the LLDP function on an interface must be set properly.
  • A large value of delay prevents network topology flapping. 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 of delay enables the NMS to discover topology change in time. However, if the value is too small, the neighbors update device information too frequently. This increases the load on the system and wastes resources.
  • The default value is recommended.

Example

# Set the delay in re-enabling the LLDP function on an interface to 3 second.

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