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.
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. |
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
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.
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.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls ldp [HUAWEI-Vlanif100] mpls ldp timer keepalive-send 10
<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
<HUAWEI> system-view [HUAWEI] mpls ldp remote-peer bji [HUAWEI-mpls-ldp-remote-bji] mpls ldp timer keepalive-send 20