BGP in VRF, routeros_v7

Hi,

I got same problem.

I think Is the same related on http://forum.mikrotik.com/t/bgp-received-routes-not-installed-in-correct-vrf/154136/1

No @vrf suffix on route table.

For example on my config peering is in a bond interface and another interface is the connected one so when I do

> routing/route/print
Flags: U, A - ACTIVE; c, s, b, y - COPY; H - HW-OFFLOADED
Columns: DST-ADDRESS, GATEWAY, AFI, DISTANCE, SCOPE, TARGET-SCOPE, IMMEDIATE-GW
    DST-ADDRESS     GATEWAY                 AFI   DI  SC  TA  IMMEDIATE-GW
As  0.0.0.0/0       192.168.0.1             ip4    1  30  10  192.168.0.1%ether1
Ac  192.168.0.0/24  ether1                  ip4    0  10      ether1
UbH 10.0.0.0/24     10.0.0.2                ip4   20  40  10
Ac  10.0.0.0/24     bond-bs-02@vrf-test     ip4    0  10      bond-bs-02
Ac  10.0.1.0/24     sfp-sfpplus12@vrf-test  ip4    0  10      sfp-sfpplus12
UbH 10.0.2.0/24     10.0.0.2                ip4   20  40  10

Local intefaces on vrf (bond-bs-02 and sft-sftpplus12 have it routes on right vrf (@vrf-test) but 10.0.2.0/24 learned from bgp no.

 > routing/route/print detail
Flags: X - disabled, F - filtered, U - unreachable, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - mo>
H - hw-offloaded; + - ecmp, B - blackhole
 UbH  afi=ip4 contribution=unreachable dst-address=10.0.2.0/24
       routing-table=vrf-test gateway=10.0.0.2 distance=20 scope=40
       target-scope=10 belongs-to="BGP IP routes from 10.0.0.2@*2"
       bgp.peer-cache-id=*B000003 .as-path="65002" .atomic-aggregate=yes
       .origin=igp
       debug.fwp-ptr=0x20242180

So in gateway is missing the @vrf-test
and

 > ip route/print
Flags: D - DYNAMIC; I, A - ACTIVE; c, s, b, y - COPY; H - HW-OFFLOADED
Columns: DST-ADDRESS, GATEWAY, DISTANCE
#      DST-ADDRESS     GATEWAY                 DISTANCE
0  As  0.0.0.0/0       192.168.0.1                    1
  DAc  192.168.0.0/24  ether1                         0
  DIbH 10.0.0.0/24     10.0.0.2                      20
  DAc  10.0.0.0/24     bond-bs-02@vrf-test            0
  DAc  10.0.1.0/24     sfp-sfpplus12@vrf-test         0
  DIbH 10.0.2.0/24     10.0.0.2                      20

Shows the same, not @vrfname on route learned from bgp daemon running on that vrf

 > ip route/print detail
Flags: D - dynamic; X - disabled, I - inactive, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - mo>
H - hw-offloaded; + - ecmp
   DIbH  dst-address=10.0.2.0/24 routing-table=vrf-test gateway=10.0.0.2
         distance=20 scope=40 target-scope=10 suppress-hw-offload=no

Best Regards,

Diego