recovery-time

Specifies the amount of time that this device retains its MPLS forwarding state across LDP graceful restart (GR).

Syntax

recovery-time seconds
no recovery-time seconds

Command Default

The default recovery time is 120 seconds.

Parameters

seconds

Specifies the amount of time in seconds that this router retains its MPLS forwarding state across restart. This value is advertised to the neighbor using the Recovery Time field in the FT Session TLV. Enter a integer from 60 to 3600.

Modes

MPLS LDP GR configuration mode

Usage Guidelines

The recovery time must be chosen accordingly taking into account the time it takes for RTM to recompute the routes and the number of Layer 3 FECs that need to be recovered as part of the LDP GR recovery. This is applicable to GR processing on ingress as well as transit LSRs.

The no form of the command resets the default time of 120 seconds.

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 sets the LDP GR timer to 240 seconds.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# graceful-restart
device(config-router-mpls-ldp-gr)# recovery-time 240