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.
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
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: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.
<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