White Papers

Table Of Contents
When you configure a graceful restart on an OSPFv2 router, the show run ospf command displays information similar to the
following.
DellEMC#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
DellEMC#
Displaying Graceful Restart
To display information on the use and configuration of OSPFv3 graceful restart, enter any of the following commands.
Display the graceful-restart configuration 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 configured OSPFv3 parameters for graceful restart (shown in the following example).
EXEC Privilege mode
show ipv6 ospf database [vrf vrf-name] database-summary
The following example shows the show run ospf command.
DellEMC#show run ospf
!
router ospf 1
router-id 200.1.1.1
log-adjacency-changes
graceful-restart grace-period 180
network 20.1.1.0/24 area 0
network 30.1.1.0/24 area 0
!
ipv6 router ospf 1
log-adjacency-changes
graceful-restart grace-period 180
The following example shows the show ipv6 ospf database database-summary command.
DellEMC#show ipv6 ospf database database-summary
!
OSPFv3 Router with ID (200.1.1.1) (Process ID 1)
Process 1 database summary
Type Count/Status
Oper Status 1
Admin Status 1
Area Bdr Rtr Status 0
AS Bdr Rtr Status 1
AS Scope LSA Count 0
AS Scope LSA Cksum sum 0
Originate New LSAS 73
Rx New LSAS 114085
Ext LSA Count 0
Rte Max Eq Cost Paths 5
GR grace-period 180
GR mode planned and unplanned
Area 0 database summary
Type Count/Status
610
Open Shortest Path First (OSPFv2)