HP StorageWorks Fabric OS 5.3.x administrator guide (5697-0244, November 2009)
Fabric OS 5.3.0 administrator guide 31
DHCP summary
Plug DHCP enabled switches in to the network, power on the switch, and the switch automatically obtains
the Ethernet IP address, Ethernet subnet mask, and default gateway address from the DHCP server. The
DHCP client can only connect to a DHCP server on the same subnet as the switch. Do not enable DHCP, if
the DHCP server is not on the same subnet as the switch.
Enabling DHCP after the Ethernet information has been configured releases the current Ethernet network
interface settings, including Ethernet IP, Ethernet Subnetmask, and Gateway. The Fibre Channel (FC) IP
address and subnet mask is static and is not affected by DHCP, see ”How to set static addresses for the
Ethernet network interface” on page 30 for instructions on setting the FC IP address.
How to enable DHCP
1. Connect to the switch and log in as admin.
2. Enter the following command:
3. Press Enter to skip the Ethernet IP address, Ethernet Subnetmask, Fibre Channel IP address and subnet
mask prompts if already set.
4. When prompted for DHCP[Off], enable it by typing On:
switch:admin> ipaddrset
Ethernet IP Address [192.168.74.102]:
Ethernet Subnetmask [255.255.255.0]:
Fibre Channel IP Address [220.220.220.2]:
Fibre Channel Subnetmask [255.255.0.0]:
Gateway IP Address [192.168.74.1]:
DHCP [Off]:on
How to disable DHCP
When you disable DHCP, enter the static Ethernet IP address and subnet mask of the switch and default
gateway address. Otherwise, the Ethernet settings may conflict with other addresses assigned by the DHCP
server on the network.
1. Connect to the switch and log in as admin.
2. Enter the following command:
Enter the network information in dotted decimal format for Ethernet IP address, Ethernet Subnetmask, and
Gateway Address at the prompts. If a static Ethernet address is not available when you disable DHCP,
enter 0.0.0.0 at the Ethernet IP address prompt. Skip Fibre Channel prompts by pressing Enter. Disable
DHCP by typing Off.
switch:admin> ipaddrset
Ethernet IP Address [192.168.74.102]:
Ethernet Subnetmask [255.255.255.0]:
Fibre Channel IP Address [220.220.220.2]:
Fibre Channel Subnetmask [255.255.0.0]:
Gateway IP Address [192.168.74.1]:
DHCP [Off]:on
switch:admin> ipaddrset
Ethernet IP Address [192.168.74.102]:
Ethernet Subnetmask [255.255.255.0]:
Fibre Channel IP Address [220.220.220.2]:
Fibre Channel Subnetmask [255.255.0.0]:
Gateway IP Address [192.168.74.1]:
DHCP [Off]:off