To implement graceful restart for a Layer 2 VPN or Layer 3 VPN, perform the configuration tasks described in the following sections:
To configure graceful restart globally, include the graceful-restart statement at the [edit routing-options] hierarchy level. To configure the duration of the graceful restart period, include the restart-duration statement at the [edit routing-options graceful-restart] hierarchy level.
- [edit]
- routing-options {
-
- graceful-restart {
- disable;
- restart-duration seconds;
- }
- }
To disable graceful restart globally, include the disable statement at the [edit routing-options graceful-restart] hierarchy level.
For Layer 3 VPNs only, you must also configure graceful restart for all routing and MPLS-related protocols within a routing instance by including the graceful-restart statement at the [edit routing-instances instance-name routing-options] hierarchy level. Because you can configure multi-instance BGP and multi-instance LDP, graceful restart for a carrier-of-carriers scenario is supported. To configure the duration of the graceful restart period for the routing instance, include the restart-duration statement at the [edit routing-instances instance-name routing-options].
- [edit]
- routing-instances {
-
- instance-name {
-
- routing-options {
-
- graceful-restart {
- disable;
- restart-duration seconds;
- }
- }
- }
- }
You can disable graceful restart for individual protocols with the disable statement at the [edit routing-instances instance-name protocols protocol-name graceful-restart] hierarchy level.