Administrator Guide

By default, OSPFv2 supports both planned and unplanned restarts. Selecting one or the other mode restricts OSPFv2 to the single
selected mode.
3 Congure the graceful restart role or roles that this OSPFv2 router performs.
CONFIG-ROUTEROSPF- id mode
graceful-restart role [helper-only | restart-only]
Dell Networking OS supports the following options:
Helper-only: the OSPFv2 router supports graceful-restart only as a helper router.
Restart-only: the OSPFv2 router supports graceful-restart only during unplanned restarts.
By default, OSPFv2 supports both restarting and helper roles. Selecting one or the other role restricts OSPFv2 to the single selected
role.
To disable OSPFv2 graceful-restart after you have enabled it, use the no graceful-restart grace-period command in CONFIG-
ROUTEROSPF- id mode. The command returns OSPF graceful-restart to its default state.
NOTE: The Helper mode is enabled by default on the device. To enable the restart mode also on the device, you must congure
the grace period using the graceful-restart grace-period command. After you enable restart mode the router
advertises the neighbor as fully adjacent during a restart.
For more information about OSPF graceful restart, refer to the
Dell Networking OS Command Line Reference Guide.
Example of the show run ospf Command
When you congure a graceful restart on an OSPFv2 router, the show run ospf command displays information similar to the following.
Dell#show run ospf
!
router ospf 1
graceful-restart grace-period 300
graceful-restart role helper-only
graceful-restart mode unplanned-only
graceful-restart helper-reject 10.1.1.1
graceful-restart helper-reject 20.1.1.1
network 10.0.2.0/24 area 0
Dell#
Displaying Graceful Restart
To display information on the use and conguration of OSPFv3 graceful restart, enter any of the following commands.
Display the graceful-restart conguration for OSPFv2 and OSPFv3 (shown in the following example).
EXEC Privilege mode
show run ospf
Display the Type-11 Grace LSAs sent and received on an OSPFv3 router (shown in the following example).
EXEC Privilege mode
show ipv6 ospf [vrf vrf-name] database grace-lsa
Display the currently congured OSPFv3 parameters for graceful restart (shown in the following example).
EXEC Privilege mode
show ipv6 ospf database [vrf vrf-name] database-summary
Examples of the Graceful Restart show Commands
The following example shows the show run ospf command.
Dell#show run ospf
!
654
Open Shortest Path First (OSPFv2)