Supported Platforms
Related Documentation
- EX, M, MX, PTX, T Series, QFX Series standalone switches
- Nonstop Active Routing System Requirements
- EX, M, PTX, T Series
- Configuring Nonstop Active Routing
- EX Series, QFX Series standalone switches
- Configuring Nonstop Active Routing on Switches
- M, MX, PTX, T Series
- Understanding High Availability Features on Juniper Networks Routers
Nonstop Active Routing Concepts
Nonstop active routing (NSR) uses the same infrastructure as graceful Routing Engine switchover (GRES) to preserve interface and kernel information. However, nonstop active routing also saves routing protocol information by running the routing protocol process (rpd) on the backup Routing Engine. By saving this additional information, nonstop active routing is self-contained and does not rely on helper routers (or switches) to assist the routing platform in restoring routing protocol information. Nonstop active routing is advantageous in networks where neighbor routers (or switches) do not support graceful restart protocol extensions. As a result of this enhanced functionality, nonstop active routing is a natural replacement for graceful restart.
![]() | Note: To use nonstop active routing, you must first enable graceful Routing Engine switchover on your routing (or switching) platform. For more information about graceful Routing Engine switchover, see Understanding Graceful Routing Engine Switchover in the Junos OS. |
![]() | Note: Due to its synchronization requirements and logic, NSR/GRES performance is limited by the slowest Routing Engine in the system. |
Figure 1 shows the system architecture of nonstop active routing and the process a routing (or switching) platform follows to prepare for a switchover.
Figure 1: Nonstop Active Routing Switchover Preparation Process

The switchover preparation process for nonstop active routing follows these steps:
- The master Routing Engine starts.
- The routing (or switching) platform processes on the master Routing Engine (such as the chassis process [chassisd] and the routing protocol process [rpd]) start.
- The Packet Forwarding Engine starts and connects to the master Routing Engine.
- All state information is updated in the system.
- The backup Routing Engine starts, including the chassis process (chassisd) and the routing protocol process (rpd).
- The system determines whether graceful Routing Engine switchover and nonstop active routing have been enabled.
- The kernel synchronization process (ksyncd) synchronizes the backup Routing Engine with the master Routing Engine.
- For supported protocols, state information is updated directly between the routing protocol processes on the master and backup Routing Engines.
Figure 2 shows the effects of a switchover on the routing platform.
Figure 2: Nonstop Active Routing During a Switchover

The switchover process follows these steps:
- When keepalives from the master Routing Engine are lost, the system switches over gracefully to the backup Routing Engine.
- The Packet Forwarding Engine connects to the backup Routing Engine, which becomes the new master. Because the routing protocol process (rpd) and chassis process (chassisd) are already running, these processes do not need to restart.
- State information learned from the point of the switchover is updated in the system. Forwarding and routing are continued during the switchover, resulting in minimal packet loss.
- Peer routers (or switches) continue to interact with the routing platform as if no change had occurred. Routing adjacencies and session state relying on underlying routing information are preserved and not reset.
![]() | Caution: We recommend that you do not restart Routing Protocol Process (rpd) on master Routing Engine after enabling nonstop active routing, as it disrupts the protocol adjacency/peering sessions, resulting in traffic loss. |
Related Documentation
- EX, M, MX, PTX, T Series, QFX Series standalone switches
- Nonstop Active Routing System Requirements
- EX, M, PTX, T Series
- Configuring Nonstop Active Routing
- EX Series, QFX Series standalone switches
- Configuring Nonstop Active Routing on Switches
- M, MX, PTX, T Series
- Understanding High Availability Features on Juniper Networks Routers
Modified: 2015-07-08
Supported Platforms
Related Documentation
- EX, M, MX, PTX, T Series, QFX Series standalone switches
- Nonstop Active Routing System Requirements
- EX, M, PTX, T Series
- Configuring Nonstop Active Routing
- EX Series, QFX Series standalone switches
- Configuring Nonstop Active Routing on Switches
- M, MX, PTX, T Series
- Understanding High Availability Features on Juniper Networks Routers