mpls ldp timer hello-hold (Interface view)

Function

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.

Format

mpls ldp timer hello-hold interval

undo mpls ldp timer hello-hold

Parameters

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.

Views

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

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

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:

  • Link-Hello hold timer: used to maintain the local adjacency. You can run the mpls ldp timer hello-hold command in the interface view to set the timer value.
  • Target-Hello hold timer: used to maintain the remote adjacency. You can run the mpls ldp timer hello-hold command in the remote MPLS LDP peer view to set the timer value.

    NOTE:

    The value of the timer that takes effect is the smaller one of the Hello holder timer values configured on both ends of an LDP session.

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.

Example

# Set the link-Hello hold timer value to 60s.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >