Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    graceful-restart (Enabling Globally)


    Hierarchy Level

    [edit logical-systems logical-system-name routing-options],[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options],[edit routing-options],[edit routing-instances routing-instance-name routing-options]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Statement introduced in Junos OS Release 12.1 for the QFX Series.

    Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.


    Configure graceful restart globally to enable the feature. You cannot enable graceful restart for specific protocols unless graceful restart is also enabled globally. You can, optionally, modify the global settings at the individual protocol level.


    • For VPNs, the graceful-restart statement allows a router whose VPN control plane is undergoing a restart to continue to forward traffic while recovering its state from neighboring routers.
    • For BGP, if you configure graceful restart after a BGP session has been established, the BGP session restarts and the peers negotiate graceful restart capabilities.
    • LDP sessions flap when graceful-restart configurations change.


    Graceful restart is disabled by default.


    The remaining statements are explained separately.

    Required Privilege Level

    routing—To view this statement in the configuration.

    routing-control—To add this statement to the configuration.

    Modified: 2016-06-13