copy core
Use this command to copy the core file to another file.
The core filename is in the form: core_PROCESSNAME.PROCID_YYYMMDD_HHMMSS_signal_SIGNUM.gz
Command Syntax
copy core FILE (tftp TFTP-URL|ftp FTP-URL|scp SCP-URL|sftp SFTP-URL) (vrf (NAME|management)|)
Parameters
core
Copy Crash core files to remote location. Core file location: /var/log/crash/cores/
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 core core_hostpd.9581_20190324_222313_signal_11.gz scp scp://10.12.16.17/home/ core core_hostpd.9581_20190324_222313_signal_11.gz vrf management
Enter Username:root
Enter Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 681k 0 0 0 681k 0 3588k --:--:-- --:--:-- --:--:-- 3588k
100 681k 0 0 0 681k 0 3588k --:--:-- --:--:-- --:--:-- 3588k
Copy Success
Last modified date: 10/19/2023