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