set protocols ospf6 graceful-restart enable
Run the command set protocols ospf6 graceful-restart enable to enable the OSPFv3 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. By default, OSPF GR capability is disabled.
Optional parameter instance-id can be included to specify the OSPFv3 multi-instance ID in the default VRF.
Multiple instances of OSPFv3 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 ospf6 graceful-restart enable can be used to remove this configuration.
Command Syntax
set protocols ospf6 [instance-id <instance-id>] [vrf<vrf-name>] graceful-restart enable <true | false>
delete protocols ospf6 [instance-id <instance-id>] [vrf <vrf-name>] graceful-restart enable
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. |
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 OSPFv3 GR functionality on the restarting device by executing this command.
Example
- Enable OSPFv3 Graceful Restart (GR) capability on the restarting device.
admin@PICOS# set protocols ospf6 instance-id 1 graceful-restart enable true admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.