< Home

mpls ldp timer keepalive-send

Function

The mpls ldp timer keepalive-send command sets the value of a Keepalive send timer.

The undo mpls ldp timer keepalive-send command restores the default setting.

By default, the value of a Keepalive send timer is one third the value of a Keepalive hold timer.

Format

mpls ldp timer keepalive-send interval

undo mpls ldp timer keepalive-send

Parameters

Parameter Description Value
interval Specifies the timeout period of a Keepalive send timer. The value is an integer ranging from 1 to 65535, in seconds.

Views

VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view, remote MPLS LDP peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an LDP session is set up, LSRs on the two ends of the session periodically exchange Keepalive messages to maintain the LDP session.

The default value of the Keepalive send timer is recommended. On a network with poor performance, reduce the value of the Keepalive send timer, enabling the network to recover as soon as possible.

Keepalive send timers are classified into the following types:
  • Keepalive send timer of the local LDP session: controls the interval at which Keepalive messages are sent to the peer end of the local session. The mpls ldp timer keepalive-send command in the interface view sets a value of this timer.
  • Keepalive send timer of the remote LDP session: controls the interval at which Keepalive messages are sent to the peer end of the remote session. The mpls ldp timer keepalive-send command in the remote MPLS LDP peer view sets a value of the timer.

Prerequisites

The remote LDP peer has been configured or MPLS LDP has been enabled on the interface.

Precautions

The value of the Keepalive send timer that actually takes effect may be different from the configured one. If the value of the Keepalive send timer is greater than one third of the value of the Keepalive hold timer, the value of the Keepalive send timer that actually takes effect is equal to one third of the value of the Keepalive hold timer.

Example

# Set the value of the Keepalive send timer for setting up a local LDP session to 10 seconds.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls ldp
[HUAWEI-Vlanif100] mpls ldp timer keepalive-send 10
# Set the value of the Keepalive send timer for setting up a local LDP session to 10 seconds.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls ldp
[HUAWEI-GigabitEthernet0/0/1] mpls ldp timer keepalive-send 10
# Set the value of the Keepalive send timer for setting up a remote LDP session to 20 seconds.
<HUAWEI> system-view
[HUAWEI] mpls ldp remote-peer bji
[HUAWEI-mpls-ldp-remote-bji] mpls ldp timer keepalive-send 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >