bgp_community.add

Victor Sudakov vas at mpeks.tomsk.su
Tue Feb 16 07:36:35 CET 2016


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_community.add((43859,300));
                        accept;
                }
        };
}

What if I want to add two communities: "43859:300" and "no-export" ?


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


More information about the Bird-users mailing list