Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Run the command set protocol 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 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 network area to delete this configuration.


Command Syntax

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

delete protocol 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.
admin@XorPlus# set protocols ospf vrf BLUE network 10.0.0.0/16 area 1.1.1.1
admin@Xorplus# commit
  • No labels