Here is the connection:
R1---ebgp---R2---ibgp---R3
And this is a route received at R3
Code: Select all
Flags: X - disabled, F - filtered, U - unreachable, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, i - is-is, d - dhcp, v - vpn, m - modem, a - ldp-address, l - ldp-mapping, g - slaac, y - bgp-mpls-vpn;
H - hw-offloaded; + - ecmp, B - blackhole
b afi=ip4 contribution=candidate dst-address=172.20.43.160/27 routing-table=dn42 gateway=10.172.0.2@dn42 immediate-gw=10.172.0.2%dn42.us.chr
distance=200 scope=40 target-scope=30 belongs-to="bgp-IP-10.172.0.2@*2"
bgp.peer-cache-id=*280171D .as-path="4242423914,4242420402" .communities=64511:2,64511:25,64511:34,64511:41,64511:1276
.large-communities=4242423914:100:41 .local-pref=100 .med=0 .atomic-aggregate=yes .origin=igp
debug.fwp-ptr=0x202C3840
Code: Select all
/routing filter community-list
add communities="64511:1,64511:2,64511:3,64511:4,64511:5,64511:6,64511:7,64511:8,64511:9,64511:21,64511:22,64511:23,64511:24,64511:25,64511:26,64511:27\
,64511:28,64511:29,64511:31,64511:32,64511:33,64511:34" disabled=no list=dn42_connection_info
/routing filter rule
add chain=ibgp disabled=no rule=" delete bgp-communities dn42_connection_info; accept;"
Code: Select all
Flags: X - disabled, F - filtered, U - unreachable, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, i - is-is, d - dhcp, v - vpn, m - modem, a - ldp-address, l - ldp-mapping, g - slaac, y - bgp-mpls-vpn;
H - hw-offloaded; + - ecmp, B - blackhole
b afi=ip4 contribution=candidate dst-address=172.20.43.160/27 routing-table=dn42 gateway=10.172.0.2@dn42 immediate-gw=10.172.0.2%dn42.us.chr
distance=200 scope=40 target-scope=30 belongs-to="bgp-IP-10.172.0.2@*2"
bgp.peer-cache-id=*280171D .as-path="4242423914,4242420402" .communities=64511:2,64511:25,64511:34 .large-communities=4242423914:100:41
.local-pref=100 .med=0 .atomic-aggregate=yes .origin=igp
debug.fwp-ptr=0x202C3840
communities in the "dn42_connection_info" list are not deleted, but other communities are deleted instead, only communities in the "dn42_connection_info" list remained.