< Home

mpls ldp timer hello-hold

Function

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.

Format

mpls ldp timer hello-hold interval

undo mpls ldp timer hello-hold

Parameters

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.

Views

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

Default Level

2: Configuration level

Usage Guidelines

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.

Hello hold timers are classified into the following types:
  • Link-Hello hold timer: maintains the local adjacency. The mpls ldp timer hello-hold command in the interface view sets a value of the timer.
  • Target-Hello hold timer: maintains the remote adjacency. The mpls ldp timer hello-hold command in the remote MPLS LDP peer view sets a value of the timer.

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.

Example

# Set the value of the link Hello hold timer to 30 seconds.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls ldp
[HUAWEI-Vlanif100] mpls ldp timer hello-hold 30
# Set the value of the link Hello hold timer to 30 seconds.
<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
# Set the value of the target Hello hold timer to 60 seconds.
<HUAWEI> system-view
[HUAWEI] mpls ldp remote-peer bji
[HUAWEI-mpls-ldp-remote-bji] mpls ldp timer hello-hold 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >