9-7
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 9 Configuring IP Routing
Configuring OSPF
If you specify more than one interface, then the route can match either interface.
•
To match any routes that have been advertised by routers that match a standard ACL, enter the
following command:
hostname(config-route-map)#
match
ip route-source
acl_id
[
acl_id
] [...]
If you specify more than one ACL, then the route can match any of the ACLs.
•
To match the route type, enter the following command:
hostname(config-route-map)#
match
route-type
{
internal
|
external
[
type-1
|
type-2
]}
Step 3
Enter one or more
set
commands.
If a route matches the
match
commands, then the following
set
commands determine the action to
perform on the route before redistributing it.
•
To set the metric, enter the following command:
hostname(config-route-map)#
set metric
metric_value
The
metric_value
can be a value between 0 and 294967295
•
To set the metric type, enter the following command:
hostname(config-route-map)#
set metric-type
{
type-1
|
type-2
}
The following example shows how to redistribute routes with a hop count equal to 1 into OSPF. The
security appliance redistributes these routes as external LSAs with a metric of 5, metric type of Type 1,
and a tag equal to 1.
hostname(config)#
route-map 1-to-2 permit
hostname(config-route-map)#
match metric 1
hostname(config-route-map)#
set metric 5
hostname(config-route-map)#
set metric-type type-1
Configuring OSPF
This section describes how to configure OSPF. This section includes the following topics:
•
OSPF Overview, page 9-8
•
Enabling OSPF, page 9-8
•
Redistributing Routes Into OSPF, page 9-9
•
Configuring OSPF Interface Parameters, page 9-10
•
Configuring OSPF Area Parameters, page 9-13
•
Configuring OSPF NSSA, page 9-13
•
Defining Static OSPF Neighbors, page 9-16
•
Configuring Route Summarization Between OSPF Areas, page 9-15
•
Configuring Route Summarization When Redistributing Routes into OSPF, page 9-15
•
Generating a Default Route, page 9-16
•
Configuring Route Calculation Timers, page 9-17
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: ......