Add support to specify vrf with 'save' and 'copy' commands

Hello.
I have a vrf for management purpose. I have moved ssh service to this vrf, and all works fine. But, I can’t save file to TFTP server or via ssh from vyos machine - there is no option for that(like an option with ping command).
I think it would be great if user can specify vrf and source address with ‘save’ and ‘copy’ commands.

As a workaround you can try this:

sudo ip vrf exec foo scp /config/config.boot vyos@192.0.2.1:/home/vyos

Ping was rewritten to the python3

1 Like

here is the task related with ssh/scp on vrf :

https://phabricator.vyos.net/T3915

but it’s not implemented yet.

1 Like

Hope save and copy will rewritten too.