Disabling OSPFv2 Graceful Restart

OSPFv2 graceful restart (GR) is enabled by default, and can be disabled on a routing device.
Note: GR is not supported for standalone devices.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router ospf command to enter OSPF router configuration mode and enable OSPFv2 globally.
    device(config)# router ospf
  3. Enter the no graceful restart command to disable GR on the device.
    device(config-ospf-router)# no graceful-restart

The following example disables GR.

device# configure terminal
device(config)# router ospf 
device(config-ospf-router)# no graceful-restart