VRF route leaking needs to be added to CLI. Routes can be leaked using:
FRR vtysh: ip route 192.0.2.0/24 172.18.204.254 vrf red nexthop-vrf default
This will add a routing table entry into VRF red for destination 192.0.2.0/24 going via the default VRF
vyos# show ip route vrf red Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued route, r - rejected route VRF red: K 0.0.0.0/0 [255/8192] unreachable (ICMP unreachable), 00:33:44 S>* 192.0.2.0/24 [1/0] via 172.18.204.254, eth0.204(vrf default), 00:01:01
Question is now how should the CLI command be named?
An idea would be set protocols vrf <name> static route <subnet> next-hop <address> next-hop-vrf <vrf> which would mimic the CLI used by next-hop-interface.