< Home

mpls ldp timer keepalive-send

Function

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

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

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. An integer ranging from 1 to 65535, in seconds

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface 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 maintaining the LDP session.

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

Keepalive hold timer of the local LDP session: used to control 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.

Configuration Impact

The value of the Keepalive send timer that actually takes effect may be different from the configure 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 Keepalive send timer for setting up a local LDP session to 10 seconds.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] mpls ldp timer keepalive-send 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >