Basic Operation Guide 2014/02

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
106 Configuring IP Addressing