29-28
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 29 Configuring IP Unicast Routing
Configuring OSPF
An OSPF point-to-multipoint interface is defined as a numbered point-to-point interface with one or
more neighbors. On point-to-multipoint broadcast networks, specifying neighbors is optional. When you
configure an interface as point-to-multipoint when the media does not support broadcast, you should use
the neighbor command to identify neighbors.
Beginning in privileged EXEC mode, follow these steps to configure OSPF network type for an
interface:
Use the no form of the ip ospf network command to return to the default network type for the media.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Enter interface configuration mode, and specify the Layer 3 interface
to configure.
Step 3
ip ospf network {broadcast | non-broadcast
| {point-to-multipoint [non-broadcast] |
point-to-point}}
Configure the OSFP network type for the specified interface. Select
one of these network types:
•
broadcast—Specify an OSPF broadcast multi-access network.
•
non-broadcast—Specify an OSPF NBMA network.
•
point-to-multipoint—Specify an OSPF point-to-multipoint
network. If you do not enter another keyword, the interface is
point-to-multipoint for broadcast media.
•
point-to-multipoint non-broadcast—Specify an OSPF
nonbroadcast point-to-multipoint network.
•
point-to-point—Specify an OSPF point-to-point network.
Step 4
exit
Return to global configuration mode.
Step 5
router ospf process-id
(Optional for point-to-multipoint; required for point-to-multipoint
nonbroadcast) Configure an OSPF routing process and enter router
configuration mode.
Step 6
neighbor ip-address cost number
(Optional for point-to-multipoint; required for point-to-multipoint
nonbroadcast). Specify a configured OSPF neighbor and assign a
cost to the neighbor.
•
ip-address—Enter the interface IP address of the OSPF
neighbor.
•
cost number—Specify a cost for the neighbor as an integer from
1 to 65535.
Note
On point-to-multipoint broadcast networks, specifying a
neighbor is optional, but if you do specify a neighbor, you
must specify a cost for that neighbor.
On point-to-multipoint nonbroadcast neighbors, you must
specify a neighbor, but assigning a cost to the neighbor is
optional. If not specified, neighbors assume the cost of the
interface, based on the ip ospf cost interface configuration
command.
Step 7
end
Return to privileged EXEC mode.
Step 8
show ip ospf interface [interface-id]
Display OSPF-related interface information.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.