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

Bigiron rx series configuration guide v02.8.00
Hide thumbs Also See for PowerConnect B-RX:
Table of Contents

Advertisement

Line editing commands

The CLI supports the following line editing commands. To enter a line-editing command, use the
CTRL-key combination for the command by pressing and holding the CTRL key, then pressing the
letter associated with the command.
TABLE 30
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

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>
BigIron RX Series Configuration Guide
53-1002253-01
Press Ctrl-C cancel the display.
CLI line editing commands
Logging on through the CLI
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
2
"Using special
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bigiron rx series

Table of Contents