Support Support Downloads Knowledge Base Juniper 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

[Junos] List of commands to check for GRES readiness



Article ID: KB32931 KB Last Updated: 03 Apr 2021Version: 2.0

Before performing manual Graceful Routing Engine Switchover (GRES) with Non-Stop Routing (NSR), it is recommended that several checks should be run to ensure that the primary and backup Routing Engines are in sync. This article provides the list of commands that can be used to run the required check, and explains the check that a particular command is running.


show system switchover

  • This command should be executed only on the backup Routing Engine. The command is not supported on the primary RE because the kernel-replication process daemon does not run on the primary RE. 

  • The command gives the overall health of GRES, whether it is configured or not, whether the management process (MGD) has synchronized configuration from the primary to the backup, whether the kernel has replicated any states in the last 5 seconds, and if the Packet Forwarding Engines (PFEs) are ready for GRES. 

Note: It is possible that the output shows the kernel state as “synchronizing.” This is perfectly fine even after the system is GRES ready. It just means that some states got replicated from the primary to the backup in the last 5 seconds. It may not be related to GRES readiness.

request chassis routing-engine master switch check

  • This command checks the GRES readiness state for the kernel synchronization process (ksyncd), the kernel, and the chassis process (chassisd).

  • For more information, see request chassis routing-engine master.

show task replication

  • This command checks for Routing Protocol Process (rpd) related replication.

  • For more information, see show task replication.

show database-replication summary

Note: This command is not needed when no subscriber management runs on the particular route.

Modification History:
2021-03-25: Updated the article terminology to align with Juniper's Inclusion & Diversity initiatives.

Related Links

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