Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the command set protocol protocols ospf network area to configure OSPF instance for the IP subnet prefix with an area address per network. The optional parameter vrf can be used to specify OSFPv2 OSFP instance for a particular VRF. If VRF is not defined then OSPFv2 OSPF instance takes effect for the default VRF.

Run the command delete protocol protocols ospf network area to delete this configuration.


Command Syntax

set protocol protocols ospf [vrf <vrf-name>] network <ipv4/prefixlen> area {<ipv4>|<0-4294967295>}

delete protocol protocols ospf [vrf <vrf-name>] network <ipv4/prefixlen> area {<ipv4>|<0-4294967295>}


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

network <ipv4/prefixlen>Specifies the network prefix and prefix length in IPv4 format.
area {<ipv4>|<0-4294967295>}Specify OSPF area, the value could be in IPv4 dotted decimal format or an integer ranging from 0 to 4294967295.


Example

  •  Enable OSPF for network 10.0.0.0/16 in VRF BLUE and specify area 1.1.1.1.

...