Re: Fw: Re: redistribute + route-map option

From: Emir trhulj (skimad@gmail.com)
Date: Wed May 24 2006 - 03:39:36 ART


I have done this may times before.

1.Create a prefix list
2.Match it with a route-map
3.Set your metric and metric type.
4 Redistribute
5. Make sure you have a second permit route-map statment what will match
everything else that does not match the prefix list in your previous
route-map statment.

Something like this.

!
route-map TEST permit 10
 match ip address prefix-list EIGRP_ROUTES
 set metric 10000
 set metric-type type-2
!
route-map TEST permit 100
!

Emir

On 5/24/06, Eugene Ward <eward15@juno.com> wrote:
>
> To more directly answer your question, you should be able to change your
> metric within a route-map.
>
> Eugene
>
> ---------- Forwarded Message ----------
> Could you post your config.
>
> Eugene
>
> ---------------------------------------------------------------------
>
>
> Hi Group,
>
> I was trying to increase the metric of an EIGRP route being redistributed
> in
> OSPF domain.
> The idea was to increase the metric of a single route of of a bunch of
> other
> routes coming from EIGRP to OSPF.
> Therefore i tried the follwoing:
>
> router ospf 100
> redistribute eigrp 10 subnets route-map eigrp10ospf100
> [...]
>
>
> route-map eigrp10ospf100 permit 10
> match ip address prefix net1
> set metric 1000000
> route-map eigrp10ospf100 permit 100
>
> That didn't work. So, what the heck - i did:
>
> router ospf 100
> redistribute eigrp10 subnets metric 1000000
>
>
> Now you see how desparate i was.
>
> My question: Is the metric tuning inside a ``redistribute ... route-map``
> supposed to work or is the route-map only for filtering routes out?
> Any other way i can influence route-metric (maybe in general, not only for
> OSPF) while redistributing?
>
>
> Thanks!
> Rado
>
>
> ________________________________________________________________________
> Try Juno Platinum for Free! Then, only $9.95/month!
> Unlimited Internet Access with 1GB of Email Storage.
> Visit http://www.juno.com/value to sign up today!
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> ________________________________________________________________________
> Try Juno Platinum for Free! Then, only $9.95/month!
> Unlimited Internet Access with 1GB of Email Storage.
> Visit http://www.juno.com/value to sign up today!
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:22 ART