This article explains the reason for Routing Engine mastership switchover due to RPD process restart.
labroot@jtac-mx204-r2034> show chassis alarms
1 alarms currently active
Alarm time Class Description
2024-04-08 20:00:23 PDT Minor Backup RE Active
labroot@jtac-mx204-r2034> show chassis routing-engine
Routing Engine status:
...
Slot 0:
Current state Backup
Election priority Master (default)
Model RE-S-2000
Serial ID 9012040486
Start time 2024-04-30 13:52:11 PDT
Uptime 14 days, 21 hours, 36 minutes, 58 seconds
Last reboot reason Router rebooted after a normal shutdown.
Slot 1:
Current state Master
Election priority Backup (default)
Serial ID 9009155393
Start time 2018-07-12 02:03:44 PDT
Uptime 2134 days, 9 hours, 25 minutes, 37 seconds
With the switchover-on-routing-crash configuration statement enabled, when rpd on the primary Routing Engine crashes with NSR configured, the Routing Engine will switch over immediately to the backup Routing Engine to preserve protocol state and adjacencies. Prior to having this statement, if NSR was configured and rpd on the primary Routing Engine crashed, it would cause network impact (protocol neighbor and adjacency drops and traffic loss).
labroot@jtac-mx480-r2064-re0# show routing-options |display set | match nonstop-routing
set routing-options nonstop-routing
labroot@jtac-mx480-r2064-re0# show system switchover-on-routing-crash |display set
set system switchover-on-routing-crash