Specifications
1-18
Cisco Wide Area Application Services Command Reference
OL-21611-01
Chapter 1 Using the WAAS Command-Line Interface
Managing WAAS Files Per Device
Managing WAAS Files Per Device
The WAAS CLI provides several commands for managing files and viewing their contents per device.
These commands are entered from privileged EXEC mode. Table 1-5 describes the WAAS file
management commands.
The following example shows how to save the currently running configuration to the startup
configuration using the copy EXEC command:
WAE# copy running-config startup-config
Table 1-5 WAAS File Management Commands
Command Description
copy {source | image} Copy—Copies the selected source file, image, or configuration
information:
• cdrom—Copies the file from the CDROM.
• compactflash—Copies the file from the CompactFlash card.
• disk—Copies the configuration or file from the disk.
• ftp—Copies the file from the FTP server.
• http—Copies the file from the HTTP server.
• running-config—Copies information from the current system
configuration.
• startup-config—Copies information from the startup configuration.
• sysreport—Copies system information.
• system-status—Copies the system status for debugging reference.
• tech-support—Copies system information for technical support.
• tftp—Copies the software image from the TFTP server.
cpfile source-filename
destination-filename
Copy File—Makes a copy of a source file, and puts it in the current
directory.
delfile filename Remove File—Deletes the specified file from the current directory path.
less filename Display File Using LESS—Displays the specified file on the screen using
the LESS program. The filename is case sensitive. Enter q to stop viewing
the file and return to the directory.
mkfile filename Create File—Creates a file of the specified name in the current directory
path.
rename old-filename
new-filename
Rename File—Renames the specified file with a new filename.
type filename Display File—Displays the content of the specified file on the screen.
type-tail filename [line |
follow | | {begin LINE |
exclude LINE | include
LINE}]
Display End of File—Displays the last few lines of the specified file. Can
also be used to view the last lines of a file continuously as new lines are
added to the file, to start at a particular line in the file, or to include or
exclude specific lines in the file.
find-pattern pattern Find in a File—Searches a file for the specified pattern.