< Home

graceful-restart timer neighbor-liveness

Function

The graceful-restart timer neighbor-liveness command sets the value of the Neighbor-liveness timer.

The undo graceful-restart timer neighbor-liveness command restores the default configuration.

By default, the value of the Neighbor-liveness timer is 600, in seconds.

Format

graceful-restart timer neighbor-liveness time

undo graceful-restart timer neighbor-liveness

Parameters

Parameter Description Value
time Specifies the value of the Neighbor-liveness timer. An integer ranging from 3 to 3600, in seconds

Views

MPLS-LDP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

LDP GR-enabled devices negotiates the LDP reconnection time and uses the smaller value between the Neighbor-liveness time configured on a Helper and the Reconnect time configured on the Restarter.

On a network with a few label switched paths (LSPs), the graceful-restart timer neighbor-liveness command can be run to set a small value for the Neighbor-liveness timer to shorten the GR period.

Using the default timer value is recommended.

Prerequisites

MPLS LDP has been enabled globally using the mpls ldp command in the system view.

LDP GR has been enabled globally using the graceful-restart command in the MPLS-LDP view.

Precautions

Modifying the Neighbor-liveness timer causes a local device to reestablish all LDP sessions.

Example

# Set the time of the Neighbor-liveness timer to 45 seconds.

<sysname> system-view
[sysname] mpls ldp
[sysname-mpls-ldp] graceful-restart timer neighbor-liveness 45
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >