Searching And Filtering Output From Cli Commands - Dell PowerConnect B-RX Configuration Manual

Bigiron rx series supporting multi-service ironware v02.7.03
Hide thumbs Also See for PowerConnect B-RX:
Table of Contents

Advertisement

TABLE 29
Ctrl-key combination
Ctrl-A
Ctrl-B
Ctrl-C
Ctrl-D
Ctrl-E
Ctrl-F
Ctrl-K
Ctrl-L; Ctrl-R
Ctrl-N
Ctrl-P
Ctrl-U; Ctrl-X
Ctrl-W
Ctrl-Z
For a complete list of CLI commands and syntax information for each command, refer to the Switch
and Router Command Line Interface Reference.

Searching and filtering output from CLI commands

You can filter CLI output from show commands and at the --More-- prompt. You can search for
individual characters, strings, or construct complex regular expressions to filter the output.
You can also filter output from show commands to display lines containing a specified string, lines
that do not contain a specified string, or output starting with a line containing a specified string.
The search string is a regular expression consisting of a single character or string of characters.
You can use special characters to construct complex regular expressions. Refer to
characters in regular expressions"
regular expressions.
Displaying lines containing a specified string
The following command filters the output of the show interface command for port 3/1 so it displays
only lines containing the word "Internet". This command can be used to display the IP address of
the interface.
BigIron RX# show interface e 3/1 | include Internet
Internet address is 192.168.1.11/24, MTU 1518 bytes, encapsulation ethernet
Syntax: <show-command> | include <regular-expression>
NOTE
The vertical bar ( | ) is part of the command.
BigIron RX Series Configuration Guide
53-1001986-01
CLI line editing commands
Description
Moves to the first character on the command line.
Moves the cursor back one character.
Escapes and terminates command prompts and ongoing tasks (such as
lengthy displays), and displays a fresh command prompt.
Deletes the character at the cursor.
Moves to the end of the current command line.
Moves the cursor forward one character.
Deletes all characters from the cursor to the end of the command line.
Repeats the current command line on a new line.
Enters the next command line in the history buffer.
Enters the previous command line in the history buffer.
Deletes all characters from the cursor to the beginning of the command
line.
Deletes the last word you typed.
Moves from any CONFIG level of the CLI to the Privileged EXEC level; at
the Privileged EXEC level, moves to the User EXEC level.
on page 20 for information on special characters used with
Logging on through the CLI
"Using special
2
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bigiron rx series

Table of Contents