copy scp filepath
Use this command to copy the remote system file using SCP to the local device.
Note: OcNOS has a dedicated partition called /cfg for storing system level configurations, OcNOS configurations and license data. This is persistent across reboots and upgrades and consists of directories /cfg/ and /usr/local/etc. Copying user/general files under /cfg partition is discouraged because the size of this partition is very small and impacts normal system operations like bootup/upgrades and important system files copy when it doesn't have enough space. Users are recommended to use /home to copy the general files. Please note that the contents placed in /home directory are deleted upon software upgrade.
Command Syntax
copy scp SCP-URL (filepath FILEPATH) (vrf (NAME|management)|)
Parameters
SCP-URL
Configuration source: scp:[//server][/path]
FILEPATH
Enter the local filesystem path with filename
NAME
Virtual Routing and Forwarding name
management
Management Virtual Routing and Forwarding
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 3.0.
Examples
#copy scp scp://10.12.65.89/root/cmlsh filepath /root/cmlsh vrf management
Last modified date: 10/19/2023