BGP: Match prefixes gt using access-list?

From: Darren Ward (dward@xxxxxxxxxx)
Date: Sat Jun 02 2001 - 07:16:00 GMT-3


   
Hi All,

I've ben asked a damn good question by a co-worker and I must admit I'm
not exactly sure how to solve it.

Q: Filter BGP advertisements to a neighbour so that only routes that are
/19 or better are advertised WITHOUT using a prefix-list.

A:

I know it will be a BGP extended IP access-list using the network/mask
pair but can't figure out the mask section properly.

access-list 100 permit ip 0.0.0.0 255.255.224.0 255.255.224.0
225.255.224.0

Now, I _think_ this means match ANY network where the last 13 bits are
all zero AND the last 13 bits of the netmask are all zeros but allow
more zeros the base 13 bits (greater than /19)

Is this correct?

Darren Ward
(Sydney June 27-28)
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:16 GMT-3