EasyManuals Logo
Home>Cisco>Network Router>ASR 9000

Cisco ASR 9000 User Manual

Cisco ASR 9000
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #123 background imageLoading...
Page #123 background image
119
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-28417-02
Chapter CLI Tips, Techniques, and Shortcuts
Displaying System Information with show Commands
Adding a Filter at the --More-- Prompt
You can specify a filter at the --More-- prompt of a show command output by entering a forward slash
(/) 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:
If a filter is specified at the original command or previous --More-- prompt, a second filter cannot
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.
In the following example, the user adds a filter at the --More-- prompt to show only the lines in 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
Tip On most systems, Ctrl-Z can be entered at any time to interrupt the output and return to EXEC mode.
For more information, see Appendix A, “Understanding Regular Expressions, Special Characters, and
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 9000 and is the answer not in the manual?

Cisco ASR 9000 Specifications

General IconGeneral
BrandCisco
ModelASR 9000
CategoryNetwork Router
LanguageEnglish

Related product manuals