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 protocols ospf interface <vlan-interface> area {<ipv4>|<area-id>}
delete protocol protocols ospf interface <vlan-interface> area {<ipv4>|<area-id>}
Parameters
interface <vlan-interface> | Specifies the VLAN interface name. |
area {<ipv4>|<area-id>} | Specifies the OSPF area in IPv4 format or an integer in the range of 0 to 4294967295. |
...