From: Liban.Mohamed@mail.sprint.com
Date: Wed Jan 08 2003 - 12:32:54 GMT-3
Rehan,
I am not sure if you fixed the problem or if anyOne responded to your 
question if they did i didn't see it.
Everything seem to be fine expect your route-map in AS1 the value of the 
route-map are set both for 10 set the route-map for acl 10 to 20 and it 
should work...
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****** change this to 20*** remember you already have 
10 on match ip address 20.
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
Hope this helps..
thanks,
-----Original Message-----
From: rehannedaria [mailto:rehannedaria@rediffmail.com]
Sent: Saturday, December 14, 2002 11:19 PM
To: ccielab
Subject: bgp community problem
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
This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:45 GMT-3