Cisco IOS XE Intelligent Services Configuration Manual page 25

Intelligent services gateway
Table of Contents

Advertisement

Using the Command-Line Interface in Cisco IOS XE Software
Filtering Output Using Output Modifiers
Many commands produce lengthy output that may use several screens to display. You can use output
modifiers to filter this output to show only the information that you want to see.
The following three output modifiers are available:
To use one of these output modifiers, type the command followed by the pipe symbol (|), the modifier,
and the regular expression that you want to search for or filter. A regular expression is a case-sensitive
alphanumeric pattern. It can be a single character or number, a phrase, or a more complex string.
The following example illustrates how to filter output of the show interface command to display only
lines that include the expression "protocol."
Router# show interface | include protocol
FastEthernet0/0 is up, line protocol is up
Serial4/0 is up, line protocol is up
Serial4/1 is up, line protocol is up
Serial4/2 is administratively down, line protocol is down
Serial4/3 is administratively down, line protocol is down
Understanding CLI Error Messages
You may encounter some error messages while using the CLI.
messages.
Table 5
Error Message
% Ambiguous command:
"show con"
% Incomplete command.
% Invalid input detected at "^"
marker.
For more system error messages, see the
begin regular-expression—Displays the first line in which a match of the regular expression is found
and all lines that follow.
include regular-expression—Displays all lines in which a match of the regular expression is found.
exclude regular-expression—Displays all lines except those in which a match of the regular
expression is found.
Common CLI Error Messages
Meaning
You did not enter enough
characters for the command to
be recognized.
You did not enter all the
keywords or values required
by the command.
You entered the command
incorrectly. The caret (^)
marks the point of the error.
System Messages for Cisco IOS XE
Table 5
shows the common CLI error
How to Get Help
Reenter the command followed by a
space and a question mark (?). The
keywords that you are allowed to
enter for the command appear.
Reenter the command followed by a
space and a question mark (?). The
keywords that you are allowed to
enter for the command appear.
Enter a question mark (?) to display
all the commands that are available in
this command mode. The keywords
that you are allowed to enter for the
command appear.
document.
Using the CLI
xi

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ios xe

Table of Contents