Foster one BGP peer in case of AS path equality

Keenan Tims ktims at
Thu Mar 2 20:23:10 CET 2017

You can accomplish this by setting `med metric on` in your BGP  
protocols, and set bgp_med in the import policy to affect which route  
is selected when localpref and as-path-length are the same.


Quoting Alarig Le Lay <alarig at>:

> Hi,
> I have an AS (204092) with two upstreams (174 and 198507). On some
> cases, the AS path is the same on both peers. I would like to use 198507
> over 174 only in this situation (so, no localpref).
> If I read the documentation correctly, I have take of « Prefer routes
> with lower internal distance to a boundary router. ». But I don’t see
> where I can set this internal distance.
> Does anybody have any clue about that?
> Thanks,
> --
> alarig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: PGP Digital Signature
URL: <>

More information about the Bird-users mailing list