Use bgp_aigp instead of bgp_med to select the optimal route based on delay

Brandon Zhi Brandon at huize.asia
Tue Oct 10 01:33:52 CEST 2023


I use bgp confederation. The problem with BGP med is that the priority of
as path len is higher than BGP med, which means some upstream with longer
as path would never be selected. Even though it has the best ping.

Douglas Fischer <fischerdouglas at gmail.com> 于 2023年10月10日周二 上午2:59写道:

> It makes a lot sense!
> On a scenario of an Off-Path RR, aigp works perfectly.
>
> But... You are probably using this to ebgp, right?
> Why not set med as aigp, and then test med?
>
> Em seg., 9 de out. de 2023 às 15:34, Brandon Zhi <Brandon at huize.asia>
> escreveu:
>
>> Hi all,
>>
>> I plan to use bgp_aigp instead of bgp_med to find the optimal route based
>> on incremental pings per node. For example, if the delay between one node
>> and another node is 40, then bgp_aigp increases by 40 after passing this
>> ibgp.
>>
>> void bgp_aigp [O]
>> This attribute contains accumulated IGP metric, which is a total
>> distance to the destination through multiple autonomous systems.
>> Currently, the attribute is not accessible from filters.
>>
>> But it seems I can't modify this value?
>>
>> Best Regard,
>> *Brandon Zhi*
>> HUIZE LTD
>> www.huize.asia  <https://huize.asia/>| www.ixp.su | Twitter
>>
>> This e-mail and any attachments or any reproduction of this e-mail in
>> whatever manner are confidential and for the use of the addressee(s) only.
>> HUIZE LTD can’t take any liability and guarantee of the text of the email
>> message and virus.
>>
>
>
> --
> Douglas Fernando Fischer
> Engº de Controle e Automação
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20231010/51e72ee1/attachment.htm>


More information about the Bird-users mailing list