changing BGP default bgp_local_pref resets protocol
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: protocol bgp bgp_transit_companyname_v6 {
ipv6 { import table; import keep filtered; import filter bgp_in_transit_companyname; export filter bgp_out_transit_companyname; }; local as MY_AS; neighbor 2001:db8::1 as 64496; default bgp_local_pref 45; }
Is this supposed to happen? Is there a way to get it not to happen? I would expect this change to simply change the local preference on all of the routes I have received, which would be much less disruptive. Thanks, Ross
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@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."
Okay, I will do that instead. Thank you. On Sun, Jul 25, 2021, 9:01 AM Ondrej Zajicek <santiago@crfreenet.org> wrote:
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@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 -
Ross Tajvar