E-series routers support OSPF graceful restart extensions as defined in RFC 3623 (Graceful OSPF Restart). Graceful restart enables a router to continue forwarding OSPF traffic based on routing information it receives prior to an unplanned restart, while the E-series router switches from the primary SRP to the secondary SRP module.
Graceful restart helps to avoid interruptions in traffic forwarding and network-wide route changes when a route processor restarts or switches over to a redundant route processor.
To accomplish OSPF graceful restart, communication must take place between the router that is restarting and its OSPF neighbors. These neighboring routers must cooperate with (or help) the restarting router by keeping it in the forwarding path while it is restarting.
The restarting router sends a grace LSA (a link-local LSA) to inform its neighbors that it is restarting. After receiving this grace LSA, the neighbors act as if the router still exists in the network topology and continue forwarding traffic through the restarting router (for the specified grace period as defined in the grace LSA). If the restarting router does not become fully adjacent with the helper router before the grace period expires, the helper abandons the helper role and determines its adjacency with the restarting router to be down. Also, based on your configuration, the helper can abandon a restart if it detects a topology change before the restart is complete.
After the router restarts, the restarting router purges the grace LSA from the OSPF domain.
To configure the router as a graceful restart helper, use the graceful restart helper commands. These commands include graceful-restart helper and graceful-restart helper-abort-topology-change.
To configure the router for a restart scenario, use the graceful restart commands. These commands include graceful-restart, graceful-restart notify-time, and graceful-restart restart-time.
![]() |
Note: Graceful restart mode is supported only for OSPFv2 routers. OSPF graceful restart helper mode is supported for both OSPFv2 and OSPFv3 routers. |
graceful-restart
- host1(config-router)#graceful-restart
graceful-restart helper
- host1(config-router)#graceful-restart helper
graceful-restart helper-abort-topology-change
- host1(config-router)#graceful-restart helper-abort-topology-change
any
graceful-restart notify-time
- host1(config-router)#graceful-restart notify-time
500
graceful-restart restart-time
- host1(config-router)#graceful-restart restart-time
350