set protocols ospf graceful-restart grace-period

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.

Optional parameter instance-id can be included to specify the OSPFv2 multi-instance ID in the default VRF.

Multiple instances of OSPF are only allowed in the default VRF. A maximum of 8 instance can be configured in the default VRF. In non-default VRFs, only single instance OSPF can be configured.

The command delete protocols ospf graceful-restart grace-period can be used to remove this configuration.


Command Syntax

set protocols ospf [instance-id <instance-id>] [vrf<vrf-name>] grace-period <grace-period> 

delete protocols ospf [instance-id <instance-id>] [vrf <vrf-name>] grace-period


Parameter

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>Specifies the maximum restart wait time, in seconds, advertised to neighbors. The value is an integer that ranges from 1 through 1800 seconds. The default value is 120 seconds. 



Example

  •  Configure the maximum restart wait time.
admin@PICOS# set protocols ospf instance-id 1 grace-period 300
admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.