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, it indicates that 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 configured, the interval is the configured value. |
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
The remote LDP peer has been configured.
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
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls ldp [*HUAWEI-mpls-ldp] quit [*HUAWEI] mpls ldp remote-peer bji [*HUAWEI-mpls-ldp-remote-bji] mpls ldp timer hello-hold 180