Chapter 4
Managing the ACE Software
Detailed Steps
Command
copy {core: filename | disk0:[ path/ ] filename |
running-config | startup-config}
{ftp: //server/path [ /filename ] |
sftp: // [ username@ ] server/path [ /filename ] |
tftp: //server [ :port ] /path [ /filename ]}
Example:
host1/Admin# copy running-config
ftp://192.168.215.124/running-config_Adminctx
Enter username[]? user1
Enter the file transfer mode[bin/ascii]: [bin]
Password: password1
Passive mode on.
Hash mark printing on (1024 bytes/hash mark).
####
OL-20823-01
Purpose
Copies a file from Flash memory on the ACE to a remote server
using FTP, SFTP, or TFTP.
The keywords, arguments, and options are as follows:
core:filename—Specifies a core dump residing on the ACE
•
in Flash memory (see the
section). The copy core: command is available only in the
Admin context. Use the dir core: command to view the
core dump files available in the core: file system. Copy the
complete filename (for example,
0x401_vsh_log.25256.tar.gz) by using the copy core:
command.
disk0:[path/]filename—Specifies a file in the disk0: file
•
system of Flash memory (for example, a packet capture
buffer file, ACE licenses in .tarformat, or a system message
log). Use the dir disk0: command to view the files
available in the disk0: file system.
running-config—Specifies the running-configuration file
•
residing on the ACE in volatile memory.
startup-config—Specifies the startup-configuration file
•
currently residing on the ACE in Flash memory.
ftp://server/path[/filename]—Specifies the FTP network
•
server and, optionally, the renamed file.
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 file.
tftp://server[:port]/path[/filename]—Specifies the TFTP
•
network server and, optionally, the renamed file.
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.
Cisco 4700 Series Application Control Engine Appliance Administration Guide
Using the File System on the ACE
"Managing Core Dump Files"
4-11