set protocols ospf interface network

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


Command Syntax

set protocols ospf interface <interface-name> network <broadcast|non-broadcast|point-to-multipoint|point-to-point>

delete protocols ospf interface <interface-name> network <broadcast|non-broadcast|point-to-multipoint|point-to-point>


Parameter

Parameter

Description

interface <interface-name>Specifies the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name.
broadcastSpecifies the OSPF broadcast multi-access network.
non-broadcastSpecifies the OSPF NBMA network.
point-to-multipointSpecifies the OSPF point-to-multipoint network.
point-to-pointSpecifies 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 network point-to-point
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.