ip ospf network

Use this command to specify the network type for this interface.

Syntax

ip ospf network {non-broadcast | broadcast | point-to-point | point-to-multipoint}
no ip ospf network

Parameters

non-broadcast Specifies this interface is connected to a non-broadcast network.
broadcast Specifies this interface is connected to a broadcast network.
point-to-point Specifies this interface is connected to a point-to-point network.
point-to-multipoint Specifies this interface is connected to a point-to-multipoint network.

Defaults

None.

Mode

Configuration command, Interface configuration.

Usage

Broadcast is the default interface network type.

The “no” form of this command resets the network type for this interface to the default.

Example

This example shows how to specify that VLAN 1 is connected to a point-to-point network:

System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip ospf network point-to-point
System(rw-config-intf-vlan.0.1)->