The run graceful-restart prepare ospf command is a operational command that the restarting router advertises Graceful Restart (GR) LSAs into the OSPF domain, informing its neighbors about its restarting process and the estimated time for the restart to complete. These LSAs are Type 9 LSAs and are flooded throughout the OSPF domain.
The OSPF protocol should be restarted during the grace period, otherwise the graceful restart will fail.
To perform a graceful shutdown, this operational command needs to be issued before restarting the OSPF protocol.
After executing the run graceful-restart prepare ospf command, the system will be in a waiting state for the OSPF protocol to restart. Users are not allowed to perform any OSPF configuration until the OSPF protocol restart is completed.
Command Syntax
run graceful-restart prepare ospf
Parameters
None.
Example
- Configure to let the restarting router advertises Graceful Restart (GR) LSAs into the OSPF domain.
admin@Xorplus# run graceful-restart prepare ospf