This document describes how to transfer files between a remote WAN Edge Router and a local vManage through CLI.
Cisco recommends that you have knowledge of these topics:
This document is based on these software and hardware versions:
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
You can transfer files between a remote Edge Router and a local vManage through CLI in two ways:
In order to transfer the files from one location to another, it becomes a difficult task. The most common reasons are these:
However, the SD-WAN solution provides the ability to use control connections to secure copy files between the vManage and a remote Edge Router.
The transfer can be done from Edge Router bootflash file system to the local user home directory in vManage or vice-versa. Examples of files are:
vManage runs the Viptela OS and has 2 modes in CLI:

Command syntax:
The command is read as, use netconf port in VPN 0 to retrieve source_file_name from EdgeSystemIP into destination_directory_in_vManage with WAN Edge Router username.
request execute vpn 0 scp -P 830 USERNAME@EdgeSystemIP:/<source_file_name> <destination_directory_in_vManage>
Example:
Connect to vManage CLI and run the Viptela request, execute the command in VPN 0 along with Secure Copy Protocol (SCP) command to start the copy.
vmanage# request execute vpn 0 scp -P 830 admin@192.168.10.1:/bootflash/vmanage-admin/Edge-20211229-023316-admin-tech.tar.gz /home/admin/
The authenticity of host '[192.168.10.1]:830 ([192.168.10.1]:830)' can't be established.
RSA key fingerprint is SHA256:R8KekCx/giwjCqR5woDm+sodjF5kvU7QxnUexoE1xAw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[192.168.10.1]:830' (RSA) to the list of known hosts.
admin@192.168.10.1's password:
Edge-20211229-023316-admin-tech.tar.gz 100% 13MB 4.8MB/s 00:02
Example:
Connect to vManage CLI, change mode to vShell, and run the SCP command in Linux format.
vmanage# vshell
vmanage:~$ scp -P 830 admin@192.168.10.1:/bootflash/vmanage-admin/Edge-20211229-023316-admin-tech.tar.gz /home/ericgar/
admin@192.168.10.1's password:
Edge-20211229-023316-admin-tech.tar.gz 100% 13MB 4.7MB/s 00:02
Change mode from Viptela CLI to vShell in vManage and verify that the file is copied correctly.
vmanage# vshell
vmanage:~$ ls -l
total 12976
-rw------- 1 ericgar users 13285905 Dec 29 21:21 Edge-20211229-023316-admin-tech.tar.gz

Command syntax:
The command is read as, use netconf port in VPN 0 to copy source_file_name into /bootflash/vmanage-admin/ at EdgeSystemIP with username.
request execute vpn 0 scp -P 830 <source_file_name> username@EdgeSystemIP:/bootflash/vmanage-admin/
Example:
Connect to vManage CLI and run the Viptela request, execute the command in VPN 0 along with SCP syntax to start the copy.
vmanage# request execute vpn 0 scp -P 830 /home/admin/packet_capture_Edge.pcap admin@192.168.10.1:/bootflash/vmanage-admin/
admin@192.168.10.1's password:
packet_capture_Edge.pcap 100% 13MB 3.8MB/s 00:03
Example:
Connect to vManage CLI, change the mode to vShell, and run the SCP copy in Linux format.
vmanage# vshell
vmanage:~$ scp -P 830 /home/ericgar/packet_capture_Edge.pcap admin@192.168.10.1:/bootflash/vmanage-admin/
admin@192.168.10.1's password:
packet_capture_Edge.pcap 100% 13MB 3.8MB/s 00:03
Connect to the Edge Router CLI and display the content of bootflash/vmanage-admin/ to verify the file is copied correctly:
Edge# dir bootflash:/vmanage-admin/
Directory of bootflash:/vmanage-admin/
1498499 -rw- 13285905 Dec 29 2021 16:29:27 -06:00 packet_capture_Edge.pcap
vmanage# request execute vpn 0 scp -P 830 /home/admin/packet_capture_Edge.pcap admin@192.168.10.1:/bootflash/
admin@192.168.10.1's password:
scp: /bootflash//packet_capture_Edge.pcap: Permission denied
Command syntax:
The command is read as: copy source_file_name from vManage into local_destination_path with vManage username.
scp vManageUsername@PublicIp:<source_file_name> <local_destination_path>
Example:
Connect to your local Linux/Mac terminal and run the SCP command to copy the file to your desired directory.
adminIT@cisco:~$ scp admin@10.88.244.25:packet_capture_Edge.pcap /Users/adminIT/Downloads/
viptela 20.5.1
Password:
packet_capture_Edge.pcap 100% 13MB 3.6MB/s
Connect with:
On the right, the files in the vManage user home directory are listed. Just drag and drop to the local destination on the left where you want to transfer the file, as shown in the image.

| Revision | Publish Date | Comments |
|---|---|---|
4.0 |
06-Oct-2026
|
Recertification |
3.0 |
14-Nov-2023
|
Updated Article Description, Style Requirements, Spelling and Formatting. |
2.0 |
01-Jan-2022
|
Correcting format |
1.0 |
31-Dec-2021
|
Initial Release |