Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 5
53-1002269-02
Using and port number with CLI commands
1
Using and port number with CLI commands
Many CLI commands require users to enter port numbers as part of the command syntax, and
many show command outputs display port numbers. The port numbers are entered and displayed
in one of the following formats.
CLI nomenclature on PowerConnectdevices
ThePowerConnectdevices use port numbers only. When you enter CLI commands that require port
numbers as part of the syntax, just specify the port number.
Here are some examples. The following commands change the CLI from the global CONFIG level to
the configuration level for the first port on the device:
PowerConnectcommands
PowerConnect(config)#interface e1
PowerConnect(config-if-e10000-1)#
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.
Searching and filtering output from Show commands
You can 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 “Using special
characters in regular expressions” on page 7 for information on special characters used with
regular expressions.
Using include to display lines containing a specified string
The include modifier filters the output of the show interface command for port 11 so it displays only
lines containing the word “Internet”. This command can be used to display the IP address of the
interface.
Ctrl+L; Ctrl+R Repeats the current command line on a new line.
Ctrl+N Enters the next command line in the history buffer.
Ctrl+P Enters the previous command line in the history buffer.
Ctrl+U; Ctrl+X Deletes all characters from the cursor to the beginning of the command line.
Ctrl+W Deletes the last word you typed.
Ctrl+Z Moves from any CONFIG level of the CLI to the Privileged EXEC level; at the
Privileged EXEC level, moves to the User EXEC level.
TABLE 1 CLI line editing commands (Continued)
Ctrl+Key combination Description