graceful-restart (LDP)

Enables the MPLS LDP graceful restart capability for all LDP sessions and accesses the graceful restart (GR) configuration mode .

Syntax

graceful-restart
no graceful-restart

Command Default

Disabled.

Modes

MPLS LDP configuration mode

Usage Guidelines

When you enable LDP GR, the router waits until it receives an LDP Initialization message from its neighbor to know whether it must delete its states or start the LDP GR recovery procedure. It is applicable to all LDP sessions regardless of the adjacency type exists between the neighbors.

The no form of the command disables the LDP graceful-restart capability globally for all LDP sessions and removed the configuration.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example enables the BGP graceful restart capability.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# graceful-restart