EasyManuals Logo

Cisco CRS-1 - Carrier Routing System Router Getting Started Guide

Cisco CRS-1 - Carrier Routing System Router
289 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 #70 background imageLoading...
Page #70 background image
3-10
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 3 CLI Tips, Techniques, and Shortcuts
Displaying System Information with show Commands
Table 3-3 Show Command Filter Options
In the following example, the show interface command includes only lines in which the expression
“protocol” appears:
RP/0/RP0/CPU0:router# show interface | include protocol
Null0 is up, line protocol is up
0 drops for unrecognized upper-level protocol
POS0/2/0/0 is administratively down, line protocol is administratively down
0 drops for unrecognized upper-level protocol
POS0/2/0/1 is administratively down, line protocol is administratively down
0 drops for unrecognized upper-level protocol
POS0/2/0/2 is administratively down, line protocol is administratively down
0 drops for unrecognized upper-level protocol
POS0/2/0/3 is administratively down, line protocol is administratively down
0 drops for unrecognized upper-level protocol
MgmtEthernet0/RP0/CPU0/0 is administratively down, line protocol is administratively
down
MgmtEthernet0/RP0/CPU0/0 is administratively down, line protocol is administratively
down
0 drops for unrecognized upper-level protocol
Note Filtering is available for submodes, complete commands, and anywhere that <cr> appears in the “?
output.
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 at a previous --More-- prompt, a second filter
cannot be applied.
The use of the keyword begin 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.
Command Description
show command | begin regular-expression
Begins unfiltered output of the show command with the first line that
contains the regular expression.
show command | exclude regular-expression
Displays output lines that do not contain the regular expression.
show command | include regular-expression
Displays output lines that contain the regular expression.
show command | file disk0:myconfigfile
Writes the output lines that contain the regular expression to the specified
file on the specified device.

Table of Contents

Other manuals for Cisco CRS-1 - Carrier Routing System Router

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Cisco CRS-1 - Carrier Routing System Router Specifications

General IconGeneral
BrandCisco
ModelCRS-1 - Carrier Routing System Router
CategoryNetwork Router
LanguageEnglish

Related product manuals