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

Syntax:
[no] vlan <vlan-id>
ip address <ip-address/mask-length>
or
[no] vlan <vlan-id>
ip address <ip-address> <mask-bits>
or
vlan <vlan-id>
ip address dhcp-bootp
This example configures IP addressing on the default VLAN with the subnet mask specified in mask
bits.
HP Switch(config)# vlan 1 ip address 10.28.227.103
255.255.255.0
This example configures the same IP addressing as the preceding example, but specifies the subnet
mask by mask length.
HP Switch(config)# vlan 1 ip address 10.28.227.103/24
This example deletes an IP address configured in VLAN 1.
HP Switch (config) no vlan 1 ip address 10.28.227.103/24
Configure multiple IP addresses on a VLAN (multinetting). The following is supported:
• Up to 2000 IP addresses for the switch
• Up to 32 IP addresses for the same VLAN
• Up to 512 IP VLANs, that is, VLANs on which you can configure IP addresses
• Each IP address on a VLAN must be for a separate subnet, whether on the same VLAN or
different VLANs.
Syntax:
[no] vlan <vlan-id>
ip address <ip-address/mask-length>
[no] vlan <vlan-id>
ip address <ip-address> <mask-bits>
For example, if you wanted to multinet VLAN_20 (VID = 20) with the IP addresses shown below,
you would perform steps similar to the following. (For this example, assume that the first IP address
is already configured.)
Subnet MaskIP AddressVIDIP Address
255.255.240.010.25.33.101201st address
255.255.240.010.26.33.101202nd address
255.255.240.010.27.33.101203rd address
IP configuration 109










