Re: Route-Maps & Prefix-list

From: Raghav Bhargava <raghavbhargava12_at_gmail.com>
Date: Tue, 25 Jan 2011 10:49:25 -0800

Well lets say i am using this route-map to redistribute from one IGP to
another ..

On Tue, Jan 25, 2011 at 10:42 AM, Max Pierson <nmaxpierson_at_gmail.com> wrote:

> Hi Ragav,
>
> Based on your output, you're saying "I want everything that matches
> prefixes longer than a /31 and tag them with said community" which seems to
> be correct, but what exactly is this route-map for (how is it being
> applied)?? You may not be seeing any matches because what your expecting to
> see is not getting to the route-map in the first place to even be checked
> against your prefix list. Could you clue us in a little more on what the
> route-map is used for??
>
> Max
>
>
>
> On Tue, Jan 25, 2011 at 12:14 PM, Raghav Bhargava <
> raghavbhargava12_at_gmail.com> wrote:
>
>> Hi Experts,
>>
>> I have a stupid query.
>>
>> 1. When we configure route-maps on a router /layer 3 switch . We either
>> match anything or set something on it.
>>
>> For example: route-map XYZ permit 10
>> match ip address prefix-list DIRECT
>> set community x:y
>> !
>> ip prefix-list DIRECT seq 5 permit 0.0.0.0/0 ge
>> 31
>> le 32
>>
>> Now in this route-map i am matching a prefix-list DIRECT which actually
>> matches all the directly connected routes on the device. My prefix-list
>> has
>> been defined like that. The 3 networks are all /32's on the box..
>>
>> My question is now when i do show route-map XYZ,
>>
>> route-map XYZ, permit, sequence 10
>> Match clauses:
>> ip address prefix-lists: DIRECT
>> Set clauses:
>> community x/y
>> * Policy routing matches: 0 packets, 0 bytes* *>>>>> This is where i am
>> confused. I don't see policy routing matches number as 3 which i think i
>> should since i have 3 /32's configured on the box and my prefix-list is
>> also
>> configured for the same.*
>>
>> I may be missing something here . Kindly advise
>>
>> --
>> Warm Regards
>> Raghav
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
>

-- 
Warm Regards
Raghav
Blogs and organic groups at http://www.ccie.net
Received on Tue Jan 25 2011 - 10:49:25 ART

This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 07:39:17 ART