adding MED to + bgp_med

Łukasz Trąbiński lukasz at trabinski.net
Wed Jun 5 23:30:25 CEST 2019


Hi again

I answer myself. "bgp_med = bgp_med + 100” works only when "rs client” is set. Is it feature or bug?

> Wiadomość napisana przez Łukasz Trąbiński <lukasz at trabinski.net> w dniu 05.06.2019, o godz. 16:02:
> 
> Hello
> 
> In my configuration I export policy function like this:
> 
> 
> if (yyyyy,xxxxx) ~ bgp_community && (defined (bgp_med)) then {
>        bgp_med = bgp_med + 100;
>        accept;
>        }
> 
> It worked well in 1.6.4
> 
> if the prefix was set community yyyyy,xxxxx and med was set to for example = 20, med was set to 120 in export bgp session.
> In version 1.6.6 it looks like it does not work, med is set = 100. Something was changed beetwen versions? Maybe it’s a bug?
> 
> 
> 
> Łukasz Trąbiński
> 




More information about the Bird-users mailing list