-
- Managing Configuration Files
- Exclusive Configuration Change Access (Configuration Lock) and Access Session Locking
- Configuration Generation Performance Enhancement
- Configuration Replace and Configuration Rollback
- Contextual Configuration Diff Utility
- Configuration Change Notification and Logging
- Configuration Partitioning
Show Command Output Redirection
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
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.
|
|
|
---|---|---|
Show Command Output Redirection |
Cisco IOS XE Release 2.1 |
This feature was introduced. |