Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


graceful-restart (Protocols OSPF)


Hierarchy Level


Configure graceful restart for OSPF.

Graceful restart allows a routing device to restart with minimal effects to the network, and is enabled for all routing protocols at the [edit routing-options] hierarchy level.



Disable graceful restart for OSPF.

helper-disable (standard | restart-signaling| both)

Disable helper mode for graceful restart. When helper mode is disabled, a device cannot help a neighboring device that is attempting to restart. Beginning with Junos OS Release 11.4, you can configure restart signaling-based helper mode for OSPFv2 graceful restart configurations. The last committed statement takes precedence over the previously configured statement.

  • standard disables helper mode for standard graceful restart (based on RFC 3623).

  • restart-signaling disables helper mode for restart signaling-based graceful restart (based on RFC 4811, RFC 4812, and RFC 4813).

  • both disables helper mode for both standard and restart signaling-based graceful restart.

Helper mode is enabled by default. For OSPFv2, both standard and restart-signaling based helper modes are enabled by default.


Disable strict OSPF link-state advertisement (LSA) checking to prevent the termination of graceful restart by a helping router. LSA checking is enabled by default.


The helper-disable statement and the no-strict-lsa-checking statement cannot be configured at the same time. If you attempt to configure both statements at the same time, the routing device displays a warning message when you enter the show protocols (ospf | ospf3) command.

notify-duration seconds

Estimated time needed to send out purged grace LSAs over all the interfaces. Range is 1 through 3600 seconds, and the default is 30 seconds.

restart-duration seconds

Estimated time needed to reacquire a full OSPF neighbor from each area. Range is 1 through 3600 seconds, and the default is 180 seconds.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

Support for the no-strict-lsa-checking statement introduced in Junos OS Release 8.5.

Support for the helper mode standard, restart-signaling, and both options introduced in Junos OS Release 11.4.