Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

graceful-restart (Protocols OSPF)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
graceful-restart {
    disable;
    helper-disable (standard | restart-signaling | both);
    no-strict-lsa-checking;
    notify-duration seconds;
    restart-duration seconds;
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols (ospf | ospf3)],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3)],
[edit protocols (ospf | ospf3)],
[edit routing-instances routing-instance-name protocols ospf]

Description

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.

Options

disable

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.

no-strict-lsa-checking

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.

Note:

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.

footer-navigation