Multipipe Support; Show Parser Dump Enhancement Feature; Wildcards, Templates, And Aliases; Using Wildcards To Identify Interfaces In Show Commands - Cisco ASR 9000 Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Chapter 5
CLI Tips, Techniques, and Shortcuts

Multipipe Support

The multipipe feature supports the multiple pipes on the command-line interface. With this feature the
output can be processed by an enhanced utility set. Using various combination of utilities, it is possible
to gather, filter, and format the output of any show command. An arbitrary limit of 8 pipes is supported
on command-line interface with this limit superseded by the limit of characters that can be typed on the
single line (1024) if the individual commands specified with pipes are long enough.
In addition, if you want to give the Pipe character (|) as a pattern, you must give it in double quotes. For
example:
RP/0/RP1/CPU0:single8-hfr# show running-config|include "gi|ospf"|file disk0:/usr/a.log

Show Parser Dump Enhancement Feature

The show parser dump command displays the CLI syntax options for a specific submode.
It is a utility that dumps the parser commands supported on the router and a tool that displays line-by-line
commands available in a submode. The command is available in every mode and it shows the command
set available for that mode. This is a very handy tool for collecting the CLI commands for a mode.
The show parser dump command supports a filters. Specify an initial portion of the command, then
matching commands display.
RP/0/RSP1/CPU0:router(config-un)# show parser dump
show
show configuration merge
show configuration running sanitized desanitize rpl
show configuration running sanitized
show configuration running
show configuration
show configuration failed noerrors
show configuration failed
show configuration failed load
show running-config
show running-config sanitized desanitize rpl
show running-config sanitized
show running-config submode
show parser dump
show history detail
show history
pwd
exit

Wildcards, Templates, and Aliases

This section contains the following topics:
OL-17502-01
F I N A L D R A F T — C i s c o C o n f i d e n t i a l
Using Wildcards to Identify Interfaces in show Commands, page 5-12
Creating Configuration Templates, page 5-13
Aliases, page 5-16
Keystrokes Used as Command Aliases, page 5-17
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
Wildcards, Templates, and Aliases
5-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents