graceful-restart
Use graceful-restart to enable Graceful Restart (GR) for LDP.
Use undo graceful-restart to disable LDP GR.
Syntax
graceful-restart
undo graceful-restart
Default
LDP GR is disabled.
Views
LDP view
Predefined user roles
network-admin
Usage guidelines
LDP GR enables an LSR to retain MPLS forwarding entries during an LDP restart, ensuring continuous MPLS forwarding.
The configuration of this command takes effect only on new LDP sessions. To apply the configuration to existing LDP sessions, you must reset the LDP sessions by using the reset mpls ldp command.
Examples
# Enable GR for LDP.
<Sysname> system-view [Sysname] mpls ldp [Sysname-ldp] graceful-restart
Related commands
display mpls ldp parameter
reset mpls ldp