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 35 Erasing the startup config file when a default custom config file exists
HP Switch(config)# erase startup-config
Configuration will be deleted, and existing login passwords
removed, and device rebooted (using the custom default
configuration), continue [y/n]?
If a custom default configuration file does not exist and the erase startup-config command is
executed, the current active configuration is erased and the switch is booted with the system default
configuration.
Example 36 Erasing the startup config file when a default custom config file does not exist
HP Switch(config)# erase startup-config
Configuration will be deleted, and existing login passwords removed,
and device rebooted, continue [y/n]?
To erase the custom default configuration file, execute the erase default-config command.
Example 37 Erasing the custom default config file
HP Switch(config)# erase default-config
The custom default configuration will be erased. The "erase
startup-config" command will now use system generated default
configuration. Continue [y/n]?
Displaying the configuration files
The show config files command displays the existing configuration files and indicates that a custom
default configuration file exists.
Example 38 Output displaying 3 configuration files
HP Switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+--------------------------
1 * * | config
2 | secondaryconfig
3 * | Kconfig
==================
A Custom default configuration file exists.
Enter the command show default config to display the custom default configuration.
NOTE:
For the 5400zl, 3800, and 8200zl switches, when the show default config command is executed
in enhanced secure mode the following prompt displays:
Do you want to show sensitive information (y/n)?
If "Y/y" is entered, the normal command output is displayed on the console. If "N/n" is entered,
all the sensitive information is hidden and will be displayed as asterisks ("*****"). The default
option is "N/n" when interactive mode is disabled. For more information, see the chapter "Secure
Mode (5400zl, 3800, and 8200zl)" in the Access Security Guide for your switch.
58 Switch memory and configuration










