RE: ip prefix-list ....

From: Rajesh Verma (rverma@xxxxxxxxxxxxxx)
Date: Tue Jul 02 2002 - 15:21:05 GMT-3


   
Hi,
When you specify ge 23, it would filter all the routes with prefix of 23 and
greater, so should include mask /23, /24,/25.....till/32.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Hunt Lee
Sent: Tuesday, July 02, 2002 4: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