From: ccie1101 (ccie1101@gmail.com)
Date: Thu Nov 27 2008 - 04:46:28 ARST
I understand how ACL works. My question is that how do we inteprete the
command
' distribute-list 77 out static'
Thank you.
On Thu, Nov 27, 2008 at 2:27 PM, Muhabat Khan <muhabat@gmail.com> wrote:
> Hi,
> no, as per ACL rules, each packet is compared with
> ACL entries sequentially. If there is a match found then comparing stops
> there and ACL is applied. In your case "each packet" counts. If first route
> match then it is denied and for other routes this comparing starts again
> until all the packets are compared against ACL.
> HTH
>
> On Thu, Nov 27, 2008 at 9:21 AM, ccie1101 <ccie1101@gmail.com> wrote:
>
>> Hi,
>> Can someone explain what is the usage of the 'static' command
>> when used in conjunction with the distribute list ?
>>
>> I cant' find any explanation abt. this commnad on the command
>> lookup tool.
>>
>> If you look at the example below, does this mean that it only
>> denies any static route that has been defined in the ACL ? Meaning it
>> denies
>> the first static route and allows the 2nd and 3rd static routes
>> to go through ?
>>
>>
>> distribute-list 77 out static
>> !
>> !
>> access-list 77 deny 10.0.0.2
>> access-list 77 deny 10.0.0.3
>> access-list 77 permit any
>> !
>> !
>> ip route 10.0.0.2 255.255.255.248 192.168.182.2
>> ip route 10.0.0.4 255.255.255.248 134.251.73.184
>> ip route 10.0.0.5 255.255.255.255 134.251.254.54
>>
>>
>> Thank you,.
>>
>>
>> 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
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:32 ARST