The graceful restart mechanism minimizes the negative effect on MPLS forwarding across an LSR restart by enabling neighbors to wait for the LSR to restart and causing the LSR itself to restart gracefully.
![]() |
Note: Successful operation of LDP graceful restart requires that stateful SRP switchover (high availability) be configured on the router. Although you can configure LDP graceful restart if stateful SRP switchover is not configured on the router, the graceful restart capability will not function. |
To configure LDP graceful restart:
- host1(config)#mpls ldp graceful-restart
- host1(config)#mpls ldp graceful-restart reconnect-time
130
- host1(config)#mpls ldp graceful-restart recovery-time
150
- host1(config)#mpls ldp graceful-restart timers
max-recovery 150
- host1(config)#mpls ldp graceful-restart timers
neighbor-liveness 150