Name
ip ospf network — interface
Synopsis
ip ospf network {broadcast | non-broadcast | point-to-multipoint} no ip ospf network
Configures
The type of OSPF network
Default
Depends on the interface type
Description
Given the interface’s type, the OSPF process selects a default network type. This command allows the default network type to be changed.
-
broadcast
The interface is connected to a broadcast network.
-
non-broadcast
The interface is connected to a nonbroadcast network, i.e., a network with no effective way of dealing with broadcast packets. One example is a point-to-point network.
-
point-to-multipoint
The interface is connected to a point-to-multipoint network.
Example
By default, a serial interface is point-to-point. The following commands configure a serial subinterface as part of a broadcast network:
interface serial0.1 ip ospf network broadcast
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.