RE: ip prefix-list ....

From: Ouellette, Tim (tim.ouellette@xxxxxxx)
Date: Tue Jul 02 2002 - 23:40:06 GMT-3


   
The GE means "great than or equal to" & the LE means "less than or equal to"

Thefore your "ip prefix-list TEST permit 172.16.0.0/22 ge 23" would mean

permit the 172.16.0.0 routes if their subnet mask has 23 bits or more in it
255.255.254.0 through 255.255.255.255

Keep in mind that it's not permitting the 172.16.0.0/22 route because of the
GE 23 in there.

Hope that helps and hope i'm accurate.

Tim

-----Original Message-----
From: Hunt Lee [mailto:ciscoforme3@yahoo.com.au]
Sent: Tuesday, July 02, 2002 7:50 AM
To: ccielab@groupstudy.com
Subject: ip prefix-list ....

Could someone explain to me how is the "ge" and "le" options are used
for in a prefix list statement?

Example:

ip prefix-list TEST permit 172.16.0.0/24
ip prefix-list TEST permit 172.16.1.0/24
ip prefix-list TEST permit 172.16.2.0/24
ip prefix-list TEST permit 172.16.3.0/24

I understand that these 4 prefix-lists together will permit the 4
subnets.

But how is it equal to:

ip prefix-list TEST permit 172.16.0.0/22 ge 23

I know how to get the /22

172.16.00000000.0/24 = 0.0
172.16.00000001.0/24 = 1.0
172.16.00000010.0/24 = 2.0
172.16.00000011.0/24 = 3.0

So the common bits would be /22, but why ge 23? How is it
calculated??

Thanks!

H.

http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:17 GMT-3