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

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Chapter 5
CLI Tips, Techniques, and Shortcuts

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 5-4
Wildcard Syntax
*
pos*
pos0/1/*
pos0/3/4*
The wildcard (*) must be the last character in the interface name.
Note
Example
The following example shows how the configuration for all POS interfaces in rack 0, slot 1 is displayed:
RP/0/0/CPU0:router:router# show running-config interface pos0/1/*
interface POS0/1/0/0
ipv4 address 10.2.3.4 255.255.255.0
pos
crc 32
!
keepalive disable
interface POS0/1/0/1
ipv4 address 10.2.3.5 255.255.255.0
pos
crc 32
!
keepalive disable
interface POS0/1/0/2
ipv4 address 10.2.3.6 255.255.255.0
pos
crc 32
!
keepalive disable
interface POS0/1/0/3
ipv4 address 10.2.3.7 255.255.255.0
pos
OL-24755-01
Using Wildcards to Identify Interfaces in show Commands, page 5-109
Creating Configuration Templates, page 5-110
Aliases, page 5-113
Keystrokes Used as Command Aliases, page 5-114
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 for the Cisco XR 12000 Series Router
Wildcards, Templates, and Aliases
Table 5-4
provides examples of
5-109

Advertisement

Table of Contents
loading

Table of Contents