Delete Community - Behavior on 12.2 and 12.2T

From: gladston@br.ibm.com
Date: Thu Mar 03 2005 - 14:02:02 GMT-3


Any problem with these lines?

Community 100:40 is not removed on R3.
R3 and R4 IOS version is 12.2(1d).
R3 receives networks from R4.

R3 config
router bgp 300
 neighbor 172.16.34.4 remote-as 400
 neighbor 172.16.34.4 route-map Remove-community in
!
route-map Remove-community permit 10
 set comm-list 120 delete
!
ip community-list 120 permit 100:40

R4 config
router bgp 400
 network 43.43.43.0 mask 255.255.255.0
 network 44.44.44.0 mask 255.255.255.0
 neighbor 172.16.34.3 remote-as 300
 neighbor 172.16.34.3 send-community
 neighbor 172.16.34.3 route-map Set-comm out
!
route-map Set-comm permit 10
 set community 100:40

R3 show commands:
r3#sh ip bgp 43.43.43.0
BGP routing table entry for 43.43.43.0/24, version 14
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Not advertised to any peer
  400
    172.16.34.4 from 172.16.34.4 (172.16.4.1)
      Origin IGP, metric 0, localpref 100, valid, external, best
      Community: 100:40

Now, adding R6 to the scenario; R6 is connected to R3 and receives the community 100:40. Deleted really does not work on R3
R6 is running 12.2(15)T9

r6#sh ip bg 43.43.43.0
BGP routing table entry for 43.43.43.0/24, version 4
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Not advertised to any peer
  300 400
    172.16.36.3 from 172.16.36.3 (172.16.233.3)
      Origin IGP, localpref 100, valid, external, best
      Community: 100:40

Differently, if I apply the same filter on R6 (that is running another IOS) the delete function works:

R6
router bgp 600
 no synchronization
 bgp log-neighbor-changes
 neighbor 172.16.36.3 remote-as 300
 neighbor 172.16.36.3 route-map Remove-comm in
!
ip community-list 101 permit 100:40
!
route-map Remove-comm permit 10
 set comm-list 101 delete

r6#sh ip bg 43.43.43.0
BGP routing table entry for 43.43.43.0/24, version 4
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Not advertised to any peer
  300 400
    172.16.36.3 from 172.16.36.3 (172.16.233.3)
      Origin IGP, localpref 100, valid, external, best



This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:39 GMT-3