Defining Static Ospf Neighbors; Generating A Default Route - Cisco PIX 500 Series Configuration Manual

Security appliance command line
Hide thumbs Also See for PIX 500 Series:
Table of Contents

Advertisement

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:
Create a static route to the OSPF neighbor. See the
Step 1
page 9-1
Define the OSPF neighbor by performing the following tasks:
Step 2
a.
b.

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
Cisco Security Appliance Command Line Configuration Guide
9-16
for more information about creating static routes.
Enter router configuration mode for the OSPF process. Enter the following command:
hostname(config)# router ospf pid
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.
Chapter 9
"Configuring Static and Default Routes" section on
Configuring IP Routing
OL-12172-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asa 5500 series

Table of Contents