I was trying to set a route community while advertising a network in BGP in this manner.
match int loop0
set community 300:10
router bgp 300
network 188.8.131.52 mask 255.255.255.255 route-map Loo0
This however does not work. The solution is removing the match statement from the route-map mentioned away. However, I am unable to understand why this has happened . Any clues ?
if you do a 'sh ip bgp', is your advertised network 184.108.40.206/32 using loop0 as the next hop ? As far as I remember, the 'match interface' command only works when the route's next hop is the interface specified, loop0 in your case.
"If a match command or Match Clause value in ASDM is not present, all routes match the clause."
" the absence of the match commands, the entire routes or packets are matched here."
Can you pls provide the detailed config and "sh ip bg" & "sh ip bg 220.127.116.11/24" before and after applying this route-map?
Hello Surya we have seen many times that the route-map with network statement does not work properly. Could you please use the route-map with the neighbor statement and see if that works.
Also, another thing that you can try is remote the match statement and just use the set community command under route-map.
Finally, can you verify if you have configured the neighbor x.x.x.x send-community command under the address-family.