mpls ldp timer keepalive-send (Interface view)

Function

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

The undo mpls ldp timer keepalive-send command restores the default value of the Keepalive send timer.

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

Format

mpls ldp timer keepalive-send interval

undo mpls ldp timer keepalive-send

Parameters

Parameter Description Value
interval

Specifies the value of the Keepalive send timer.

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

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, VLANIF interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

After an LDP session is established, the LSRs on the two ends of the LDP session start the Keepalive send timer and periodically send Keepalive packets to maintain the LDP session.

The default value of the timer is recommended. On a network that is not in good situation, you can reduce the value of the Keepalive send timer properly. This enables the network to recover as soon as possible if a fault occurs.

There are two types of Keepalive send timers:

  • Keepalive send timer of the local LDP session: used to control the interval at which Keepalive packets are sent to the peer end of the local session. You can run the mpls ldp timer keepalive-send command in the interface view to set the timer value.
  • Keepalive send timer of the remote LDP session: used to control the interval at which Keepalive packets are sent to the peer end of the remote session. You can run the mpls ldp timer keepalive-send command in the remote MPLS LDP peer view to set the timer value.

    NOTE:

    If the Keepalive send timer value is greater than one third of the Keepalive hold timer value, the Keepalive send timer value that actually takes effect is equal to one third of the Keepalive hold timer value.

Prerequisites

MPLS LDP must be enabled on the associated interface.

Configuration Impact

The Keepalive send timer value that actually takes effect is not necessarily the same as the set value. If the Keepalive send timer value is greater than one third of the Keepalive hold timer value, the Keepalive send timer value that actually takes effect is equal to one third of the Keepalive hold timer value.

Example

# Set the link-Keepalive send timer value to 20s.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls ldp
[*HUAWEI-mpls-ldp] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls
[*HUAWEI-GigabitEthernet0/1/0] mpls ldp
[*HUAWEI-GigabitEthernet0/1/0] mpls ldp timer keepalive-send 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >