24 ip ospf network – CANOGA PERKINS 9175 Command Reference User Manual
Page 230
CanogaOS Command Reference
15-21
15.24 ip ospf network
To configure the Open Shortest Path First (OSPF) network type to a type other than the default for a
given medium, use the ip ospf network command in interface configuration mode. To return to the
default value, use the no form of this command.
Command Syntax
ip ospf network {broadcast | non-broadcast | point-to-multipoint [non-broadcast] | point-to-point}
no ip ospf network
broadcast
Sets the network type to broadcast.
non-broadcast
Sets the network type to nonbroadcast multiaccess (NBMA).
point-to-multipoint [non-broadcast]
Sets the network type to point-to-multipoint. The optional
non-broadcast keyword sets the point-to-multipoint
network to be nonbroadcast. If you use the
non-broadcast keyword, the neighbor command is
required.
point-to-point
Sets the network type to point-to-point.
Default
Depends on the network type.
Command Mode
Interface configuration
Usage
Using this feature, you can configure broadcast networks as NBMA networks when, for example, routers
in your network do not support multicast addressing. You can also configure nonbroadcast multi-access
networks as broadcast networks. This feature saves you from needing to configure neighbors.
Configuring NBMA networks as either broadcast or nonbroadcast assumes that there are virtual circuits
from every router to every router or fully meshed networks. However, there are other configurations
where this assumption is not true. For example, a partially meshed network. In these cases, you can
configure the OSPF network type as a point-to-multipoint network. Routing between two routers that are
not directly connected will go through the router that has virtual circuits to both routers. You need not
configure neighbors when using this feature.
If this command is issued on an interface that does not allow it, this command will be ignored.
OSPF has two features related to point-to-multipoint networks. One feature applies to broadcast
networks; the other feature applies to nonbroadcast networks:
On point-to-multipoint, broadcast networks, you can use the neighbor command, and you must
specify a cost to that neighbor.
On point-to-multipoint, nonbroadcast networks, you must use the neighbor command to identify
neighbors. Assigning a cost to a neighbor is optional.
Examples
The following example sets your OSPF network as a non-broadcast network:
interface eth-0-1