11-18-2021 02:49 AM
Hello,
I have a prefix that I learn from another AS1, which I set a "no-export" community inbound to AS2. AS2 has eBGP sessions to AS3 and AS4. I need to remove/override the "no-export" outbound to AS4 only. I tried the below policy but the prefix is still not being advertised out to AS4. Kindly advise
route-policy POLICY-OUT-1
if destination in ADVERTISE-OUT then
delete community in (no-export)
pass
else
drop
endif
end-policy
Thanks,
Msizi
11-18-2021 05:09 AM - edited 11-18-2021 05:11 AM
Hi,
maybe this will help you:
delete community in (internet, no-export, no-advertise, local- as, *:*)
11-18-2021 07:51 AM
Hi @msizi.mthembu ,
Applying the route-policy outbound on the neighbor to AS3 and AS4 will not work. The updates will not be sent to these neighbors because they are tagged with no-export and would therefore never make it through the route-policy. If you have two routers in AS2 (connected via iBGP), you could apply the route-policy inbound on the second router. This would definitely work.
Regards,
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