RE: Prefix List/distribute-list Question

From: Glenn Johnson (GJcomcast@comcast.net)
Date: Thu Jul 03 2003 - 20:54:36 GMT-3


Right -- I had focused only on 8/16/24.

If you were to try this with a distribute-list, would this work as well?

router bgp 11
 <snip>
 neighbor 11.1.1.8 distribute-list 100 in

access-list 100 permit ip 0.0.0.0 127.255.255.255 host 255.0.0.0
access-list 100 permit ip 128.0.0.0 63.255.255.255 host 255.255.0.0
access-list 100 permit ip 192.0.0.0 63.255.255.255 host 255.255.255.0
access-list 100 permit ip host 0.0.0.0 host 0.0.0.0

-----Original Message-----
From: Ram Shummoogum [mailto:rshummoo@ca.ibm.com]
Sent: Thursday, July 03, 2003 7:34 PM
To: GJcomcast@comcast.net
Cc: ccielab@groupstudy.com
Subject: Re: Prefix List Question

What about this.

ip prefix-list DEFCLASSFUL seq 1 permit 0.0.0.0/0
ip prefix-list DEFCLASSFUL seq 8 permit 0.0.0.0/1 ge 8 le 8
ip prefix-list DEFCLASSFUL seq 16 permit 128.0.0.0/2 ge 16 le 16
ip prefix-list DEFCLASSFUL seq 24 permit 192.0.0.0/3 ge 24 le 24

"Glenn Johnson" <GJcomcast@comcast.net>@groupstudy.com on 07/03/2003
04:15:29 PM

Please respond to "Glenn Johnson" <GJcomcast@comcast.net>

Sent by: nobody@groupstudy.com

To: <ccielab@groupstudy.com>
cc:
Subject: Prefix List Question

Hello,

If used in an inbound route-map via BGP, would the following prefix-list
allow only default and classful routes in from a given neighbor?

ip prefix-list DEFCLASSFUL seq 1 permit 0.0.0.0/0
ip prefix-list DEFCLASSFUL seq 8 permit 0.0.0.0/0 ge 8 le 8
ip prefix-list DEFCLASSFUL seq 16 permit 0.0.0.0/0 ge 16 le 16
ip prefix-list DEFCLASSFUL seq 24 permit 0.0.0.0/0 ge 24 le 24

Thanks



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:22 GMT-3