Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[MX/PTX] Does removing graceful restart and enabling non-stop routing in the same commit cause protocol adjacencies to drop?



Article ID: KB36571 KB Last Updated: 01 Apr 2021Version: 2.0

This article explains if there is any effect on protocol adjacencies when the graceful restart configuration is deleted and the non-stop routing configuration is applied in the same commit operation.


Graceful Restart (GR) and non-stop routing (NSR) are two different mechanisms that provide high availability on Juniper platforms.

Non-stop routing is applicable on systems with dual Routing Engines and when a Routing Engine goes down. Graceful Restart, on the other hand, deals with the entire router restarting and the related protocol convergence remaining hidden from the rest of the network with the assistance of a helper router.

Both are mutually exclusive and cannot be configured together on a device, which leads to the following questions:

  • Can we enable NSR and remove GR on the device in the same commit?
  • Will the commit go through?
  • Is there any impact on protocol adjacencies if the configuration change goes through?

If NSR with GR in place is applied, the commit will be rejected. However, in the same commit, you can disable GR and enable NSR.


delete routing-options graceful-restart
set routing-options nonstop-routing

Note: This change may cause existing protocol adjacencies to flap. For example, all BGP sessions will flap. Therefore, ensure that you make these changes during a planned Maintenance Window.

Further, the high availability mechanism that you would like to configure on the device will depend on the platform (if it supports and has dual RE or not) and what you want to achieve from the configuration.

Modification History:

2021-04-01: Added a note in the Solution section about existing protocol adjacencies flapping during the said change

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search