Chapter 3
CLI Tips, Techniques, and Shortcuts
Using Wildcards to Display All Instances of an Interface
To display the configuration for all instances, enter the asterisk (*) wildcard character.
See the
Note
information.
In the following example, a configuration for all packet-over-SONET (POS) interfaces is displayed:
RP/0/RP1/CPU0:router# show running-config interface pos *
interface POS0/1/0/0
ipv4 address 10.2.3.4 255.255.255.0
pos
crc 32
!
shutdown
keepalive disable
!
interface POS0/1/0/1
ipv4 address 10.2.3.5 255.255.255.0
pos
crc 32
!
shutdown
keepalive disable
!
interface POS0/1/0/2
ipv4 address 10.2.3.6 255.255.255.0
pos
crc 32
!
shutdown
keepalive disable
!
interface POS0/1/0/3
ipv4 address 10.2.3.7 255.255.255.0
pos
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, or exclude) and a
regular expression.
"Using Wildcards to Identify Interfaces in show Commands" section on page 3-11
Table 3-3
shows the filtering options for the show command.
Displaying System Information with show Commands
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
for more
3-9