BGP-Routing-Filter "set bgp-med" on ROSv7.2.1

Hey @ all,
I just made an upgrade to ROS7.2.1 with my bgp-configuration. So far everything looks good, all settings are correctly migrated.
Only thing thats a bit tricky:
When Router1 wants to announce a route to his neighbor, there is a routing filter set, which changes the bgp-med.

Konfig on ROSv6.49:

/routing filter
add action=accept chain=secondary-out set-bgp-med=110

Konfig on upgraded ROSv7.2.1:

/routing filter rule
add chain=secondary-out disabled=no rule="set bgp-med 110; accept "

On Router2, when I check the received routes from Router1, there is noc MED set in status-field.
What could here be the issue?
Thanks and best regards.

change to bgp-out-med

Hey, thanks for the quick response.
I tried to set bgp-out-med. No change on the remote side. Also tried to change the distance on the routes. Still no change on remote side.
Another thing is that my default template is red and marked as “invalid”.


/routing bgp template
set default as=12345 disabled=no nexthop-choice=force-self output.filter-chain=secondary-out .network=
bgp-networks .redistribute=static router-id=172.200.36.12 routing-table=main

The routes are announced completely and with the right gateway. Just the output-routing filter does not work
Regards

Update: When I set the med-change on the target router as an input-filter, it works.

set bgp-out-med

works for ebgp but not ibgp

According to https://help.mikrotik.com/docs/display/ROS/Route+Selection+and+Filters we should use

set bgp-med

for ibgp, but it does not work either

Tested on ROSv7.3.1

Workaround is to use something like bgp communities

@mrz

can u give us an example of bgp community on v7, no wiki pls

I have large BGP deployment and all based on ROS 6 and bgp-med in output is the discriminator.
I have tried ROS last version 7.12.1 I confirm it continue to not work.

to me is abnormal that it does not work.

any tought?

Any update from Mikrotik for working set bgp-med function (out-filter) ?
I need MED function to advertise ospf type1 into iBGP for best routing decision.

No luck until v7.16

bgp-out-med…

set bgp-out-med for eBGP.
set bgp-med for iBGP.

That's according to mikrotik user guide here

Btw I tried both for iBGP and doesn't work at all