Configuring LDP GR

Before you configure LDP GR, enable LDP on the GR restarter and GR helpers.

The LDP GR configuration is required only on a GR restarter. Because the role (GR restarter or helper) of a device in a GR process is unpredictable, configure LDP GR on all involved devices as a best practice.

To configure LDP GR:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter LDP view.

mpls ldp

N/A

3. Enable LDP GR.

graceful-restart

By default, LDP GR is disabled.

4. Set the Reconnect timer for LDP GR.

graceful-restart timer reconnect reconnect-time

By default, the Reconnect time is 120 seconds.

5. Set the MPLS Forwarding State Holding timer for LDP GR.

graceful-restart timer forwarding-hold hold-time

By default, the MPLS Forwarding State Holding time is 600 seconds.