That to the best of my understand is incorrect. it will filter out all routes from gateway 155.1.0.4 OR it will only permit 30.0.0.0/14 from any other gateway. As i said before it is Logical OR operation and not logical AND between the two prefix-list used.
HTH
> From: roy.waterman_at_gmail.com
> Date: Sun, 21 Aug 2011 23:15:44 +0100
> Subject: Re: Filtering Routes in RIP
> To: bxperts_at_gmail.com
> CC: ccielab_at_groupstudy.com
>
> Hi Shahid
>
> In the case of your config, only the prefix 30.0.0.0/14 will be accepted
> from all gateways apart from 155.1.0.4, for updates received on serial0/0.
>
> Regards
> Roy
>
> On 20 August 2011 22:01, Shahid Mushtaq <bxperts_at_gmail.com> wrote:
>
> > Dears,
> >
> >
> >
> > I want to filter specific routes in RIP from one gateway while allowing
> > from
> > others.
> >
> >
> >
> > If I have the following configuration then how the routes will be treated.
> > The distribute-list will only allow "30.0.0.0/14" from all gateways or it
> > will be only specific to "155.1.0.4" gateway.
> >
> >
> >
> > To more specific, the distribute will go to check the check the prefix then
> > the gateway or some other method.
> >
> >
> >
> >
> >
> > ip prefix-list ALLOW_SPECIFIC
> >
> > seq 5 permit 30.0.0.0/14
> >
> > seq 10 deny 0.0.0.0/0 le 32
> >
> >
> >
> > Ip prefix-list GATEWAY_R4
> >
> > seq 5 deny 155.1.0.4/32
> >
> > seq 10 permit 0.0.0.0/0 le 32
> >
> >
> >
> > Router RIP
> >
> > Version 2
> >
> > distribute-list prefix ALLOW_SPECIFIC gateway GATEWAY_R4 in Serial0/0
> >
> >
> >
> >
> >
> > Regards,
> >
> >
> >
> > Shahid
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Regards
> Roy
>
>
> 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
Received on Mon Aug 22 2011 - 00:54:01 ART
This archive was generated by hypermail 2.2.0 : Thu Sep 01 2011 - 06:05:56 ART