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
Содержание 500 Series
Страница 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Страница 45: ...P A R T 1 Getting Started and General Information ...
Страница 46: ......
Страница 277: ...P A R T 2 Configuring the Firewall ...
Страница 278: ......
Страница 354: ...17 38 Cisco Security Appliance Command Line Configuration Guide OL 12172 03 Chapter 17 Configuring NAT NAT Examples ...
Страница 561: ...P A R T 3 Configuring VPN ...
Страница 562: ......
Страница 891: ...P A R T 4 System Administration ...
Страница 892: ......
Страница 975: ...P A R T 5 Reference ...
Страница 976: ......