Re: bgp_community.add

2016-02-16 Thread Victor Sudakov
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_commun

Re: bgp_community.add

2016-02-15 Thread Anton Danilov
Hello. Better move the filter to external filter. 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 0xff01 - see RFC1997

bgp_community.add

2016-02-15 Thread Victor Sudakov
Dear Colleagues, If I need to add several communities, what's the filter syntax would be? I can add the community "43859:300" this way: protocol bgp leopard { export filter { if proto = "C21" then { bgp