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 16 Message prefixes
HP Switch(config)# router rip
Error: IP Routing support must be enabled first.
HP Switch(config)# qinq mixed vlan
Warning: This command will reboot the device. Any prior configuration
on this config file will be erased and the device will boot up with a
default configuration
for the new qinq mode.
Do you want to continue [y/n]? n
HP Switch(config)# snmp-server mib hpSwitchAuthMIB included
Information: For security reasons, network administrators are
encouraged to disable SNMPv2 before using the MIB.
To determine if message labeling is enabled, enter the show session command.
Example 17 The label cli-return-message command enabled
HP Switch(config)# show session
Show Message Type: Enabled
CLI Interactive Mode: Enabled
CLI interactive commands
When the CLI interactive command mode is enabled, you must explicitly enter the choice of yes
(‘y’) or no (‘n’) for interactive commands. When interactive command mode is disabled, the default
choice for all command is yes, except as noted below. The CLI interactive mode command enables
or disables interactive mode for the CLI session.
Syntax:
session interactive-mode [ enable | disable ]
Enables or disables interactive mode for the CLI session.
The disable option disables interactive mode. The default choice for yes/no
interactive commands will be yes except for commands when there is a prompt to
save the config. The default for that is no.
The default choice for rebooting the switch is yes.
Note: This setting is not saved when the switch is rebooted.
Default: Enabled on all sessions.
Example 18 CLI interactive mode when disabled
HP Switch(config)# no password all
Password protection for all will be deleted, continue [y/n]? y
HP Switch(config)# boot system flash secondary
System will be rebooted from secondary image.
Do you want to continue [y/n]? y
Do you want to save current configuration [y/n]? n
To determine if the CLI interactive mode is enabled or disabled, enter the show session command.
CLI interactive commands 37










