Basic Operation Guide 2014/02

help
displays the Help summaries for both the Operator and Manager levels, and
so on.
For example, to list the Operator-Level commands with their purposes:
Example 14 Context-sensitive command-list help
HP Switch> help
chassislocate Control the chassis locate led.
dir Display a list of the files and subdirectories in a
directory on a USB device.
display Display current system information.
enable Enter the Manager Exec context.
exit Return to the previous context or terminate current
console/telnet session if you are in the Operator
context level.
link-test Test the connection to a MAC address on the LAN.
logout Terminate this console/telnet session.
.
.
.
Displaying Help for an individual command.
Syntax:
<command-string> help
This option displays Help for any command available at the current context level.
For example, to list the Help for the interface command in the Global Configuration privilege level:
Example 15 How to display help for a specific command
HP Switch(config)# interface help
Usage: [no] interface < [ethernet] PORT-LIST [...] | loopback <num> >
Description: Enter the Interface Configuration Level, or execute one
command for that level. Without optional parameters
specified, the 'interface' command changes the context to
the Interface Configuration Context Level for execution of
configuration changes to the port or ports in the PORT-LIST
or with loopback keywork it will change context to loopback
mode. Use 'interface ?' to get a list of all valid commands.
Note that trying to list the help for an individual command from a privilege level that does not
include that command results in an error message. For example, trying to list the help for the
interface command while at the global configuration level produces this result:
HP Switch# speed-duplex help
Invalid input: speed-duplex
Configuration commands and the context configuration modes
You can execute any configuration command in the global configuration mode or in selected
context modes. However, using a context mode enables you to execute context-specific commands
faster, with shorter command strings.
The switch offers interface (port or trunk group) and VLAN context configuration modes:
Port or trunk-group context. Includes port-or trunk-specific commands that apply only to the selected
port(s) or trunk group, plus the global configuration, Manager, and Operator commands. The
prompt for this mode includes the identity of the selected port(s):
32 Using the Command Line Interface (CLI)