5-19
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 5 Managing the ACE Software
Using the File System on the ACE
Copying Files from a Remote Server
To copy a file from a remote server to a location on the ACE using FTP, SFTP, or
TFTP, use the
copy
command in Exec mode.
The syntax for the command is:
copy
{
ftp://
server
/
path
[
/
filename
]
|
sftp://
[
username
@
]
server
/
path
[
/
filename
] |
tftp://
server
[
:
port
]
/
path
[
/
filename
]} {
disk0:
[
path
/
]
filename
|
image:
image_name
|
running-config
|
startup-config
}
The keywords, arguments, and options are:
•
ftp://
server
/
path
[
/
filename
]—Specifies the FTP network server and,
optionally, the filename.
•
sftp://
[
username
@
]
server
/
path
[
/
filename
]—Specifies the SFTP network
server and, optionally, the filename.
•
tftp://
server
[
:
port
]
/
path
[
/
filename
]—Specifies the TFTP network server and,
optionally, the filename.
•
disk0:
[
path
/]
filename
—
Specifies a file destination in the disk0: file system
of Flash memory. If you do not provide the optional path, the ACE copies the
file to the root directory on the disk0: file system.
•
image:
image_name
—Specifies to copy a system software image to Flash
memory. Use the
boot system
command as described in
Chapter 1, Setting
Up the ACE
to specify the BOOT environment variable. The BOOT
environment variable specifies a list of image files on various devices from
which the ACE can boot at startup.
•
running-config
—Specifies to replace the running-configuration file
currently residing on the ACE in RAM (volatile memory).
•
startup-config
—Specifies to replace the startup-configuration file currently
residing on the ACE in Flash memory (nonvolatile memory).
For example, to copy a startup-configuration file from a remote FTP server to the
disk0: file system, enter:
host1/Admin#
copy ftp://192.168.1.2/ startup-config
Enter source filename[]?
startup_config_Adminctx
File already exists, do you want to overwrite?[y/n]: [y] y
Enter username[]?
user1
Enter the file transfer mode[bin/ascii]: [bin]
Password:
Passive mode on.
Hash mark printing on (1024 bytes/hash mark).