I can't improve on @shaoranrch.
Here is an alternate if you want to use VLANs and VRF's on the same router. The last two routes are for redistributing into your IGP and from there you can use Route Filters to do any further manipulation of route information. Obviously there are a few different ways to accomplish what you want to do depending on complexity, your specific design, etc.
Again if what you are trying to accomplish mirrors the cisco config that you pasted below then @shaoranrch post will be the best solution.
Hope this helps and best of luck!
/ip address
add address=172.16.6.1/24 interface=vlan200 network=172.16.6.0
add address=172.16.7.1/24 interface=vlan300 network=172.16.7.0
/ip route vrf
add export-route-targets=200:0 import-route-targets=200:0 interfaces=vlan200 route-distinguisher=200:0 routing-mark=VLAN200
add export-route-targets=300:0 import-route-targets=300:0 interfaces=vlan300 route-distinguisher=300:0 routing-mark=VLAN300
/ip route
add distance=1 gateway=172.16.4.2@main routing-mark=VLAN200
add distance=1 gateway=172.16.4.3@main routing-mark=VLAN300
add distance=1 dst-address=172.16.6.0/24 gateway=vlan200
add distance=1 dst-address=172.16.7.0/24 gateway=vlan300
[quote="tishri"]This is a sample config from cisco website. Can you help me translate these instructions to mikrotik equivalent?
interface Serial0
ip address 172.16.5.1 255.255.255.0
ip policy route-map Sally
!
access-list 1 permit 172.16.6.0 0.0.0.255
access-list 2 permit 172.16.7.0 0.0.0.255
!
route-map Sally permit 10
match ip address 1
set ip next-hop 172.16.4.2
!
route-map Sally permit 15
match ip address 2
set ip next-hop 172.16.4.3