HP StorageWorks 2300 Modular Smart Array CLI reference guide (500912-001, January 2009)

96
set network-parameters
Description Sets IP values for controller module network ports. IP values can be set dynamically using Dynamic
Host Configuration Protocol (DHCP) for both controllers, or manually (statically) for each controller.
If DHCP is enabled, manually setting an IP value for either controller disables DHCP for both
controllers.
Syntax To set both controllers' IP values dynamically:
set network-parameters dhcp
To set a controller's IP values manually:
set network-parameters [ip address] [netmask netmask] [gateway gateway]
[controller a|b]
Parameters dhcp
Specifies to use DHCP to set both controllers' IP values.
ip address
Optional. An IP address for the port.
netmask netmask
Optional. An IP subnet mask for the port.
gateway gateway
Optional. A gateway IP address for the port.
controller a|b
Optional. Specifies whether to apply the settings to controller A or B. If this parameter is omitted,
settings are applied to the controller being accessed.
Example Use DHCP to set network port IP values:
# set network-parameters dhcp
Manually set network port IP values for controller A (disabling DHCP for both controllers, if it was
enabled):
# set network-parameters ip 192.168.0.10 netmask 255.255.255.0 gateway
192.168.0.1 controller a
Success: Network parameters have been changed
See also show network-parameters