OcNOS-RON : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : ip ospf network
ip ospf network
Use this command to set the OSPF network type.
Use the no parameter with this command to return to the default value.
Command Syntax
ip ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)
ip ospf network point-to-multipoint non-broadcast
no ip ospf network
Parameters
broadcast
Sets the network type to broadcast.
non-broadcast
Sets the network type to NBMA.
point-to-multipoint
 
Sets the network type to point-to-multipoint.
non-broadcast
 
Sets the network type to NBMA.
point-to-point
Sets the network type to point-to-point.
Default
By default, OSPF network type is broadcast
Command Mode
interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows setting the network to point-to-point type on the eth0 interface.
#configure terminal
(config)#interface eth0
(config-if)#ip ospf network point-to-point
Last modified date: 08/28/2023