mpls ldp-graceful-restart

Use this command to enable LDP graceful restart for all LDP sessions.

Syntax

mpls ldp-graceful-restart [reconnect-timeout seconds] [forwarding-state-holdtime seconds]
no mpls ldp graceful-restart [reconnect-timeout] [forwarding-state-holdtime]

Parameters

reconnect-timeout seconds (Optional) Specifies the time that the local LDP sends to its graceful restart peer, indicating how long its neighbor should wait for reconnection in the event of an LDP session failure. Valid values are 10 - 300 seconds. The default value is 10 seconds.
forwarding-state-
holdtime seconds (Optional) Specifies the time the local forwarding state is preserved (without being reclaimed) after the local LDP control plane restarts. Valid values are 10 - 600 seconds. The default value is 10 seconds.

Defaults

  • The LDP graceful restart is disabled by default.
  • The reconnect time defaults to 10 seconds.
  • The forwarding state hold time defaults to 10 seconds.

Mode

Global router or named VRF global configuration mode.

Usage

The “no” form of this command disables LDP graceful restart if an option is not specified or resets the specified option to its default value.

Examples

This example shows how to enable MPLS graceful restart on VRF vpnA:

System(rw)->router vpnA
System(su-vpnA)->configure
System(su-vpnA-config)->mpls graceful-restart
System(su-vpnA-config)->