Run the command set protocols ospf graceful-restart grace-period to configure the maximum restart wait time. 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. |
grace-period <grace-period> | Enables OSPF Graceful Restart (GR) capability.Specifies the maximum restart wait time, in seconds, advertised to neighbors. The default value is 120 an integer that ranges from 1 through 1800 seconds. The configurable range of values is from 10 through 1800 default value is 120 seconds. |
Usage Guidelines
To avoid traffic interruption and route oscillation caused by failover events, you can enable OSPF GR functionality by executing this command.
Example
...
Example
- Configure the maximum restart wait time.
Code Block |
---|
admin@PICOS# set protocols ospf instance-id 1 gracefulgrace-restartperiod enable true300 admin@PICOS# commit |