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 69 Running config output for a range of VLANs
HP Switch(config)# show running-config vlan 3-4
Running configuration:
vlan 3
name "VLAN3"
ip helper-address 7.1.1.1
ip forward-protocol udp 7.1.1.1 snmp
ip forward-protocol udp 11.1.1.2 dns
no ip address
exit
vlan 4
name "VLAN4"
ip address 5.1.1.1 255.255.255.0
ip bootp-gateway 5.1.1.1
ip route 5.1.1.0 255.255.255.0 distance 3
exit
Below is an example of the running config for a range of VLANs after configuration changes have
been made to selected VLANs.
Example 70 Output for running config for a range of VLANs
HP Switch(config)# dhcp-snooping
HP Switch(config)# vlan 14
HP Switch(vlan-14)# exit
HP Switch(config)# vlan 15
HP Switch(vlan-15)# exit
HP Switch(config)# vlan 23
HP Switch(vlan-23)# exit
HP Switch(config)# dhcp-snooping vlan 14-15
HP Switch(config)# static-mac 00:11:22:33:44:55 vlan 23 interface A3
HP Switch(config)# spanning-tree instance 2 vlan 15
HP Switch(config)# show running-config vlan 14-15
Running configuration:
vlan 14
name "VLAN14"
no ip address
dhcp-snooping
exit
vlan 15
name "VLAN15"
no ip address
dhcp-snooping
spanning-tree instance 2
exit
Startup configuration output
You can display the startup configuration using this command. An example of the startup
configuration output is shown in the ‘Startup Configuration Output’ example below.
Syntax:
show config [interface <port-list | loopback <0-7> | vlan
<vlan-id-list> ]
Displays startup configuration information about the selected interface when one
is specified. The interfaces can be ports, VLANs, or SVLANs.
90 Switch memory and configuration










