cc/td/doc/product/aggr/vpn5000/5000sw/conc52x/ref52x
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

IP Route Redistribution

IP Route Redistribution

This section sets global configuration parameters which allow the redistribution of routes from one dynamic IP routing protocol into another. This allows the RIP and OSPF protocols to co-exist and exchange routing information. Redistribution of static routes can be set using the IP Protocol Precedence section.

configure IP Route Redistribution

Usage Guidelines

Route redistribution is global to the device. For instance, if a router is running OSPF on WAN 0:0 and Ethernet 1:0 and RIP on Ethernet 2:0, setting the RIPtoOSPF keyword to On will cause the router to advertise its RIP routes to all its OSPF neighbors on WAN 0:0 and Ethernet 1:0. In order to exclude external advertisements into Ethernet 1:0 in this example, you would need to configure Ethernet 1:0 as an OSPF Stub Area using the OSPF Area section. Individual routes may be excluded from redistribution with IP Route Filters using the IP Route Filter section.

Keywords

After entering the configure command for the section, enter one or more of the following keywords.

OSPFRouteAggregation = {On | Off}

The OSPFRouteAggregation keyword sets whether static and RIP routes will be consolidated along class boundaries before they are advertised into OSPF. If the router has a split subnet coming into the device from different interfaces, OSPFRouteAggregation should be set to Off.

RIPToOSPF = True | False [{1 | 2} metric]

The RIPToOSPF keyword sets whether the router will redistribute RIP routes into the OSPF routing domain.

  • True | False. This parameter sets whether the router will redistribute RIP routes into OSPF.

  • {1 | 2} metric. This optional parameter allows the metric, or cost, on the two types of external OSPF routes to be incremented or decremented. The cost of a type 2 route is simply the external cost, regardless of the interior (i.e., within OSPF) cost to reach that route. A type 1 cost is the sum of both the external cost and the internal cost used to reach that route. The default is type 2. The metric parameter sets the external cost to be used. The value can be a number between 1 and 32,767. The default is 10.


Note   For a type 1 route, the internal costs along the routing path will be added to this cost to get the total cost of the route.

DefaultIntoOSPF = True | False [{1 | 2} metric]

The DefaultIntoOSPF keyword sets whether the router will redistribute default routes into the OSPF routing domain.

  • True | False. This parameter sets whether the router will redistribute default routes into OSPF. Redistributing a static or RIP default route into OSPF is specified separately, due to the special nature of a default route. If this is not set, or if False is specified, a RIP default route will not be advertised into the OSPF domain even if non-default routes from that protocol are being redistributed.

  • {1 | 2} metric. This optional parameter allows the metric, or cost, on the two types of external OSPF routes to be incremented or decremented. The cost of a type 2 route is simply the external cost, regardless of the interior (i.e., within OSPF) cost to reach that route. A type 1 cost is the sum of both the external cost and the internal cost used to reach that route. The default is type 2. The metric parameter sets the external cost to be used. The value can be a number between 1 and 32,767. The default is 10.


Note   For a type 1 route, the internal costs along the routing path will be added to this cost to get the total cost of the route.

OSPFToRIP = True | False [metric]

The OSPFToRIP keyword sets whether the router will redistribute OSPF routes into the RIP routing domain.

  • True | False. This parameter sets whether the router will redistribute OSPF routes into RIP. If True is specified, RIP will simply pick up the OSPF routes along with any other routes it is going to advertise.

  • metric. This optional parameter allows the metric, or cost, on routes to be incremented or decremented. The value can be a number between 1 and 32,767. The default is 1.

Examples

RouteAggregation = Off  
RIPToOSPF        = True 2 10   
DefaultIntoOSPF  = True 2 10
OSPFtoRIP        = True 1

Related Commands

Command Description

configure IP

Configures IP parameters for an interface

configure IP Protocol Precedence

Configures the precedence order for routes in the routing table

configure OSPF Area

Configures OSPF area parameters

configure OSPF Virtual Link

Configures OSPF to allow an area that is not contiguous to the backbone area (area 0) to operate

edit config IP Route Filter

Creates IP route filters

edit config IP Static

Creates static routes

show ospf

Shows OSPF configuration and statistics


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Sep 27 10:41:11 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.