Re: adding MED to + bgp_med

2019-06-05 Thread Ondrej Zajicek
On Wed, Jun 05, 2019 at 11:30:25PM +0200, Łukasz Trąbiński wrote: > > Hi again > > I answer myself. "bgp_med = bgp_med + 100” works only when "rs client” is > set. Is it feature or bug? Hi It works the same in 1.6.4 and 1.6.6. But you are right that it does not on regular EBGP sessions. That

Re: adding MED to + bgp_med

2019-06-05 Thread Łukasz Trąbiński
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 w dniu > 05.06.2019, o godz. 16:02: > > Hello > > In my configuration I export policy function like this: > > > if (y,x) ~

adding MED to + bgp_med

2019-06-05 Thread Łukasz Trąbiński
Hello In my configuration I export policy function like this: if (y,x) ~ 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 y,x and med was set to for example = 20, med