Reconfiguring problem while having a lot of static routes
Hello I have a bird 1.6.3 installation where is over 500k static routes. From some moment service reconfiguring occupies significant time (over 20 minutes). Is there some method to reduce time needed to reconfigure? My config is below log syslog all; router id X.X.X.X; filter BGW_WAN_import { if net ~ [0.0.0.0/0] then accept; reject; } filter BGW_LAN_import { reject; } filter BGW_LAN_export { if dest = RTD_UNREACHABLE then reject; accept; } filter DROP_STATIC { if dest = RTD_BLACKHOLE then { bgp_community.add((65535, 65282)); bgp_community.add((X, 666)); accept; } if source = RTS_STATIC then reject; if source = RTS_BGP then accept; reject; } protocol bgp BGW1_WAN { local as 65511; neighbor Y.Y.Y.X as X; import filter BGW_WAN_import; export filter DROP_STATIC; } protocol bgp BGW0_WAN { local as 65511; neighbor Y.Y.Y.Z as X; import filter BGW_WAN_import; export filter DROP_STATIC; } protocol device { scan time 10; } protocol kernel { scan time 10; export filter DROP_STATIC; } protocol static { include "/opt/etc/bird/static_null.conf"; } in /opt/etc/bird/static_null.conf there is routes like this: route 13.59.179.106/32 drop; WBR, Vasily
On Mon, Aug 26, 2019 at 12:30:04PM +0500, Vasily Oleynikov wrote:
Hello
I have a bird 1.6.3 installation where is over 500k static routes. From some moment service reconfiguring occupies significant time (over 20 minutes). Is there some method to reduce time needed to reconfigure? My config is below
Hello You have two options: 1) Upgrade to BIRD 2, where this issue is fixed. 2) Split routes to multiple static protocols, each with say 2k routes. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Ondrej Zajicek -
Vasily Oleynikov