Run the command set protocols ospf graceful-restart enable to enable the OSPF Graceful Restart (GR) capability on the restarting device. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF.
...
Parameter | Description |
instance-id <instance-id> | Optional, specifies the OSPF instance ID. The value is an integer that ranges from 1 to 8. |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
true | Enables OSPF Graceful Restart (GR) capability. |
false | Disables OSPF Graceful Restart (GR) capability. |
Usage Guidelines
To avoid traffic interruption and route oscillation caused by failover events, you can enable OSPF GR functionality on the restarting device by executing this command.
Example
- Enable OSPF Graceful Restart (GR) capability on the restarting device.
...