Print | Rate this content

HP ProCurve 3500yl/6200yl/5400zl/8200zl Switch Series - CLI Commands

Accessing the CLI

The CLI is a text-based command interface for configuring and monitoring the switch. The CLI gives you access to the switch’s full set of commands while providing the same password protection that is used in the web browser interface and the menu interface.

Like the menu interface, the CLI is accessed through the switch console, and in the switch’s factory default state, is the default interface when you start a console session. You can access the console out-of-band by directly connecting a terminal device to the switch, or in-band by using Telnet either from a terminal device or through the web browser interface.

Also, if you are using the menu interface, you can access the CLI by selecting the Command Line (CLI) option in the Main Menu.

top

Using the CLI

The CLI offers these privilege levels to help protect the switch from unauthorized access:
  1. Operator

  2. Manager

  3. Global Configuration

  4. Context Configuration

NOTE: CLI commands are not case-sensitive

When you use the CLI to make a configuration change, the switch writes the change to the Running-Config file in volatile memory. This allows you to test your configuration changes before making them permanent. To make changes permanent, you must use the write memory command to save them to the Startup-Config file in non-volatile memory. If you reboot the switch without first using write memory, all changes made since the last reboot or write memory (whichever is later) will be lost. For more on switch memory and saving configuration changes, refer to Management and Configuration Guide. Click here to go to Management and Configuration Guide Non-HP site .

top

CLI control and editing

Keystrokes
Function
[Ctrl] [A]
Jumps to the first character of the command line.
[Ctrl] [B] or
Moves the cursor back one character.
[Ctrl] [C]
Terminates a task and displays the command prompt.
[Ctrl] [D]
Deletes the character at the cursor.
[Ctrl] [E]
Jumps to the end of the current command line.
[Ctrl] [F] or
Moves the cursor forward one character.
[Ctrl] [K]
Deletes from the cursor to the end of the command line.
[Ctrl] [L] or [Ctrl] [R]
Repeats current command line on a new line.
[Ctrl] [N] or
Enters the next command line in the history buffer
[Ctrl] [P] or
Enters the previous command line in the history buffer.
[Ctrl] [U] or [Ctrl] [X]
Deletes from the cursor to the beginning of the command line.
[Ctrl] [W]
Deletes the last word typed.
[Esc] [B]
Moves the cursor backward one word.
[Esc] [D]
Deletes from the cursor to the end of the word.
[Esc] [F]
Moves the cursor forward one word.
[Backspace]
Deletes the first character to the left of the cursor in the command line.
[Spacebar]
Moves the cursor forward one character.

top

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!