1-16
Cisco SCE 8000 CLI Command Reference
Chapter 1 Command-Line Interface
Managing Command Output
The syntax of filtered commands is as follows:
• <command>| include <expression>
• <command>| exclude <expression>
• <command>| begin <expression>
Following is an example of how to filter the show version command to display only the last part of the
output, beginning with the version information.
SCE8000# show version | begin revision
Redirecting Command Output to a File
You can redirect the output of commands, such as show, more, and dir, to a file. When writing the output
of these commands to a file, you can specify either of the following options:
• redirect — The new output of the command will overwrite the existing contents of the file.
• append — The new output of the command will be appended to the existing contents of the file.
The syntax of redirection commands is as follows:
• <command>| redirect <file-name>
• <command>| append <file-name>
Following is an example of how to do the following:
• Filter the more command to display from a csv subscriber file only the gold package subscribers.
• Redirect that output to a file named current_gold_subscribers. The output should not overwrite
existing entries in the file, but should be appended to the end of the file.
SCE8000# more subscribers_10.10.2008 include gold | append current_gold_subscribers
Comments to this Manuals