03-01-2014 11:06 AM - edited 03-01-2019 02:45 PM
Hello,
I am working on an ISP and we have given the opportunity to our customers to send us a special BGP community when one of their host is under attack (blackhole community). We then match this community, we route it to null 0 and in addition we add a new community (without the additive keyword) and send it to our upstream provider so as to prevent malicious traffic from reaching our border router. Today a customer send us a prefix with the special community along with the community no-export. Although when we match the special community we overwrite all communities with the one given for our upstream blackhole procedure it seems that the no-export cannot be overwritten. As a result this prefix is not advertised to our upstream.
Is this expected? Well-known bgp sommunities such as no-export cannot be overwriten by a set statement without the additive word?
04-11-2014 12:02 PM
Hi,
In xr as far as I know, we'll known communities will not be overwritten when you don't use additive.
to delete these you need to use the following:
RP/0/RP0/CPU0:router(config-rpl)# delete community in (internet, no-export, no-advertise, local- as, *:*)
see http://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-1/routing/command/reference/b_routing_cr41crs/b_routing_cr41crs_chapter_01000.html
Hope this helps
mark
04-11-2014 10:41 PM
Your answer is really helpful. Thank you very much.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide