Run the command set protocols ospf interface vif 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 vif network
Command Syntax
set protocol ospf interface <vlan-interface> vif <vlan-interface> network {broadcast|non-broadcast|point-to-multipoint|point-to-point}
delete protocol ospf interface <vlan-interface> vif <vlan-interface> network {broadcast|non-broadcast|point-to-multipoint|point-to-point}
Parameter
Parameter | Description |
interface <vlan-interface> | Specifies the name of the interface. |
vif <vlan-interface> | Specifies the VIF interface name. |
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. |
Example
- Enable OSPF on interface vlan200 and specify network type as point-to-point.
admin@XorPlus# set protocols ospf interface vlan200 vif vlan200 network point-to-point admin@Xorplus# commit