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: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
signature.asc
Description: Digital signature
