Configuring OSPF and OSPFv3 979
Configuring NSF Settings for OSPF 
Beginning in Privileged EXEC mode, use the following commands to 
configure the non-stop forwarding settings for OSPF.
exit Exit to Global Config mode.
exit Exit to Privileged EXEC mode.
show ip ospf View OSPF configuration and status information, 
including route distribution information.
Command Purpose
configure Enter global configuration mode.
router ospf Enter OSPF configuration mode.
nsf [ietf ] helper strict-lsa-
checking
Require that an OSPF helpful neighbor exit helper mode 
whenever a topology change occurs. Use the ietf keyword 
to distinguish the IETF standard implementation of 
graceful restart from other implementations. 
nsf [ietf ] restart-interval 
seconds
Configure the length of the grace period on the restarting 
router. 
The 
seconds 
keyword is the number of seconds that the 
restarting router asks its neighbors to wait before exiting 
helper mode.  The restarting router includes the restart 
interval in its grace LSAs (range 1–1800 seconds)
nsf helper [planned-only] Allow OSPF to act as a helpful neighbor for a restarting 
router. Include the planned-only keyword to indicate 
that OSPF should only help a restarting router 
performing a planned restart.
Command Purpose