143
nonstandard: Enables non-IETF GR.
global: Enables global GR. In global GR mode, a GR process can be completed only when all GR
helpers exist. A GR process fails if a GR helper fails (for example, the interface connected to the GR
helper goes down). Without this keyword, this command enables partial GR. In partial GR mode, a GR
process can be completed if a GR helper exists.
planned-only: Enables planned only GR. Without this keyword, this command enables both planned GR
and unplanned GR.
Usage guidelines
GR includes planned GR and unplanned GR:
• Planned GR—Manually restart OSPF or perform an active/standby switchover. Before OSPF restart
or active/standby switchover, the GR restarter sends Grace-LSAs to GR helpers.
• Non-planned GR—OSPF restarts or an active/standby switchover occurs because of device failure.
Before OSPF restart or active/standby switchover, the GR restarter does not send Grace-LSAs to GR
helpers.
Before enabling IETF GR for OSPF, enable Opaque LSA advertisement and reception with the
opaque-capability enable command.
Before enabling non-IETF GR for OSPF, enable OSPF LLS with the enable link-local-signaling command
and OOB-Resynch with the enable out-of-band-resynchronization command.
If you do not provide the nonstandard or ietf keyword, the command enables non-IETF GR for OSPF.
OSPF GR and OSPF NSR are mutually exclusive, so do not configure the graceful-restart command and
the non-stop-routing command at the same time.
Examples
# Enable IETF GR for OSPF process 1.
<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] opaque-capability enable
[Sysname-ospf-1] graceful-restart ietf
# Enable non-IETF GR for OSPF process 1.
<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] enable link-local-signaling
[Sysname-ospf-1] enable out-of-band-resynchronization
[Sysname-ospf-1] graceful-restart nonstandard
Related commands
• enable link-local-signaling
• enable out-of-band-resynchronization
• opaque-capability enable
graceful-restart helper enable
Use graceful-restart helper enable to enable OSPF GR helper capability.
Use undo graceful-restart helper enable to disable OSPF GR helper capability.