RE: BGP distribute-list with gateway parameter

From: csaez (csaez@satec.es)
Date: Tue Jan 20 2004 - 05:57:13 GMT-3


Well,

There are examples at CCO and some books with this use I explained...Who
knows?

Thanks again,

Cesar.

-----Mensaje original-----
De: asadovnikov [mailto:asadovnikov@comcast.net]
Enviado el: martes, 20 de enero de 2004 7:29
Para: 'csaez'; ccielab@groupstudy.com
Asunto: RE: BGP distribute-list with gateway parameter

Well, BGP does not exactly work like that. Put the prefix list inbound
on
the neighbor statement and it will work just fine.

Best regards,
Alexei

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
csaez
Sent: Monday, January 19, 2004 7:04 PM
To: ccielab@groupstudy.com
Subject: BGP distribute-list with gateway parameter

Hello,

I am trying to use the gateway parameter at bgp distribute-list in
order
for example to filter all prefixes coming from an specific next-hop. I
am
getting very extrange results like:

Router bgp 65000

distribute-list gateway nh in

!
ip prefix-list nh seq 5 deny 3.3.3.3/32
ip prefix-list nh seq 10 permit 0.0.0.0/0 le 32

Prefixes with next-hop 3.3.3.3 appear in the bgp table with best status
code
but do not appear in the routing table. This does not prevent the router
from advertising these prefixes to other routers.

One more example

Router bgp 65000

distribute-list prefix no666 in Ethernet0/0

!
ip prefix-list no666 seq 5 deny 6.6.6.0/24
ip prefix-list no666 seq 10 permit 0.0.0.0/0 le 32

Does not filter anything even though the 6.6.6.0 update comes in via the
eth
0/0 interface.

Any experience with this command?

Thanks in advance!

Cesar



This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:47 GMT-3