Re: bgp community problem

From: Sundar Palaniappan (sundar_palaniappan@hotmail.com)
Date: Sun Dec 15 2002 - 02:34:12 GMT-3


Rehan,

How about applying the following config on R1.

This would strip the community attribute set by R8.

R1 config:

router bgp 1
neighbor 219.100.1.2 remote-as 2 (Neighbor of R8)
neighbor 219.100.1.2 route-map test1 in

route-map test1 permit 10
match ip address 20
set community none

route-map test1 permit 20

access-list 20 permit 200.0.0.0 0.0.0.255
access-list 20 permit 199.0.0.0 0.0.0.255

Let us know what you find.

--Sundar

>From: "rehan u nedaria" <rehannedaria@rediffmail.com>
>Reply-To: "rehan u nedaria" <rehannedaria@rediffmail.com>
>To: ccielab@groupstudy.com
>Subject: bgp community problem
>Date: 15 Dec 2002 04:18:40 -0000
>
>Note: Forwarded message attached
>
>-- Orignal Message --
>
> From: "rehan u nedaria" <rehannedaria@rediffmail.com>
>To: ccielab@groupstudy.com
>Subject: bgp community problem
>MIME-Version: 1.0
>Message-ID: <20021213173934.14777.qmail@mailweb33.rediffmail.com>
>From: "rehan u nedaria" <rehannedaria@rediffmail.com>
>To: ccielab@groupstudy.com
>Subject: bgp community problem
>Content-type: text/plain; format=flowed
>Content-Disposition: inline
>
>Hi Group
> Here is my question regarding bgp community i m
>receiving some routes from an AS.I want to remove the community
>which is been already set by the sending AS.I have no access no
>access to the sending AS.
>
>The scenario looks some what like this.
>
>
>
> (R8)
> |
> |
> |
> (R1)-------(R2)-------(R4)
>
>
>R8 in As 2
>R1 in AS 1
>R4 in As 4
>
>
>R8 is sending two routes where the communities are set these
>routes have diffrent community.199.0.0.0 is set with the community
>no-adv.200.0.0.0 is set with community of no-export.
>
>The idea is to remove the community at R1.These is the
>configuration i have applied on R8
>
>router bgp 2
> no synchronization
> bgp log-neighbor-changes
> network 199.0.0.0
> network 200.0.0.0
> neighbor 219.100.1.1 remote-as 1
> neighbor 219.100.1.1 send-community
> neighbor 219.100.1.1 route-map test out
> no auto-summary
>route-map test permit 10
> match ip address 66
> set community no-advertise
>!
>route-map test permit 20
> match ip address 67
> set community no-export
>!
>route-map test permit 30
>
>access-list 66 permit 199.0.0.0 0.0.0.255
>access-list 67 permit 200.0.0.0 0.0.0.255
>
>
>
>This is the conf at R1
>
>router bgp 1
> no synchronization
> bgp log-neighbor-changes
> neighbor 149.15.2.2 remote-as 1
> neighbor 149.15.2.2 update-source Loopback0
> neighbor 149.15.2.2 send-community
> neighbor 149.15.2.2 route-map test out (Neighbor 0f R2)
> neighbor 219.100.1.2 remote-as 2 (Neighbor of R8)
> neighbor 219.100.1.2 route-map test1 in
>
>route-map test1 permit 10
> match ip address 20
> set community none
>!
>route-map test1 permit 20
>
>
>route-map test permit 10
>match ip address 10
>set community none
>
>access-list 10 permit 200.0.0.0 0.0.0.255
>access-list 20 permit 199.0.0.0 0.0.0.255
>
>route-map test permit 20
>
>
>I have got through with no-export community and the route is
>advertise outside the AS.
>
>But the no-adv community route is not working.The community
>attribute is been removed from the table at R1 but still the route
>is not advertised to any nieghbour.
>
>
>Any help will be appriciated
>
>Regards
>Rehan
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>________________________________________________________________
> NIIT supports World Computer Literacy Day on 2nd December.
> Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
> and get free Indian Languages Office software worth Rs. 2500.
> For details contact your nearest NIIT centre, SWIFT Point
> or click here http://swift.rediff.com/
>.
>.



This archive was generated by hypermail 2.1.4 : Fri Jan 17 2003 - 17:21:46 GMT-3