adding MED to + bgp_med

Łukasz Trąbiński lukasz at trabinski.net
Wed Jun 5 16:02:02 CEST 2019


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