Run the command set protocols ospf to configure an OSPFv2 instance. The optional parameter vrf can be used to specify OSFPv2 instance for a particular VRF. If VRF is not defined then OSPFv2 instance takes effect for the default VRF.
Run the command delete protocols ospf to remove this configuration.
Command Syntax
set protocols ospf [vrf <vrf-name>]
delete protocols ospf [vrf <vrf-name>]
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
Example
- Configure OSPFv2 instance for VRF vrf1.
Code Block |
---|
admin@XorPlus# set protocols ospf vrf vrf1 |