From: Jason Miller (jasmille@xxxxxxxxx)
Date: Mon Apr 22 2002 - 13:08:33 GMT-3
For distribute list, you can use an extended access list to define the mask. I
f you only want to allow 10.1.120.0 /22 and not more specifics use:
access-list 101 permit 10.1.120.0 0.0.3.255 255.255.252.0 0.0.0.0
The apply this with you distribute-list command
There is a little bit about it in this pointer under route filtering:
http://www.cisco.com/warp/public/459/15.html
Jason
At 08:39 AM 4/22/2002 -0700, Sukhjit Singh wrote:
>Lupi,
>
>You are right, prefix-list worked,
>
>ip prefix-list 34 seq 5 deny 10.1.120.0/24
>ip prefix-list 34 seq 15 permit 10.0.0.0/8 le 23
>ip prefix-list 34 seq 20 permit 10.1.124.0/24
>
>However still i am keen to know another way, if
>possible using acl, Thanks,
>Sukhs,
>
>--- "Lupi, Guy" <Guy.Lupi@eurekaggn.com> wrote:
>> I don't know what it would be as far as an extended
>> access list, but you
>> could use a "distribute-list prefix" to call a
>> prefix list instead of an
>> access list, that way you could define exactly what
>> you want to be
>> redistributed.
>>
>> ~-----Original Message-----
>> ~From: Sukhjit Singh [mailto:ssukhjit@yahoo.com]
>> ~Sent: Monday, April 22, 2002 10:22 AM
>> ~To: ccielab@groupstudy.com
>> ~Subject: ACL question
>> ~
>> ~
>> ~ACL Experts,
>> ~
>> ~I have two routes in my R1 routing table,
>> ~10.1.120.0 /24
>> ~And 10.1.120.0 /22 (Summary route)
>> ~
>> ~I want to filter the /24 route & want to only pass
>> /22
>> ~summary route to other routers. I am using
>> ~distribute-list command with route-map.
>> ~
>> ~It passes both of these routes, I am not sure what
>> ~will be the right wildcard combination which can
>> ~differnciate b/w these 2 routes.
>> ~
>> ~Any suggestions please,
>> ~
>> ~regards,
>> ~Sukhs,
>> ~
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:16 GMT-3