This documentation has been moved
Show Command Output Redirection
Downloads: This chapterpdf (PDF - 102.0KB) The complete bookPDF (PDF - 2.76MB) | Feedback

show Command Output Redirection

Table Of Contents

show Command Output Redirection

Finding Feature Information

Contents

Information About show Command Output Redirection

How to Use the show Command Enhancement

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Feature Information for show Command Output Redirection


show Command Output Redirection


Last Updated: December 3, 2010

The show Command Output Redirection feature provides the capability to redirect output from Cisco IOS command-line interface (CLI) show commands and more commands to a file.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for show Command Output Redirection" section.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Contents

Information About show Command Output Redirection

How to Use the show Command Enhancement

Additional References

Feature Information for show Command Output Redirection

Information About show Command Output Redirection

This feature enhances the show commands in the Cisco IOS CLI to allow large amounts of data output to be written directly to a file for later reference. This file can be saved on local or remote storage devices such as Flash, a SAN Disk, or an external memory device.

For each show command issued, a new file can be created, or the output can be appended to an existing file. Command output can optionally be displayed on-screen while being redirected to a file by using the tee keyword. Redirection is available using a pipe (|) character after any show command, combined with the following keywords:

Keyword
Usage

append

Append redirected output to URL (URLs supporting append operation only)

begin

Begin with the line that matches

count

Count number of lines which match regexp

exclude

Exclude lines that match

format

Format the output using the specified spec file

include

Include lines that match

redirect

Redirect output to URL

tee

Copy output to URL


Output redirection keywords:

These extenstions can also be added to more commands.

How to Use the show Command Enhancement

No configuration tasks are associated with this enhancement. For usage guidelines, see the command reference documents listed in the "Related Documents" section.

Additional References

Related Documents

Related Topic
Document Title

Cisco IOS commands

Cisco IOS Master Commands List, All Releases

Cisco IOS configuration commands

Cisco IOS Configuration Fundamentals Command Reference


Standards

Standard
Title

No new or modified standards are supported, and support for existing standards has not been modified


MIBs

MIB
MIBs Link

No new or modified MIBs are supported, and support for existing MIBs has not been modified.

To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


RFCs

RFC
Title

No new or modified RFCs are supported, and support for existing RFCs has not been modified.


Technical Assistance

Description
Link

The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

http://www.cisco.com/cisco/web/support/index.html


Feature Information for show Command Output Redirection

Table 1 lists the release history for this feature.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.


Note Table 1 lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.


Table 1 Feature Information for the show Command Ouput Redirection Feature

Feature Name
Releases
Feature Information

show Command Output Redirection

12.0(21)S
12.2(13)T

The show Command Output Redirection feature provides the capability to redirect output from Cisco IOS command-line interface (CLI) show commands and more commands to a file.

The following commands were introduced or modified: show, and more.



Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)