Cisco Catalyst 6500 Series Configuration Manual page 130

Catalyst 6500 series switch and cisco 7600 series router firewall services
Hide thumbs Also See for Catalyst 6500 Series:
Table of Contents

Advertisement

Configuring OSPF
Redistributing Static, Connected, or OSPF Routes to an OSPF Process
Single context mode only
Routed firewall mode only
To redistribute static, connected, or OSPF routes from one process into another OSPF process, follow
these steps:
If you have not already done so, enter the router configuration mode for the OSPF process you want to
Step 1
redistribute into by entering the following command:
FWSM(config)# router ospf process_id
To specify the routes you want to redistribute, enter the following command:
Step 2
FWSM(config-router)# redistribute {ospf process_id | static | connect}
[match {internal | external 1 | external 2}] [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 redistributes routes from OSPF process 1 into OSPF process 2 by matching
routes with a metric equal to 1. The FWSM redistributes these routes as external link-state
advertisements (LSAs) with a metric of 5, metric type of Type 1, and a tag equal to 1.
FWSM(config)# route-map 1-to-2 permit
FWSM(config-route-map)# match metric 1
FWSM(config-route-map)# set metric 5
FWSM(config-route-map)# set metric-type type-1
FWSM(config-route-map)# set tag 1
FWSM(config-route-map)# router ospf 2
FWSM(config-router)# redistribute ospf 1 route-map 1-to-2
The following example causes the specified OSPF process routes to be redistributed into OSPF
process 109. The OSPF metric is remapped to 100.
FWSM(config)# router ospf 109
FWSM(config-router)# redistribute ospf 108 metric 100 subnets
FWSM(config-router)# redistribute static 108 metric 100 subnets
In the following example, 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.
FWSM(config)# router ospf 1
FWSM(config-router)# redistribute ospf 2 metric 5 metric-type external
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
8-8
Chapter 8
Configuring IP Addresses, Routing, and DHCP
OL-6392-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents