24-4
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter24 Configuring OSPF
Customizing OSPF
Detailed Steps
Customizing OSPF
This section explains how to customize the OSPF process and includes the following topics:
Redistributing Routes Into OSPF, page24-4
Configuring Route Summarization When Redistributing Routes Into OSPF, page24-6
Configuring Route Summarization Between OSPF Areas, page24-7
Configuring OSPF Interface Parameters, page24-8
Configuring OSPF Area Parameters, page24-10
Configuring OSPF NSSA, page24-11
Defining Static OSPF Neighbors, page24-12
Configuring Route Calculation Timers, page24-13
Logging Neighbors Going Up or Down, page24-13

Redistributing Routes Into OSPF

The ASA can control the redistribution of routes between OSPF routing processes.
Note If you want to redistribute a route by defining which of the routes from the specified routing protocol are
allowed to be redistributed into the target routing process, you must first generate a default route. See
the “Configuring Static and Default Routes” section on page22-2, and then define a route map according
to the “Defining a Route Map” section on page23-4.
To redistribute static, connected, RIP, or OSPF routes into an OSPF process, perform the following steps:
Command Purpose
Step1 router ospf process_id
Example:
hostname(config)# router ospf 2
Creates an OSPF routing process and enters router configuration
mode for this OSPF process.
The process_id argument is an internally used identifier for this
routing process and can be any positive integer. This ID does not
have to match the ID on any other device; it is for internal use
only. You can use a maximum of two processes.
If there is only one OSPF process enabled on the ASA, then that
process is selected by default. You cannot change the OSPF
process ID when editing an existing area.
Step2 network ip_address mask area area_id
Example:
hostname(config)# router ospf 2
hostname(config-router)# network 10.0.0.0
255.0.0.0 area 0
Defines the IP addresses on which OSPF runs and the area ID for
that interface.
When adding a new area, enter the area ID. You can specify the
area ID as either a decimal number or an IP address. Valid decimal
values range from 0-4294967295. You cannot change the area ID
when editing an existing area.