BGP dynamic filtering

Stanislaw me at nek0.net
Tue Feb 14 13:20:46 CET 2017


Hi, 

Yes, you can do that. The best practice (at least for myself) is using
the separate auto-generated config with prefix-lists which is included
to the bird.conf. After regenerating it via some of your scripts, just
run birdc configure. The reconfiguration of import/export filters is
completely seamless. As for the performance impact: it uses some extra
CPU power for recalculating bestpathes but it lasts for ~1 second on
modern CPUs. 

Whant kind of example do you want? Just make another file, write your
prefix-lists as a variables (or constants) there and use the 'include'
statement in the bird.conf. Ofc, use those variables in your filters. 

Liran Schour писал 2017-02-14 13:46:

> Hi all,
> 
> I want to implement a dynamic filter where I will export a route based on matching against a dynamic set of prefixes. The set is maintained according to a database.
> 
> 1. Can I maintain a dynamic set of prefixes and change the set on the fly? What are the performance impacts of this?
> 2.. Where can I find such an example? 
> 
> - Liran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170214/43927f74/attachment.html>


More information about the Bird-users mailing list