Foster one BGP peer in case of AS path equality
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
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. Keenan Quoting Alarig Le Lay <alarig@swordarmor.fr>:
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
On jeu. 2 mars 19:23:10 2017, Keenan Tims wrote:
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.
Hi, I tried this, but forgotten to set med metric to on. Thanks a lot, all is working now. -- alarig
participants (2)
-
Alarig Le Lay -
Keenan Tims