BGP Community Filter Static Route

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


Instead of that route line, use

dest = RTD_UNREACHABLE;

Quidquid latine dictum sit, altum videtur. 

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

Trying to run a bgp filter like so;

if (net = 10.10.10.10/24 || (641111, 666) ~ bgp_community ) then
                        {
                               route 10.10.10.10/24 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,
Mike

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



More information about the Bird-users mailing list