From: Gustavo Novais (gustavo.novais@novabase.pt)
Date: Wed Jul 27 2005 - 13:05:57 GMT-3
Try instead of none, setting to community internet.
HTH
Gustavo
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sunil Almeida
Sent: quarta-feira, 27 de Julho de 2005 16:46
To: ccielab@groupstudy.com
Subject: BGP community NO_EXPORT
Hello,
I have configured bgp on three routers with AS 300, AS 100 and AS 200
300<->100<->200
The 3.0.0.0 network from AS 300 is advertised with Community attribute
set to NO_EXPORT , however I want to remove the attribute at the transit
AS 100 so that it can be sent to AS 200
The incoming route-map at 100 is as below
router bgp 100
bgp log-neighbor-changes
bgp dampening
network 1.1.1.1 mask 255.255.255.255
neighbor 192.168.10.2 remote-as 200
neighbor 192.168.100.1 remote-as 300
neighbor 192.168.100.1 route-map ex in
access-list 3 permit 3.0.0.0
route-map ex permit 10
match ip address 3
set community none
The problem with the "community none" command is that the route 3.0.0.0
doesn't leave AS 100 and the show ip bgp 3.0.0.0 displays the following.
BGP routing table entry for 3.0.0.0/8, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table, not
advertised to
EBGP peer)
Not advertised to any peer
300
192.168.100.1 from 192.168.100.1 (3.3.3.4)
Origin incomplete, metric 0, localpref 100, valid, external, best
Could anyone shed some light on the above, why does the route show "Not
advertised to any peer" .
BTW, I can set "community internet" to send the route to AS 200.
Thanks
Sunil
This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:00:31 GMT-3