Cisco BGP – see communities on advertised-routes

bgpcisco

We have an outbound route-map on an eBGP peer that adds some communities to certain prefixes. Is there any way to prove that this is actually happening from the sender side in classic IOS?

show ip bgp neighbor x.x.x.x advertised-routes does not show them

Even debug ip bgp update out doesn't seem to!

In gns3 I can make the same config and see that it works from my fake upstream side, but I need to be able to verify in the production router from the local side…

Best Answer

Last time I checked/tried to do this, it wasn't possible in IOS. I'm not sure about NX-OS or IOS-XE/XR though. It doesn't help you, but this is possible to do on Juniper gear.

Regarding your configuration - make sure you're using the additive keyword in your route-maps to set the communities, otherwise you will not be adding communities to the list, but rather replacing any existing communities with the one you're setting in your route-maps.