O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ip ospf network — interface

Synopsis

ip ospf network {broadcast | non-broadcast | point-to-multipoint |
point-to-point}
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.

point-to-point

The interface is connected to a point-to-point 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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required