If you disable OSPFv2 graceful restart (GR), you can re-enable it. You can also change the maximum restart wait time from the default value of 120 seconds.
Note
GR is mutually exclusive to NSR.device# configure terminal
device(config)# router ospf
device(config-router-ospf-vrf-default-vrf)# graceful-restart
device(config-router-ospf-vrf-default-vrf)# graceful-restart restart-time 240
The following example re-enables GR and changes the maximum restart wait time from the default value of 120 seconds to 240 seconds.
device# configure terminal device(config)# router ospf device(config-router-ospf-vrf-default-vrf)# graceful-restart device(config-router-ospf-vrf-default-vrf)# graceful-restart restart-time 240