Run the command set protocols ospf interface network to enable OSPF on an interface and specify a network type. Enabling OSPF on an interface allows the interface to send and receive LSAs. Four different network types can be specified here namely, broadcast, non-broadcast, point-to-multipoint and point-to-point.
To delete this configuration, run the command delete protocols ospf interface network
set protocols ospf interface <vlan-interface> network <broadcast|non-broadcast|point-to-multipoint|point-to-point>
delete protocols ospf interface <vlan-interface> network <broadcast|non-broadcast|point-to-multipoint|point-to-point>
Specifies the name of the interface. The value is a string.
|broadcast||Specifies the OSPF broadcast multi-access network.|
|non-broadcast||Specifies the OSPF NBMA network.|
|point-to-multipoint||Specifies the OSPF point-to-multipoint network.|
|point-to-point||Specifies the OSPF point-to-point network.|
- Enable OSPF on interface vlan200 and specify network type as point-to-point.