The run graceful-restart prepare ospf command initiates a graceful restart for all OSPF instances configured with the “set protocols ospf [instance-id <instance-id>] [vrf<vrf-name>] graceful-restart enable true” command. The ospfd daemon should be restarted during the instance-specific The run graceful-restart prepare ospf6 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 ospfd daemonthe OSPF protocol.
Info |
---|
|
Command Syntax
run graceful-restart prepare ospfospf6
Parameters
None.
Example
- Initiate a graceful restart for all OSPF instances Configure to let the restarting router advertises Graceful Restart (GR) LSAs into the OSPF domain.
Code Block |
---|
admin@Xorplus# run graceful-restart prepare ospf ospf6 OSPFv3 Routing Process (0) with Router-ID 2.2.2.2 Graceful restart helper support disabled. Strict LSA check is enabled. Helper supported for Planned and Unplanned Restarts. Supported Graceful restart interval: 1800(in seconds). |