831
Configuring IP Unicast Routing
Configuring OSPF
DETAILED STEPS
Use the
no
form of the
ip ospf network
command to return to the default network type for the media.
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
interface
interface-id
Enter interface configuration mode, and specify the Layer 3
interface to configure.
3.
no shutdown
Enable the interface if necessary. By default, UNIs and ENIs
are disabled and NNIs are enabled.
4.
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.
5.
exit
Return to global configuration mode.
6.
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.
7.
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.
8.
end
Return to privileged EXEC mode.
9.
show ip ospf interface
[
interface-id
]
Display OSPF-related interface information.
10.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...