Show Parser Dump Command - Cisco ASR 9000 Getting Started Manual

Services router
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Chapter
CLI Tips, Techniques, and Shortcuts
Adding a Filter at the --More-- Prompt
You can specify a filter at the
(/) followed by a regular expression. The filter remains active until the command output finishes or is
interrupted (using Ctrl-Z or Ctrl-C). The following rules apply to this technique:
In the following example, the user adds a filter at the
remaining output that contain the regular expression "ip":
RP/0//CPU0:router# show configuration running | begin line
Building configuration...
line console
exec-timeout 120 120
!
logging trap
--More--
/ip
filtering...
ip route 0.0.0.0 255.255.0.0 /2/0/0
interface /2/0/0
ip address 172.19.73.215 255.255.0.0
end
On most systems, Ctrl-Z can be entered at any time to interrupt the output and return to EXEC mode.
Tip
For more information, see
Patterns."
Multipipe Support
The multipipe feature supports the multiple pipes on the CLI. 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 eight pipes is supported on CLI 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 pipe character (|) as a pattern, you must give it in double quotes. For
example:
RP/0//CPU0:single8-hfr# show running-config|include "|ospf"|file disk0:/usr/a.log

show parser dump command

The show parser dump command displays the CLI syntax options for a specific submode.
OL-28417-02
--More--
If a filter is specified at the original command or previous
be applied.
The use of the begin keyword does not constitute a filter.
The minus sign (–) preceding a regular expression displays output lines that do not contain the
regular expression.
The plus sign (+) preceding a regular expression displays output lines that contain the regular
expression.
Appendix A, "Understanding Regular Expressions, Special Characters, and
Displaying System Information with show Commands
prompt of a show command output by entering a forward slash
--More--
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
prompt, a second filter cannot
--More--
prompt to show only the lines in the
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents