From: Frank (ocsic@web.de)
Date: Mon Sep 18 2006 - 15:00:18 ART
Jung-I Lin schrieb:
Hi,
thanks a lot. It took me some hours.
My aproach to things is like, when it's asked to block a certain
neighbor, i will deny only this neighbor. But here the
solution is only to allow the comunication between two neighbors.
My thinking was, maybe there will be other neighbors in the future and
then they will not be allowed to communicate.
But in the last weeks, i have learned, it's better to just think like,
to only do what's wanted and not to think to much about
things. It does only matter that the task is done, not how it's done.
That was my biggest problem here.
Thanks HTH for your clarification.
Frank
> Hi, Frank
>
> AFAIK, The "distribute-list GATEWAY prefix-list in" command will only
> accept from neighbors which is permited in GATEWAY prefix-list.
> So if you want accept routes form certain neighbor, you must permit
> that neighbor in the prefix-list or you could permit any( 0.0.0.0/0
> <http://0.0.0.0/0> le 32).
>
> HTH..
>
>
> On 9/17/06, *Frank* <ocsic@web.de <mailto:ocsic@web.de>> wrote:
>
> Hi,
>
> i was stumbeling about the problem not beeing able to match a host
> (gateway), that i
> don't want to accept rip advertisements.
>
> I was trying a deny statement in a prefix list:
>
> distribute-list gateway BB3 in e0/0
>
> and not allowing in a prefix list:
>
> ip prefix-list BB3 deny 204.12.1.254/32 <http://204.12.1.254/32>
>
> The definition of the prefix list is, the first match in the row
> leaves the
> list. So there is no need for an allow statement. Is that right?
>
> But with this configuration there are no routes accepted at all.
>
> Could someone explain why?
>
> It works, when i configure to permit the hosts that are allowed
> and leave
> the other host without permition.
>
> I wanted to make it that way, because the question is not to allow
> from a
> single host and the provided solution is, to allow from all the
> other host
> but the one host not.
>
>
> Frank
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
> --
> Thanks
> Best Regards,
>
> Jung-I Lin
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART