Thursday, November 15, 2018

Specific routes not advertised to BGP peer?

Hi Guys, Just want to ask what would be the reason why we are not advertising this prefix 1.1.16.0/24, Based onmy interpretation on RPL it's should be allowed/pass because it has the Community Tag of "40:40" (CMIIW).

EDGE ROUTER: sh ip bgp 1.1.16.0 455 36.8.1.1 (metric 10) from 36.18.4.10 (36.8.1.1) Origin IGP, metric 100, localpref 200, valid, confed-internal, best, group-best Received Path ID 0, Local Path ID 0, version 3114343623 Community: 40:40 30:30 Originator: 36.8.1.1, Cluster list: 0.0.0.204, 0.0.0.114 neighbor 23.246.56.18 remote-as 200 description NETFLIX graceful-restart address-family IPv4 Unicast maximum-prefix 1000 75 30 policy Standard-Peering-IN in policy NET_OUT out remove-private-AS send-community-ebgp soft-reconfiguration inbound always route-policy NET_OUT apply PEER_OUT end-policy route-policy PEER_OUT if ((community matches-any CUSTA) or (as-path in ASPATH)) then apply DARD_OUT else drop endif end-policy community-set CUSTA 40:40 end-set route-policy DARD_OUT if (community matches-any ALL_CUSS) then pass elseif (as-path in PATH_10) then pass else drop endif end-policy sh rpl community-set ALL_CUSS community-set ALL_CUSS 91:10, 40:40, 31:5 end-set 

We can advertise this prefix succesfully 122.65.1.0/24 and the attribute were similar to the other prefix which is not working.

 sh bgp neighbors 192.168.1.1 advertised-routes | i 122.65.1.0 122.65.1.0/24 x.x.x.x x.x.x.x AS:AS sh bgp neighbors 192.168.1.1 advertised-routes | i 1.1.16.0 NO OUTPUT sh bgp x.x.x.x comparison 122.65.1.0/24 760 760 10.28.24.10 (metric 10) from 10.28.24.2 (10.28.24.2) Origin IGP, metric 100, localpref 200, valid, confed-internal, best, group-best Received Path ID 0, Local Path ID 0, version 2342752258 Community: 40:40 30:30 Originator: 10.28.24.100, Cluster list: 0.0.0.204 1.1.16.0/24 455 36.8.1.1 (metric 10) from 36.18.4.10 (36.8.1.1) Origin IGP, metric 100, localpref 200, valid, confed-internal, best, group-best Received Path ID 0, Local Path ID 0, version 3114343623 Community: 40:40 30:30 Originator: 36.8.1.1, Cluster list: 0.0.0.204, 0.0.0.114 

Thank you... :)



No comments:

Post a Comment