BGP Community Filter Static Route

jan.matejka at jan.matejka at
Sat Mar 25 08:30:53 CET 2017

Instead of that route line, use


Quidquid latine dictum sit, altum videtur. 

-----Original Message-----
From: Michael McConnell <michael at>
To: bird-users at
Sent: Sat, 25 Mar 2017 5:39 AM
Subject: BGP Community Filter Static Route

Trying to run a bgp filter like so;

if (net = || (641111, 666) ~ bgp_community ) then
                               route reject;

Of course I run into a syntax error as I can’t inject the static route there.

Any suggestions as to how I export a route based on a bgp community string? e.g. if community set export route. 

Thanks so much,

Michael McConnell
WINK Streaming;
email: michael at <mailto:michael at>
phone: +1 312 281-5433 x 7400
cell: +506 8706-2389
skype: wink-michael
web: <>

More information about the Bird-users mailing list