Run the command set protocol 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 protocol ospf to remove this configuration.
Command Syntax
set protocol ospf [vrf <vrf-name>]
delete protocol 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.
admin@XorPlus# set protocol ospf vrf vrf1