Open Shortest Path First (OSPFv2 and OSPFv3) | 731
Enable OSPFv3 graceful restart
Graceful Restart for OSPFv3 is supported only on platform e
t
. Refer to Graceful Restart on page 700 
for more information on the feature.
By default, OSPFv3 graceful restart is disabled and functions only in a helper role to help restarting 
neighbor routers in their graceful restarts when it receives a Grace LSA. 
To enable OSPFv3 graceful restart, you must enter the 
ipv6 router ospf process-id command to enter 
OSPFv3 configuration mode and then configure a grace period using the 
graceful-restart grace-period 
command. The grace period is the length of time that OSPFv3 neighbors continue to advertise the 
restarting router as though it is fully adjacent. When graceful restart is enabled (restarting role), an OSPFv3 
restarting expects its OSPFv3 neighbors to help when it restarts by not advertising the broken link.
When you enable the helper-reject role on an interface with the 
ipv6 ospf graceful-restart helper-reject 
command, you reconfigure OSPFv3 graceful restart to function in a “restarting-only” role. OSPFv3 does 
not participate in the graceful restart of a neighbor. (Note that you enter the 
ipv6 ospf graceful-restart 
helper-reject
 command in Interface configuration mode.)
To disable OSPFv3 graceful restart when it is enabled, enter the following command: 
Command Syntax Command Mode Usage
graceful-restart 
grace-period 
seconds
CONF-IPV6-ROUTE
R-OSPF
Enable OSPFv3 graceful restart globally by setting the grace 
period (in seconds). Valid values are from 40 to 1800 seconds. 
ipv6 ospf graceful-restart 
helper-reject
 
INTERFACE Configure an OSPFv3 interface to not act upon the Grace LSAs 
that it receives from a restarting OSPFv3 neighbor.
graceful-restart mode  
[planned-only | 
unplanned-only]
CONF-IPV6-ROUTE
R-OSPF
Specify the operating mode and type of events that trigger a 
graceful restart:
• Planned-only. The OSPFv3 router supports graceful restart 
only for planned restarts. A planned restart is when you 
manually enter a redundancy force-failover rpm command to 
force the primary RPM over to the secondary RPM. During a 
planned restart, OSPFv3 sends out a Grace LSA before the 
system switches over to the secondary RPM. OSPFv3 is 
notified that a planned restart is happening.
• Unplanned-only. The OSPFv3 router supports graceful-restart 
only for unplanned restarts. During an unplanned restart, 
OSPFv3 sends out a Grace LSA once the secondary RPM 
comes online.
Default: Both planned and unplanned restarts trigger an OSPFv3 
graceful restart. Selecting one or the other mode restricts OSPFv3 
to the single selected mode.
Command Syntax Command Mode Usage
no graceful-restart grace-period  
CONF-IPV6-ROUTE
R-OSPF
Disable OSPFv3 graceful-restart.