Also just to add..
If a route-map is applied inbound or outbound we can see the routes which
are tagged with that specific route-map via
show ip bgp route-map xyz
but i am not sure how can we see the routes if a route-map is used in the
redistribute statement'
Regards
Raghav
On Tue, Jan 25, 2011 at 11:30 AM, Raghav Bhargava <
raghavbhargava12_at_gmail.com> wrote:
>
> I got the answer guys...
>
>
> I guess we cannot see any prefixes for the route-maps the way we can see
> when we create a ACL on a router .
>
> The only thing here is that either we can check the routes which get tagged
> by community that we use or the prefix-list that we use to match. Commands
> are:
>
>
> show ip bgp community-list xyz
> show ip bgp prefix-list DIRECT
>
> Thanks to everyone for there time
>
> -Regards
> Raghav
>
>
>
>
> On Tue, Jan 25, 2011 at 11:13 AM, Max Pierson <nmaxpierson_at_gmail.com>wrote:
>
>> Yup, sorry for the mis-understanding of your question!
>>
>> I'll go back to my seat now :)
>>
>>
>> On Tue, Jan 25, 2011 at 1:06 PM, Paul Negron <negron.paul_at_gmail.com>wrote:
>>
>>> I believe he said that it was not applied as a local or interface
>>> policy-routing configuration. I could be wrong but that is what I
>>> followed
>>> so far.
>>> --
>>> Paul Negron
>>> CCIE# 14856 CCSI# 22752
>>> Senior Technical Instructor
>>> www.micronicstraining.com
>>>
>>>
>>>
>>> > From: Max Pierson <nmaxpierson_at_gmail.com>
>>> > Reply-To: Max Pierson <nmaxpierson_at_gmail.com>
>>> > Date: Tue, 25 Jan 2011 12:42:51 -0600
>>> > To: Raghav Bhargava <raghavbhargava12_at_gmail.com>
>>> > Cc: Cisco certification <ccielab_at_groupstudy.com>
>>> > Subject: Re: Route-Maps & Prefix-list
>>> >
>>> > 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/0ge 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
>>> >
>>> >
>>> > 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
>
-- Warm Regards Raghav Blogs and organic groups at http://www.ccie.netReceived on Tue Jan 25 2011 - 11:39:54 ART
This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 07:39:17 ART