cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
2398
Views
0
Helpful
2
Replies

Remove BGP no-export community

msizi.mthembu
Level 1
Level 1

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

 

2 Replies 2

pman
Spotlight

Harold Ritter
Spotlight

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, 

Regards,
Harold Ritter, CCIE #4168 (EI, SP)