bgp_community.add

Victor Sudakov vas at mpeks.tomsk.su
Tue Feb 16 10:29:53 CET 2016


Anton Danilov wrote:
> 
> Better move the filter to external filter. 

For readability?


> In your case this should seem like:
> 
> filter export_to_bgp_leopard {
>     if (proto = "C21") then {
>         bgp_community.add((43859:300));
>         bgp_community.add((65535:65281)); #no-export 0xffffff01 - see RFC1997
>         accept;
>     }
> }

I think you meant "43859,300", not "43859:300" ? 

Thanks a lot! It works. Now I know there are no symbolic names for
well-known communities for me.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the Bird-users mailing list