Configuring IP Routing
Figure 10-1 IP Routing Protocol Example Using OSPF
Enabling OSPF requires that you create an OSPF routing process, specify the range of IP addresses to
be associated with the routing process, and assign area IDs to be associated with that range.
Beginning in privileged EXEC mode, follow these steps to enable OSPF:
Command
Step 1
Router#configure terminal
Step 2
Router(config)# router ospf
process-id
Step 3
Router(config)# network address
wildcard-mask area area-id
Step 4
Router(config)# end
Step 5
Router# show ip protocols
Step 6
Router# copy running-config
startup-config
To terminate an OSPF routing process, use the no router ospf process-id global configuration command.
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
10-12
SONET/SDH
POS 0
Fast Ethernet 0
192.168.1.1/24
Purpose
Enters global configuration mode.
Enables OSPF routing, and enters router configuration mode.
The process ID is an internally used identification parameter
that is locally assigned and can be any positive integer. Each
OSPF routing process has a unique value.
Defines an interface on which OSPF runs and the area ID for
that interface. Use the wildcard-mask to use a single command
to define one or more multiple interfaces to be associated with
a specific OSPF area. The area ID can be a decimal value or an
IP address.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Chapter 10
OSPF Area
POS 0
Fast Ethernet 0
192.168.3.1/24
Configuring Networking Protocols
78-15224-02