Re: Route-Maps & Prefix-list

From: <ron.wilkerson_at_gmail.com>
Date: Tue, 25 Jan 2011 18:24:19 +0000

Forgive the obvious but are you policy routing?
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Raghav Bhargava <raghavbhargava12_at_gmail.com>
Sender: nobody_at_groupstudy.com
Date: Tue, 25 Jan 2011 10:14:37
To: Cisco certification<ccielab_at_groupstudy.com>
Reply-To: Raghav Bhargava <raghavbhargava12_at_gmail.com>
Subject: Route-Maps & Prefix-list

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
Received on Tue Jan 25 2011 - 18:24:19 ART

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