Copy VM Files

About this task

Perform this task to copy files between the Network Operating System (NOS) and a VM, or between VMs.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Copy a file:

    virtual-service copy-file WORD<1-256> WORD<1-256>

Examples

Copy a file from the NOS to a VM:

Switch:1>enable
Switch:1#virtual-service copy-file /intflash/config_figw.cfg figw:/home/rwa/configs/config.cfg

Copy a file from a VM to the NOS:

Switch:1>enable
Switch:1#virtual-service copy-file figw:/home/rwa/configs/config.cfg /intflash/config_figw.cfg

Copy a file between VMs:

Switch:1>enable
Switch:1#virtual-service copy-file figw:/home/rwa/configs/config.cfg figw2:/home/rwa/configs/config.cfg