Basic Operation Guide 2014/02

Moving between the CLI and the Menu interface. When moving between interfaces, the switch
retains the current privilege level (Manager or Operator). That is, if you are at the Operator level
in the menu and select the Command Line Interface (CLI) option from the Main Menu, the CLI prompt
appears at the Operator level.
Changing parameter settings. Regardless of which interface is used (CLI, menu interface, or
WebAgent), the most recently configured version of a parameter setting overrides any earlier
settings for that parameter. For example if you use the menu interface to configure an IP address
of "X" for VLAN 1 and later use the CLI to configure a different IP address of "Y" for VLAN 1, then
"Y" replaces "X" as the IP address for VLAN 1 in the running-config file. If you subsequently execute
write memory in the CLI, then the switch also stores "Y" as the IP address for VLAN 1 in the
startup-config file. (For more on the startup-config and running config files, see Chapter 5, "Switch
Memory and Configuration".)
Listing commands and command options
At any privilege level you can:
List all of the commands available at that level
List the options for a specific command
Listing commands available at any privilege level
At a given privilege level you can list and execute the commands that level offers, plus all of the
commands available at preceding levels. For example, at the Operator level, you can list and
execute only the Operator level commands. However, at the Manager level, you can list and
execute the commands available at both the Operator and Manager levels.
Type “?” to list available commands. Typing the ? symbol lists the commands you can execute at
the current privilege level. For example, typing ? at the Operator level produces this listing:
Example 11 The Operator-level command listing
HP Switch> ?
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.
menu Change console user interface to menu system.
page Toggle paging mode.
ping Send IPv4 ping request(s) to a device on the network.
ping6 Send IPv6 ping request(s) to a device on the network.
quit Exit from current command view
services Display parameters for the services module.
show Display switch operation information.
traceroute Trace the IPv4 route to a device on the network.
traceroute6 Trace the IPv6 route to a device on the network.
verify Verify the signature of a switch firmware image.
wireless-services Display parameters for the wireless-services module.
-- MORE --, next page: Space, next line: Enter, quit: Control-C
Typing ? at the Manager level produces the listing in the following example:
Using the CLI 29