Re: Redistribution

From: Joseph Saad (joseph.samir.saad@gmail.com)
Date: Mon Sep 10 2007 - 18:46:08 ART


Wendel Odom, P. 328.

Cisco IOS provides three mechanisms for setting the metrics of redistributed
routes, as follows:

1. Call a route map from the redistribute command, with the route map using
the set metric command. This method allows different metrics for different
routes.
2. Use the metric option on the redistribute command. This sets the same
metric for all routes redistributed by that redistribute command.
3. Use the default-metric command under the router command. This command
sets the metric for all redistributed routes whose metric was not set by
either of the other two methods.

The list implies the order of precedence if more than one method defines a
metric.

In your case, if you have both, the route-map will take precedence

Joseph

On 9/11/07, Marc La Porte <marc.a.laporte@gmail.com> wrote:
>
> Guys,
>
> What's the difference between:
>
> router ospf 1
> redistribute rip metric 400 subnets
>
> or
>
> router ospf 1
> redistribute ip subnets route-map RIP->OSPF
> !
> route-map RIP->OSPF permit 10
> set metric 400
>
> (or than having more options for granularity later on, if needed)
>
> Thanks
> Marc
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:10 ART