# protocols mpls-ldp graceful-restart recovery-time

Specifies the maximum time that stale label FEC bindings are retained.

set protocols mpls-ldp graceful-restart recovery-time30..3600
delete protocols mpls-ldp graceful-restart recovery-time30..3600
show protocols mpls-ldp graceful-restart recovery-time30..3600
30..3600
The recovery time, which can be from 30 through 3600 seconds.

Configuration mode

``````
protocols {
mpls-ldp {
graceful-restart {
recovery-time <30..3600>
}
}
}
``````

Use this command to specify the maximum time in seconds that stale label FEC bindings are retained.

Use the set form of this command to specify the maximum time in seconds that stale label FEC bindings are retained.

Use the delete form of this command to delete the configuration that specifies the maximum time in seconds that stale label FEC bindings are retained.

Use the show form of this command to display the configuration that specifies the maximum time in seconds that stale label FEC bindings are retained.

## Example

The following example shows how to configure 3000 as the interval after which an inactive LDP session terminates and the corresponding TCP session closes for the neighbor.

``````vyatta@R1# set protocols mpls-ldp graceful-restart recovery-time 3000
``````