User guide

Using the Command-Line Interface
ExtremeWarePx1 1.2 Command Reference Guide 15
When entering a command at the prompt, ensure that you have the appropriate privilege level. Most
conÞguration commands require you to have the administrator privilege level.
NOTE
Most commands are not executed immediately, but are deferred until you issue the
build
command.
Exceptions are noted when the commands are described in this manual.
Prompt Text
The text of the command prompt includes the SNMP
sysname
setting. Initially, this text is the name of
the switch. Following the system name is a colon and a number that indicates the sequential
line/command number. The prompt ends with
>
if you are logged in with user-level privileges, and
with
#
if you are logged in with administrative privileges.
NOTE
An asterisk (*) appearing in front of the command-line prompt, indicates that you have outstanding
configuration changes that have not been saved. with the
save configuration
command.
The following command prompt indicates that the user has administrative privileges and has issue 18
previous commands, including at least one change to the conÞguration that has not been saved:
* SummitPx1:19 #
Line-Editing Keys
Table 4 describes the line-editing keys available when using the command-line interface.
Table 4:
Line-Editing Keys
Key(s)
Description
Backspace
Deletes character to left of cursor and shifts remainder of line to left.
Delete or [Ctrl] + D Deletes character under cursor and shifts remainder of line to left.
[Ctrl] + K Deletes characters from under cursor to end of line.
Insert Toggles the insert mode on and off. When insert mode is toggled on, new text is inserted at
the cursor; any existing text following the cursor is shifted to right. When insert mode is
toggled off, new text overwrites any existing text following the cursor.
Left Arrow Moves cursor to left.
Right Arrow Moves cursor to right.
Home or [Ctrl] + A Moves cursor to first character in line.
End or [Ctrl] + E Moves cursor to last character in line.
[Ctrl] + L Clears screen and movers cursor to beginning of line.
[Ctrl] + P or
Up Arrow
Displays previous command in command history buffer and places cursor at end of
command.
[Ctrl] + N or
Down Arrow
Displays next command in command history buffer and places cursor at end of command.
[Ctrl] + U Clears all characters typed from cursor to beginning of line.
[Ctrl] + W Deletes previous word.