Chapter 5 Managing the ACE Software
Using the File System on the ACE
5-26
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Saving show Command Output to a File
You can force all
show
screen output to be directed to a file by appending
>
filename
to any command. For example, you can enter
show interface >
filename
at the Exec mode CLI prompt to redirect the interface configuration command
output to a file created at the same directory level.
The syntax for redirecting
show
command output is as follows:
show
keyword
[| {
begin
pattern
|
count
|
end
|
exclude
pattern
|
include
pattern
|
last
|
more
}] [
>
{
filename
| {
disk0:
|
volatile
}
:
[
path/
][
filename
]
| {
ftp://
server
/
path
[
/
filename
]
|
sftp://
[
username
@
]
server
/
path
[
/
filename
] |
tftp://
server
[
:
port
]
/
path
[
/
filename
]}
The arguments, keywords, and options include:
•
|
—(Optional) Enables an output modifier that filters the command output.
•
begin
pattern
—Begins with the line that matches the pattern that you specify.
•
count
—Counts the number of lines in the output.
•
end
pattern
—Ends with the line that matches the pattern that you specify.
•
exclude
pattern
—Excludes the lines that match the pattern that you specify.
•
include
pattern
—Includes the lines that match the pattern that you specify.
•
last
—Displays the last few lines of the output.
•
more
—Displays one window page at a time.
•
>
—(Optional) Enables an output modifier that redirects the command output
to a file.
•
filename
—Name of the file that the ACE saves the output to on the volatile:
file system.
•
disk0:
—Specifies that the destination is the disk0: file system on the ACE
Flash memory.
•
volatile:
—Specifies that the destination is the volatile: file system on the
ACE.
•
[
path/
][
filename
]—(Optional) Path and filename to the disk0: or volatile: file
system.