The mpls ldp timer hello-hold command sets the value of a Hello Hold timer.
The undo mpls ldp timer hello-hold command restores the default value.
By default, the link Hello Hold timer is 15 seconds and the target Hello Hold timer is 45 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the value of a Hello Hold timer. | The value is an integer ranging from 3 to 65535, in seconds. Value 65535 indicates that the timer never expires. |
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
Two LDP peers periodically exchange Hello messages to maintain the Hello adjacency. If no Hello message is received after the target Hello hold timer expires, the Hello adjacency is deleted.
The default value of the timer is recommended. On a network where the link status is unstable or a large number of packets are sent, increase the value of the timer to prevent the session flapping.
Prerequisites
The remote LDP peer has been configured or MPLS LDP has been enabled on the interface.
Precautions
The value of the timer that actually takes effect is the smaller one between the two Hello holder timers configured on both ends of an LDP session. If the value is smaller than 9, the Hello hold timer is 9.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls ldp [HUAWEI-Vlanif100] mpls ldp timer hello-hold 30
<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 hello-hold 30
<HUAWEI> system-view [HUAWEI] mpls ldp remote-peer bji [HUAWEI-mpls-ldp-remote-bji] mpls ldp timer hello-hold 60