It depends on what you want to match.
If you have a summary route e.g 16.0.0.0/6, then the prefix 0.0.0.0/1 ge 8
wont match it but the prefix 0.0.0.0/1 le 32 would.
HTH,
On Wed, Jun 1, 2011 at 9:45 PM, Hammer cisco <cisco.iers_at_gmail.com> wrote:
> thanks danel ,
>
> but still i need to know exactly what's the difference between 0.0.0.0/1ge
> 8 and 0.0.0.0/1 le 32
>
> as i think all class A networks starting from mask 8 and greater , i have
> not seen a network with mask less 8
>
> On 1 June 2011 23:35, Daniel Kutchin <daniel_at_kutchin.com> wrote:
>
> > If you just want to match Class A's with 8 bit masks, Class B's with 16
> bit
> > masks, and class C's with 24 bit masks.
> >
> > 0.0.0.0/1 ge 8 le 8
> > 128.0.0.0/2 ge 16 le 16
> > 192.0.0.0/3 ge 24 le 24
> >
> > If you want to match anything in the individual address spaces for class
> > A,B, C
> > 0.0.0.0/1 le 32
> > 128.0.0.0/2 le 32
> > 192.0.0.0/3 le 32
> >
> >
> > Class A- binary first bit 0.
> > Class B - binary first two bits 10.
> > Class C - binary first three bits 110.
> >
> > -
> > Daniel
> >
> >
> > -----Original Message-----
> > From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> > Hammer cisco
> > Sent: Mittwoch, 1. Juni 2011 21:38
> > To: ccielab_at_groupstudy.com
> > Subject: Class "A" prefix-list
> >
> > Hi experts,
> >
> > i am a little bit confused about the exact prefix-list we can use to
> match
> > all class A network address routes :
> >
> > ip prefix-list 0.0.0.0/1 ge 8
> >
> > or
> >
> > ip prefix-list 0.0.0.0/1 le 32
> >
> >
> > 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
>
>
>
>
>
>
>
>
-- Best Regards, Tolulope. Blogs and organic groups at http://www.ccie.netReceived on Wed Jun 01 2011 - 21:54:18 ART
This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 06:24:27 ART