RE: ip prefix-list

From: Geert Nijs (geert.nijs@simac.be)
Date: Thu Jan 13 2005 - 11:12:06 GMT-3


Did you do a clear ip bgp * after implementing the filter ?
 
Geert

________________________________

From: nobody@groupstudy.com on behalf of ccie2be
Sent: Tue 1/11/2005 23:38
To: Group Study
Subject: ip prefix-list

Hey guys,

Here's something interesting.

It took me a while, but finally I got it into my head how to create an

ip prefix list ie if you have something like this:

ip prefix-list ALLOW-BGP-IN seq 5 permit 112.0.0.0/5

the slash without being followed by a le or ge means

the prefix must = 112.0.0.0 and the mask must be 248.0.0.0

This also means that 112.0.0.0/8 wouldn't match.

Does everyone agree?

Well, I just came across a scenario which breaks this rule.

I was using the above prefix-list to filter all routes except

112.0.0.0/8
113.0.0.0/8
114.0.0.0/8
115.0.0.0/8
116.0.0.0/8
117.0.0.0/8
118.0.0.0/8
119.0.0.0/8

It worked but based on the rule above it shouldn't have, right?

Can anyone explain why my seemingly "incorrect" prefix-list

allowed those routes?

TIA, Tim



This archive was generated by hypermail 2.1.4 : Wed Feb 02 2005 - 22:10:22 GMT-3