Disabling OSPFv2 graceful restart

OSPFv2 graceful restart (GR) is enabled by default, and can be disabled on a routing device.

Before you begin

About this task

Procedure

  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-router-ospf-vrf-default-vrf)# no graceful-restart

Example

The following example disables GR.

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