This article explains the behavior of OSPF dead timers on the EX8216 backup, when Graceful Routing Engine Switchover (GRES) and nonstop routing are enabled.
OSPF has been configured on two of the interfaces of EX8216. Nonstop routing and graceful switchover have also been configured on the switch. When a Primary switchover is performed and the backup occurs, the OSPF dead timer displays 0 .
This is the default behavior of EX8200 switches; even when nonstop routing is enabled. After landing in the Backup, you should logon to the primary again; as all of the daemons run on the primary and not the Backup.
{BACKUP.EN_US}[edit system] root@BK # run show ospf neighbor detail Address Interface State ID Pri Dead 10.0.0.1 ge-2/0/0.0 Full 10.0.0.1 128 0 Area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0 Up 00:23:18, adjacent 00:23:14 20.0.0.1 ge-2/0/2.0 Full 10.0.0.1 128 0 Area 0.0.0.0, opt 0x42, DR 0.0.0.0, BDR 0.0.0.0 Up 00:22:29, adjacent 00:22:29 {BACKUP.EN_US} root@BK # run show ospf neighbor Address Interface State ID Pri Dead 10.0.0.1 ge-2/0/0.0 Full 10.0.0.1 128 0 20.0.0.1 ge-2/0/2.0 Full 10.0.0.1 128 0 {BACKUP.EN_US}[edit chassis] root@BK # show redundancy { graceful-switchover; } {BACKUP.EN_US}[edit] root@BK # show routing-options nonstop-routing; } {BACKUP.EN_US}[edit] root@BK # run request chassis routing-engine master switch Toggle mastership between routing engines ? [yes,no] (no) yes Resolving mastership... Complete. The local routing engine becomes the master. {MASTER}[edit] root@BK # run show ospf ne neighbor Address Interface State ID Pri Dead 10.0.0.1 ge-2/0/0.0 Full 10.0.0.1 128 38 20.0.0.1 ge-2/0/2.0 Full 10.0.0.1 128 37 {MASTER}[edit] root@BK # run show ospf neighbor Address Interface State ID Pri Dead 10.0.0.1 ge-2/0/0.0 Full 10.0.0.1 128 39 20.0.0.1 ge-2/0/2.0 Full 10.0.0.1 128 37 {MASTER}[edit] root@BK # run show ospf neighbor Address Interface State ID Pri Dead 10.0.0.1 ge-2/0/0.0 Full 10.0.0.1 128 36 20.0.0.1 ge-2/0/2.0 Full 10.0.0.1 128 34 {MASTER}[edit] root@BK # run show version invoke-on all-routing-engines re0: Hostname: BK Model: ex8216 JUNOS Base OS boot [10.4R2.6] JUNOS Base OS Software Suite [10.4R2.6] JUNOS Kernel Software Suite [10.4R2.6] JUNOS Crypto Software Suite [10.4R2.6] JUNOS Online Documentation [10.4R2.6] JUNOS Enterprise Software Suite [10.4R2.6] LC JUNOS Installation Software [10.4R2.6] JUNOS Routing Software Suite [10.4R2.6] JUNOS Web Management [10.4R2.6] re1: Hostname: BK Model: ex8216 JUNOS Base OS boot [10.4R2.6] JUNOS Base OS Software Suite [10.4R2.6] JUNOS Kernel Software Suite [10.4R2.6] JUNOS Crypto Software Suite [10.4R2.6] JUNOS Online Documentation [10.4R2.6 JUNOS Enterprise Software Suite [10.4R2.6] LC JUNOS Installation Software [10.4R2.6] JUNOS Routing Software Suite [10.4R2.6] JUNOS Web Management [10.4R2.6] {MASTER}[edit] root@BK # run show version Hostname: BK Model: ex8216 JUNOS Base OS boot [10.4R2.6] JUNOS Base OS Software Suite [10.4R2.6] JUNOS Kernel Software Suite [10.4R2.6] JUNOS Crypto Software Suite [10.4R2.6] JUNOS Online Documentation [10.4R2.6] JUNOS Enterprise Software Suite [10.4R2.6] LC JUNOS Installation Software [10.4R2.6] JUNOS Routing Software Suite [10.4R2.6] JUNOS Web Management [10.4R2.6]
2021-03-25: Updated the article terminology to align with Juniper's Inclusion & Diversity initiatives.