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 »

To enable OSPF on an interface and assign the interface to an area, use the set protocols ospf interface vif area command in L2/L3 configuration mode. The interface will send and accept OSPF LSAs (link-state advertisements).

Run the command delete protocols ospf interface vif area to remove this configuration from the system.


Command Syntax

set protocol ospf interface <vlan-interface> vif <vlan-interface> area {<ipv4>|<0-4294967295>}

delete protocol ospf interface <vlan-interface> vif <vlan-interface> area {<ipv4>|<0-4294967295>}


Parameters

area <area-id>OSPF area identifier. The value is specified in the IPv4 dotted decimal format, e.g. 1.1.1.1.
interface <vlan-interface>Specifies the VLAN interface name.
vif <vlan-interface>Specifies the VLAN interface name.

area {<ipv4>|<0-4294967295>}

Specifies the OSPF area in IPv4 format or an integer in the range of 0 to 4294967295.

Example

  •  Enable OSPF on interface vlan200 and assign it to area 1.1.1.1.
admin@XorPlus# set protocols ospf interface vlan200 vif vlan200 area 1.1.1.1
admin@Xorplus# commit
  • No labels