Redistributing Routes Between Ospf Processes - Cisco 7604 Configuration Manual

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 8
Configuring IP Routing and DHCP Services
hostname(config-router)# network 10.0.0.0 255.0.0.0 area 0

Redistributing Routes Between OSPF Processes

The FWSM can control the redistribution of routes between OSPF routing processes. The FWSM
matches and changes routes according to settings in the redistribute command or by using a route map.
See also the
Note: The maximum number of route entries for all types of routes (connected, static and dynamic)
Note
supported by FWSM is 32768, or 32K.
To redistribute static, connected, or OSPF routes from one process into another OSPF process, perform
the following steps:
To create a route map, see the
Step 1
If you have not already done so, enter the router configuration mode for the OSPF process you want to
Step 2
redistribute into by entering the following command:
hostname(config)# router ospf process_id
To specify the routes you want to redistribute, enter the following command:
Step 3
hostname(config-router)# redistribute {ospf process_id
[match {internal | external 1 | external 2}] | static | connect} [metric metric-value]
[metric-type {type-1 | type-2}] [tag tag_value] [subnets] [route-map map_name]
The ospf process_id, static, and connect keywords specify from where you want to redistribute routes.
You can either use the options in this command to match and set route properties, or you can use a route
map. The tag and subnets options do not have equivalents in the route-map command. If you use both
a route map and options in the redistribute command, then they must match.
The following example shows route redistribution from OSPF process 1 into OSPF process 2 by
matching routes with a metric equal to 1. The FWSM 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
hostname(config-route-map)# set tag 1
hostname(config-route-map)# router ospf 2
hostname(config-router)# redistribute ospf 1 route-map 1-to-2
The following example shows the specified OSPF process routes being redistributed into OSPF
process 109. The OSPF metric is remapped to 100.
hostname(config)# router ospf 109
hostname(config-router)# redistribute ospf 108 metric 100 subnets
The following example shows route redistribution where the link-state cost is specified as 5 and the
metric type is set to external, indicating that it has lower priority than internal metrics.
hostname(config)# router ospf 1
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
"Generating a Default Route" section on page 8-18
"Defining a Route Map" section on page
Configuring OSPF
for another use for route maps.
8-5.
8-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents