< Home

lldp message-transmission hold-multiplier

Function

The lldp message-transmission hold-multiplier command sets the hold time multiplier of device information stored on neighbors.

The undo lldp message-transmission hold-multiplier command restores the default hold time multiplier of device information stored on neighbors.

The default hold time multiplier is 4.

Format

lldp message-transmission hold-multiplier hold

undo lldp message-transmission hold-multiplier [ hold ]

Parameters

Parameter

Description

Value

hold

Specifies the hold time multiplier of device information on neighbors.

The value is an integer ranging from 2 to 10. The default value is 4.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The time multiplier is used to calculate how long a packet can be saved on a neighboring node. 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 device information storage time. It is the smaller value between 65535 and (interval x hold).

interval indicates the interval at which the device sends LLDP packets to neighbors. This parameter is set by lldp message-transmission interval. hold indicates the hold time multiplier of device information on neighbors.

After the LLDP function is disabled on the device, its neighbors wait until the TTL of the device information expires, and then delete the device information. This prevents network topology flapping.

Prerequisites

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

Configuration Impact

The hold time multiplier of device information on neighbors must be set to a proper value.
  • A large value of hold 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 hold 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 hold time multiplier of device information on neighbors to 5.

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