Cisco Cisco ASR 5000
Exec Mode Commands (A-C)
crash copy ▀
Command Line Interface Reference, StarOS Release 18 ▄
4045
[ http: | ftp: | sftp: ]//[ username [ :password ]@ ] { host }[ :port# ][
/directory ]/file_name
Important:
Use of the SMC hard drive is not supported in this release.
directory:
the name of the target directory.
username:
the username to be authenticated to provide access to targeted server.
password:
the username’s password to be authenticated.
host:
the IP address or host name of the targeted server.
port#:
the number of the target server’s logical port used for the selected communication protocol.
Important:
Do not specify a target filename as this will prevent the file from writing to the target server. The
system generates and provides a timestamp-based filename that appears at the destination when the
copy
command
completes.
core
Copies the core dump to the targeted storage server. The core cannot be copied alone; it must be part of a
crash copy
action included when copying a crash file.
Usage
Copy crash files of core dump to another location for backup or analysis.
Example
The following uses FTP to copy stored record number
5
and the core dump from the crash record list to a
targeted remote node directory called
crasharchive
through port
22
of the targeted server
remoteABC
with access through user
homeboy
whose password is
secret.7.word
.
crash copy number 5 url ftp://homeboy:secret.7.word@
remoteABC:22/crasharchive/ core
remoteABC:22/crasharchive/ core