Chapter 5
Managing the ACE Software
Displaying File Contents
OL-11157-01
image:filename—Deletes the specified file from the image: file system. The
•
delete image: command is available only in the Admin context.
volatile:filename—Deletes the specified file from the volatile: file system.
•
For example, to delete a copy of the running-configuration file called
MY_RUNNING-CONFIG1 from the MYSTORAGE directory on the disk0: file
system, enter:
host1/Admin# delete disk0:MYSTORAGE/MY_RUNNING-CONFIG1
To display the contents of a specified file in a directory in Flash memory or in
nonvolatile memory, use the show file command. The syntax for this command is:
show file {disk0: [path/]filename | volatile: filename} [cksum | md5sum]
The keywords, arguments, and options are:
disk0: [path/]filename—The name of a file residing in the disk0: file system
•
of Flash memory (for example, a packet capture buffer file or system message
log). You can optionally provide a path to a file in a directory in the disk0: file
system.
volatile: filename—Specifies the name of a file in the volatile memory file
•
system of the ACE.
cksum—(Optional) Displays the cyclic redundancy check (CRC) checksum
•
for the file. The checksum values compute a CRC for each named file. Use
this command to verify that the file is not corrupt. You compare the checksum
output for the received file against the checksum output for the original file.
md5sum—(Optional) Displays the MD5 checksum for the file. MD5 is an
•
electronic fingerprint for the file. MD5 is the latest implementation of the
internet standards described in RFC 1321 and is useful for data security and
integrity.
For example, to display the contents of a file residing in the current directory,
enter:
host1/Admin# show file disk0:myfile md5sum
3d8e05790155150734eb8639ce98a331
Cisco 4700 Series Application Control Engine Appliance Administration Guide
Using the File System on the ACE
5-25