changing BGP default bgp_local_pref resets protocol

Ondrej Zajicek santiago at crfreenet.org
Sun Jul 25 15:01:42 CEST 2021


On Sun, Jul 25, 2021 at 02:47:55AM -0400, Ross Tajvar wrote:
> Hi,
> 
> When I change the "default bgp_local_pref" value for a bgp protocol, it
> causes the session to drop and re-establish. Here is an example config:
> 
> Is this supposed to happen? Is there a way to get it not to happen? 

Hi

It is true that reconfiguration of 'default bgp_local_pref' could be done
in a better way by just reloading routes. But the primary way to set
bgp_local_pref is by using filters - '{ bgp_local_pref = 40; accept; }',
you can change that and reconfigure, BIRD would just reload routes.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at 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."


More information about the Bird-users mailing list