Wildcards, Templates, And Aliases; Using Wildcards To Identify Interfaces In Show Commands - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 3
CLI Tips, Techniques, and Shortcuts
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/RP0/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 pos0/2/0/0
interface pos0/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."

Wildcards, Templates, and Aliases

This section contains the following topics:

Using Wildcards to Identify Interfaces in show Commands

Wildcards (*) identify a group of interfaces in show commands.
wildcard usage to identify a group of interfaces.
Table 3-4
Wildcard Syntax
*
pos*
pos0/1/*
pos0/3/4.*
The wildcard (*) must be the last character in the interface name.
Note
Appendix C, "Understanding Regular Expressions, Special Characters, and
Using Wildcards to Identify Interfaces in show Commands, page 3-11
Creating Configuration Templates, page 3-13
Aliases, page 3-17
Keystrokes Used as Command Aliases, page 3-18
Examples of Wildcard Usage
Table 3-4
Description
Specifies all interfaces
Specifies all POS interfaces in the system
Specifies all POS interfaces in slot 1
Specifies all subinterfaces for POS0/3/4
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Wildcards, Templates, and Aliases
provides examples of
3-11

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents