Configure Graceful Restart
Graceful restart allows a router whose VPN control plane is undergoing a restart to continue to forward traffic while recovering its state from neighboring routers. Without graceful restart, a control plane restart disrupts any VPN services provided by the router. Graceful restart is supported on Layer 2 VPNs, Layer 3 VPNs, virtual-router routing instances, and VPLS.
To enable VPN graceful restart, include the
graceful-restartstatement:graceful-restart{disable;restart-durationtime-limit;}You can configure the
restart-durationoption at either the global or routing instance level. The routing instance value overrides the global value if both are configured.To configure the
graceful-restartstatement globally, include it at the following hierarchy levels:To configure the
graceful-restartstatement in the routing instance configuration, include it at the following hierarchy levels:
[edit routing-instancesrouting-instance-namerouting-options][edit logical-routerslogical-router-namerouting-instancesrouting-instance-namerouting-options]The
restart-durationoption sets the period of time the router waits for a graceful restart to complete. You can configure a time between 1 through 600 seconds. The default value is 300 seconds. At the end of the configured time period, the router performs a standard restart without recovering state from the neighboring routers. This disrupts VPN services, but is probably necessary if the router is not functioning normally.