[PATCH,RFC] Allow exchanging LOCAL_PREF with eBGP peers.
Ondrej Zajicek
santiago at crfreenet.org
Sun Feb 19 00:57:29 CET 2017
On Sat, Feb 18, 2017 at 05:41:07AM +0200, Lennert Buytenhek wrote:
> Hello!
>
> I've attached a patch that allows (selectively) exchanging LOCAL_PREF
> with eBGP peers.
>
> The BGP RFC (RFC4271) says that you shouldn't send LOCAL_PREF to eBGP
> peers, but most modern BGP implementations have an override to allow
> doing this anyway, and it is very useful in some scenarios, for example
> if you have a network topology a la RFC7938.
>
> This patch enables this functionality by the 'ebgp localpref' clause
> in a bgp protocol statement, for example:
>
> protocol bgp mypeer {
> [...];
> ebgp localpref rx;
> }
>
> This option works like 'add paths', in that the possible arguments are
> "rx" or "tx" or a bool (where "yes" means both rx and tx).
Hello
I think it is a useful feature. But rx/tx values seems like a bit
overengineering. If for some obscure reason someone wants it just
one way, it can easily be done in filters.
--
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170219/90a1a012/attachment.asc>
More information about the Bird-users
mailing list