set protocols ospf capability opaque
Run the command set protocols ospf capability opaque to enable the capability to generate Opaque LSAs in the OSPF process, allowing the OSPF process to generate Opaque LSAs and receive them from neighboring devices. 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 capability opaque can be used to remove this configuration.
Command Syntax
set protocols ospf [instance-id <instance-id>] [vrf<vrf-name>] capability opaque
delete protocols ospf [instance-id <instance-id>] [vrf <vrf-name>] capability opaque
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. |
Usage Guidelines
Opaque LSAs provide a generic mechanism for OSPF extensions, supporting the OSPF Graceful Restart (GR) feature through Type 9 LSAs. Therefore, before configuring OSPF GR, you must enable OSPF's Opaque LSA capability using this command.
Example
- Enable the capability to generate Opaque LSAs in the OSPF process.
admin@PICOS# set protocols ospf instance-id 1 capability opaque admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.