copy techsupport
Use this command to copy the contents of a compressed techsupport file (tar.gz) to another file.
The default filename is in the form: tech_support_YYYY_MMM_DD_HH_MM_SS.tar.gz.
Syntax
copy (log|techsupport) FILE (tftp TFTP-URL|ftp FTP-URL|scp SCP-URL|sftp SFTP-URL) (vrf (NAME|management)|)
Parameters
log
Log file storage; on Linux this refers to /var/log/
techsupport
Tech support file storage; on Linux this refers to /var/log/
FILE
Source file name
TFTP-URL
Destination: tftp:[//server[:port]][/path]
FTP-URL
Destination: ftp:[//server][/path]
SCP-URL
Destination: scp:[//server][/path]
SFTP-URL
Destination: sftp:[//server][/path]
NAME
Virtual Routing and Forwarding name
management
Management Virtual Routing and Forwarding
Default
NA
Command Mode
Privileged EXEC
Applicability
This command was introduced before OcNOS version 1.3.
Example
#copy techsupport tech_support_23_Feb_2019_18_27_00.tar.gz scp scp://10.12.16.17/home/tech_support_23_Feb_2019_18_27_00.tar.gz vrf management
Enter Username:root
Enter Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 72368 0 0 0 72368 0 147k -::- -::- -::- 147k
100 72368 0 0 0 72368 0 147k -::- -::- -::- 147k
Copy Success
#
Last modified date: 08/28/2023