1166 Configuring OSPF and OSPFv3
Configuring NSF Settings for OSPF

Beginning in Privileged EXEC mode, use the following commands to

configure the non-stop forwarding settings for OSPF.

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 keywo rd
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.
nsf [ietf] [planned-only] Enable a graceful restart of OSPF.
ietf
— This keyword is used to distinguish the IETF
standard implementation of graceful restart from other
implementations. Since the IETF implementation is
the only one supported, this keyword is optional.
planned-only
— This keyword indicates that OSPF
should only perform a graceful restart when the restart is
planned (i.e., when the restart is a result of the initiate
failover command).