SV: Match Any behaviour in Prefix lists

From: Jens Petter Eikeland (jenseike@start.no)
Date: Sat Sep 17 2005 - 05:57:51 GMT-3


HI ,

I was wondering the same thing a while ago.. Here is how it is :

prefix-list to match the "default-route" is;

ip prefix-list mebean permit 0.0.0.0/32

all the first 32 bits "must" be zeros.

prefix-list to match "any" route is;

ip prefix-list mrbean permit 0.0.0.0/0 le 32.

All the 32 bits can be "anything" and can have any mask.

Jens Petter Eikeland

-----Opprinnelig melding-----
Fra: nobody@groupstudy.com [mailto:nobody@groupstudy.com] Pe vegne av
Venkataramanaiah.R
Sendt: 17. september 2005 10:39
Til: ccielab@groupstudy.com
Emne: Match Any behaviour in Prefix lists

Any idea, which what do we configure for match any when you use the prefix
lists?

In a case of deny only 0.0.0.0/0 <http://0.0.0.0/0> matches all the routes

In a case of Permit, only 0.0.0.0/0 <http://0.0.0.0/0> le 32 matches all the
routes. Just 0.0.0.0/0 <http://0.0.0.0/0> does not match all traffic, rather
it matches just the default route, when used with a permit command.

I am sure this is something to do with the way the prefix lists operate,
which is apparently not clear to me.

Can someone clarify?

TIA
-Venkat



This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:15 GMT-3