< Home

dldp interval

Function

The dldp interval command sets the interval for sending Advertisement packets.

The undo dldp interval command restores the default interval for sending Advertisement packets.

The default interval for sending Advertisement packets is 5 seconds.

Format

dldp interval interval

undo dldp interval [ interval ]

Parameters

Parameter

Description

Value

interval

Specifies the interval for sending Advertisement packets.

The value is an integer ranging from 1 to 100, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Applicable Environment

An interface in Advertisement state sends Advertisement packets. DLDP creates a neighbor entry, starts the entry timer, and transits to the Probe state if the neighbor entry does not exist on the peer interface. DLDP updates the entry timer if the neighbor entry exists.

You can adjust the interval for sending Advertisement packets to allow DLDP to detect unidirectional links on different networks.

The interval for sending Advertisement packets must be smaller than one third of the STP convergence time.

  • If the interval is too long, STP loops occur before a unidirectional link is shut down on a DLDP interface, which may lead to forwarding of many error packets.

  • If the interval is too short, the traffic volume on the network increases.

Prerequisites

DLDP has been enabled globally using the dldp enable command.

Precautions

After the dldp interval command is executed, the local device running DLDP deletes information about the peer device and triggers the peer device to clear information about the local device. In this way, the negotiation can be re-performed.

Ensure that the interval for sending Advertisement packets is set to the same value on the local and peer devices connected through optical fibers or copper twisted pairs.

Example

# Set the interval for sending Advertisement packets to 20 seconds on all DLDP interfaces.

<HUAWEI> system-view
[HUAWEI] dldp enable
[HUAWEI] dldp interval 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >