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@winkstreaming.com
phone: +1 312 281-5433 x 7400
cell: +506 8706-2389
skype: wink-michael
web: http://winkstreaming.com