117
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
In the following example, a configuration for all -interfaces is displayed:
RP/0//CPU0:router# show running-config interface *
interface /1/0/0
ipv4 address 10.2.3.4 255.255.255.0
crc 32
!
shutdown
keepalive disable
!
interface /1/0/1
ipv4 address 10.2.3.5 255.255.255.0
crc 32
!
shutdown
keepalive disable
!
interface /1/0/2
ipv4 address 10.2.3.6 255.255.255.0
crc 32
!
shutdown
keepalive disable
!
interface /1/0/3
ipv4 address 10.2.3.7 255.255.255.0
crc 32
!
shutdown
keepalive disable
!
--More--
Filtering show Command Output
Output from the show commands can generate a large amount of data. To display only a subset of
information, enter the “pipe” character (|) followed by a keyword (begin, include, exclude, or file) and
a regular expression. Table 25 shows the filtering options for the show command.
Ta b l e 25 show Command Filter Options
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.