Cisco IOS XE Configuration Fundamentals Configuration Guide, Release 2
Show Command Output Redirection
Downloads: This chapterpdf (PDF - 110.0KB) The complete bookPDF (PDF - 1.48MB) | Feedback

Show Command Output Redirection

Table Of Contents

Show Command Output Redirection

Finding Feature Information

Contents

Information About Show Command Output Redirection

Configuration Examples for Show Command Output Redirection

Redirecting a show interface output to a device attached to a USB port: Example

Additional References

Technical Assistance

Feature Information for Show Command Output Redirection


Show Command Output Redirection


Last Updated: May 4, 2009

This feature adds the capability to redirect output from Cisco IOS XE command-line interface (CLI) show commands and more commands to a file.

Finding Feature Information

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 IOS XE 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

Configuration Examples for Show Command Output Redirection

Feature Information for Show Command Output Redirection

Information About Show Command Output Redirection

This feature enhances the show commands in the Cisco IOS XE 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 redirect, append, or tee keywords.

These extensions can also be added to more commands.

Configuration Examples for Show Command Output Redirection

This section provides the following configuration examples:

Redirecting a show interface output to a device attached to a USB port: Example

Redirecting a show interface output to a device attached to a USB port: Example

This task will show how to redirect a show platform software configuration access policy output to a device attached to a temp1.txt file in the bootflash of an ASR1000 series router.

router#show platform software configuration access policy | redirect bootflash:temp1.txt

router#more bootflash:temp1.txt 
The current access-policies 

Method : telnet 
Rule : wait 
Shell banner: 
Wait banner : 

Method : ssh 
Rule : wait 
Shell banner: 
Wait banner : 

Method : console 
Rule : wait with interrupt 
Shell banner: 
Wait banner : 



===

Additional References

No standards, MIBs, or RFCs are applicable to this feature.

Technical Assistance

Description
Link

The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.

To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.

Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.

http://www.cisco.com/techsupport


Feature Information for Show Command Output Redirection

Table 1 lists the features in this module and provides links to specific configuration information.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS XE 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 Cisco IOS XE software release that introduced support for a given feature in a given Cisco IOS XE software release train. Unless noted otherwise, subsequent releases of that Cisco IOS XE software release train also support that feature.


Table 1 Feature Information for Show Command Output Redirection

Feature Name
Releases
Feature Information

Show Command Output Redirection

Cisco IOS XE Release 2.1

This feature was introduced.