Basic Operation Guide 2013/06
Table Of Contents
- Switch Software
- Contents
- 1 Commands found in the Basic Operation Guide
- 2 Getting started
- 3 Using the Menu Interface
- 4 Using the Command Line Interface (CLI)
- Overview
- Accessing the CLI
- Using the CLI
- Return message types with CLI commands
- CLI interactive commands
- CLI control and editing
- 5 Using the HP WebAgent
- 6 Switch memory and configuration
- Overview
- Configuration file management
- Using the CLI to implement configuration changes
- Creating a custom default configuration
- Using the menu and WebAgent to implement configuration changes configuration file
- Zeroization
- Using Primary and Secondary flash image options
- Multiple configuration files
- Display configuration of selected interface
- Automatic configuration update with DHCP Option 66
- 7 Interface access and system information
- 8 Configuring IP addressing
- Overview
- IP configuration
- Loopback interfaces
- IP Preserve: retaining VLAN-1 IP addressing across configuration file downloads
- Configuring a single source IP address
- 9 Software management
- Downloading switch documentation and software from the web
- Viewing or downloading the software manual set
- Downloading software updates for your switch
- Software signing and verification
- Saving configurations while using the CLI
- Important: Best Practices for software updates
- Updating the switch: overview
- Updating the switch: detailed steps
- Rolling back switch software
- Viewing or transferring alternate configuration files
- Downloading switch documentation and software from the web
- Index

Example 14 Context-sensitive command-list help
HP Switch> help
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):
HP Switch(config)# interface c3-c6
HP Switch(eth-C5-C8)#
HP Switch(config)# interface trk1
HP Switch(eth-Trk1)#
Commands executed at configuration level for entering port and trk1 static
trunk-group contexts, and resulting prompts showing port or static trunk contexts..
HP Switch(eth-C5-C8)#
34 Using the Command Line Interface (CLI)










