The mpls ldp timer hello-hold command sets the Hello hold timer value.
The undo mpls ldp timer hello-hold command restores the default configuration.
By default, the link-Hello hold timer value is 15s, and the target-Hello hold timer value is 45s.
Parameter | Description | Value |
---|---|---|
interval |
Specifies the Hello hold timer value. |
The value is an integer ranging from 3 to 65535, in seconds. If the interval is set to 65535, the LDP session never times out. In this case, the interval for sending Hello packets is 21845s (65535/3). If the mpls ldp timer hello-send command is run, the interval is the configured 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
The LDP peers that establish the Hello adjacency periodically send Hello packets to indicate that they expect to maintain the adjacency. If an LDP peer does not receive any Hello packet before the Hello hold timer times out, the LDP peer deletes the Hello adjacency.
The default timer value is recommended. On a network where the link status is unstable or a number of packets are sent, you can increase the timer value properly to prevent the session from being frequently deleted and established. There are two types of Hello hold timers:Prerequisites
MPLS LDP has been enabled on the associated interface.
Configuration Impact
After the mpls ldp timer hello-hold command is run, the Hello hold timer value is the smaller one of the Hello holder timer values configured on both ends of an LDP session.
Precautions
If the Hello Hold timer negotiated by the two ends of an LDP session is less than 9s, the timer of 9s takes effect.
<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 hello-hold 60