Wildcards, Templates, And Aliases; Using Wildcards To Identify Interfaces In Show Commands - Cisco Router IOS XR Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for Router Cisco IOS XR:
Table of Contents

Advertisement

Chapter 6
CLI Tips, Techniques, and Shortcuts
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.
Wildcard Syntax
*
pos*
pos0/1/*
pos0/3/4.*
Note
The wildcard (*) must be the last character in the interface name.
Example
In the following example, the configuration for all POS interfaces in rack 0, slot 1 is displayed:
RP/0/RP1/CPU0:router# show running-config interface pos0/1/*
OL-10957-02
Appendix A, "Understanding Regular Expressions, Special Characters, and
Using Wildcards to Identify Interfaces in show Commands, page 6-11
Creating Configuration Templates, page 6-12
Aliases, page 6-15
Keystrokes Used as Command Aliases, page 6-16
Table 6-4
Examples of Wildcard Usage
Description
Specifies all interfaces
Specifies all POS interfaces in the system
Specifies all POS interfaces in rack 0, slot 1
Specifies all subinterfaces for POS0/3/4
Cisco IOS XR Getting Started Guide
Wildcards, Templates, and Aliases
Table 6-4
provides examples of
6-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ios xr 3.4

Table of Contents