Configures the network type for the interface. Point-to-point can support unnumbered links, which requires less processing by OSPF.
Network type is broadcast.
Interface subtype configuration mode
On a non-broadcast interface, the devices at either end of the interface must configure non-broadcast interface type and the neighbor IP address. There is no restriction on the number of devices sharing a non-broadcast interface.
To configure an OSPF interface as a non-broadcast interface, the feature must be enabled on a physical interface or a VE, following the ip ospf area statement, and then specify the IP address of the neighbor in the OSPF configuration. The non-broadcast interface configuration must be done on the OSPF devices at either end of the link.
The no form of the command removes the network-type configuration.
The following example configures an OSPFv2 point-to-point link on a specific OSPFv2 Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ip ospf network point-to-point
The following example configures an OSPFv2 broadcast link on a specific OSPFv2 Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ip ospf network broadcast