A SERVICE OF

logo

Configuring IP Addressing
IP Configuration
With multiple VLANs and some other features configured, show ip provides
additional information:
A Switch with IP
Addressing and
VLANs Configured
Figure 8-3. Example of Show IP Listing with Non-Default IP Addressing Configured
Configure an IP Address and Subnet Mask. The following command
includes both the IP address and the subnet mask. You must either include the
ID of the VLAN for which you are configuring IP addressing or go to the
context configuration level for that VLAN. (If you are not using VLANs on the
switch—that is, if the only VLAN is the default VLAN—then the VLAN ID is
always “1”.)
Note The default IP address setting for the DEFAULT_VLAN is DHCP/Bootp. On
additional VLANs you create, the default IP address setting is Disabled.
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.
ProCurve
(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.
ProCurve(config)# vlan 1 ip address 10.28.227.103/24
This example deletes an IP address configured in VLAN 1.
ProCurve (config) no vlan 1 ip address 10.28.227.103/24
8-8