9-16
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 9 Configuring IP Routing
Configuring OSPF
hostname(config-router)#
summary-address 10.1.0.0 255.255.0.0
Defining Static OSPF Neighbors
You need to define static OSPF neighbors to advertise OSPF routes over a point-to-point, non-broadcast
network. This lets you broadcast OSPF advertisements across an existing VPN connection without
having to encapsulate the advertisements in a GRE tunnel.
To define a static OSPF neighbor, perform the following tasks:
Step 1
Create a static route to the OSPF neighbor. See the
“Configuring Static and Default Routes” section on
page 9-1
for more information about creating static routes.
Step 2
Define the OSPF neighbor by performing the following tasks:
a.
Enter router configuration mode for the OSPF process. Enter the following command:
hostname(config)#
router ospf
pid
b.
Define the OSPF neighbor by entering the following command:
hostname(config-router)#
neighbor
addr
[
interface
if_name
]
The
addr
argument is the IP address of the OSPF neighbor. The
if_name
is the interface used to
communicate with the neighbor. If the OSPF neighbor is not on the same network as any of the
directly-connected interfaces, you must specify the
interface
.
Generating a Default Route
You can force an autonomous system boundary router to generate a default route into an OSPF routing
domain. Whenever you specifically configure redistribution of routes into an OSPF routing domain, the
router automatically becomes an autonomous system boundary router. However, an autonomous system
boundary router does not by default generate a default route into the OSPF routing domain.
To generate a default route, perform the following steps:
Step 1
If you have not already done so, enter the router configuration mode for the OSPF process you want to
configure by entering the following command:
hostname(config)#
router ospf
process_id
Step 2
To force the autonomous system boundary router to generate a default route, enter the following
command:
hostname(config-router)#
default-information originate
[
always
] [
metric
metric-value
]
[
metric-type
{
1
|
2
}] [
route-map
map-name
]
The following example shows how to generate a default route:
hostname(config)#
router ospf 2
hostname(config-router)#
default-information originate always
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......