Re: distribute-list x out static ....

From: ehiwe peter (ccie.in.nigeria@gmail.com)
Date: Fri Nov 28 2008 - 20:45:13 ARST


distribute-list 77 out static command means that any static routes
permitted by acl 77 is allowed to be advertised in routing updates
into another routing domain , when a redistribute static command is
issued.

In your example 10.0.0.2 and 10.0.0.3 will not be advertised when a
redistribute static command is used to send your static routes into
another protocols routing domain but other static routes will be
allowed

On 11/27/08, ccie1101 <ccie1101@gmail.com> wrote:
> 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
>
> _______________________________________________________________________
> 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