Re: Suggestion on BGP Prefix-list

From: Ram Shummoogum (rshummoo@ca.ibm.com)
Date: Thu Jun 05 2003 - 09:01:01 GMT-3


Let me give it a shot.

prefix-list XXX seq 5 deny 192.168.20.0/23 ge 24 le 24
prefix-list XXX seq 10 permit 0.0.0.0/0 le 32

RAM

"Scot Peter" <scotsman@rediffmail.com>@groupstudy.com on 06/05/2003
06:35:14 AM

Please respond to "Scot Peter" <scotsman@rediffmail.com>

Sent by: nobody@groupstudy.com

To: ccielab@groupstudy.com
cc:
Subject: Suggestion on BGP Prefix-list

Hello Group,

I have a scenario like this

AS254--(EBGP)----R4(AS1)---(IBGP)---R2(AS1)

AS 254 is advertising five routes to R4 in the range...
192.168.1.0/24
192.168.2.0/24
192.168.5.0/24
192.168.20.0/24
192.168.21.0/24
The requirement is to allow only 192.168.1.0/24, 192.168.2.0/24
and 192.168.5.0/24 ONLY; and filter all other routes. DO NOT use
any access-lists / distribute lists; use only prefix lists with
minimum number of lines.

I have configured the below on R4; but not sure on configuring
minimum number of lines. Please advice.

Router bgp 1
neighbor 10.1.1.1 remot-as 254
neighbor 10.1.1.1 prefix-list XXX in

prefix-list XXX seq 5 permit 192.168.1.0/24
prefix-list XXX seq 10 permit 192.168.2.0/24
prefix-list XXX seq 15 permit 192.168.5.0/24

Is this config is OK with the minimum number of lines?

Thanks in advance
SP



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:10:53 GMT-3