Managing Core Dump Files
Detailed Steps
Command
Step 1
dir core:
Example:
host1/Admin# dir core:
Step 2
copy core: filename
{disk0:[ path/ ][ filename ] |
ftp: //server/path [ /filename ] |
sftp: // [ username@ ] server/path [ /filename ]
| tftp: //server [ :port ] /path [ /filename ]}
Example:
host1/Admin# copy
core:0x401_vsh_log.8249.tar.gz
ftp://192.168.1.2
Enter the destination filename[]?
[0x401_vsh_log.8249.tar.gz]
Enter username[]? user1
Enter the file transfer mode[bin/ascii]:
[bin]
Password:
Passive mode on.
Hash mark printing on (1024 bytes/hash
mark).
Clearing the Core Directory
This section describes how to clear out all of the core dumps stored in the core: file system.
Restrictions
You must perform this task from the Admin context only.
Cisco 4700 Series Application Control Engine Appliance Administration Guide
4-22
Purpose
(Optional) Displays the list of available core files. You can copy
the complete filename (for example,
0x401_vsh_log.25256.tar.gz) into the copy core: command.
Saves a core dump from the ACE to the disk0: file system or to a
remote server.
The keywords, arguments, and options are as follows:
filename—Core dump that resides on the ACE in Flash
•
memory.
disk0:[path/][filename]—Specifies a file location for the
•
core dump in the disk0: file system and a filename for the
core.
ftp://server/path[/filename]—Specifies the FTP network
•
server and, optionally, the renamed core dump.
When using FTP, the bin (binary) file transfer mode is
intended for transferring compiled files (executables). The
ascii file transfer mode is intended for transferring text files,
such as config files. The default selection of bin mode should
be sufficient in all cases when copying files to a remote FTP
server.
sftp://[username@]server/path[/filename]—Specifies the
•
SFTP network server and, optionally, the renamed core
dump.
tftp://server[:port]/path[/filename]—Specifies the TFTP
•
network server and, optionally, the renamed core dump.
When you select a destination file system using ftp:, sftp:, or
tftp:, the ACE performs the following tasks:
Prompts you for your username and password if the
•
destination file system requires user authentication.
Prompts you for the server information if you do not provide
•
the information with the command.
Copies the file to the root directory of the destination file
•
system if you do not provide path information.
Chapter 4
Managing the ACE Software
OL-20823-01