HP StorageWorks 2/64 HP StorageWorks Fabric OS 5.x Command Reference Guide (AA - Page 314
ipAddrSet
![]() |
View all HP StorageWorks 2/64 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 314 highlights
ipAddrSet Sets the IP address details for a switch or control processor (CP). Synopsis ipaddrset [-cp number] [-sw number] Availability admin Description Use this command to set the IP addresses on the switch or CP. If no option is provided on a chassis-based system, the command displays the usage. To set the CP IP address use -cp; to set the switch IP address use -sw. When setting the switch, the command prompts for the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address, and Fibre Channel subnetmask. When setting the CP, the command prompts for the Ethernet IP address, Ethernet subnetmask, host name, and gateway IP address. Valid switch and CP values depend on the platform from which the command is being run. For a nonchassis-based switch, the command ignores all operands. The command prompts for the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address, Fibre Channel subnetmask, and gateway IP address. Operands This command has the following operands on a chassis-based system: -cp number -sw number Valid options include: • 0 sets the Ethernet IP address, Ethernet subnetmask, gateway IP address, and host name of CP0. • 1 sets the Ethernet IP address, Ethernet subnetmask, gateway IP address, and host name of CP1. Valid options include: • 0 sets the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address, and Fibre Channel subnetmask of logical switch 0. • 1 sets the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address, and Fibre Channel Subnetmask of logical switch 1. If no option is specified the command displays the usage. Examples To set the IP address details for logical switch 1 on a chassis-based system: switch:admin> ipaddrset -sw 1 Ethernet IP Address [192.168.166.148]: Ethernet Subnetmask [255.255.255.0]: Fibre Channel IP Address [none]: Fibre Channel Subnetmask [none]: Committing configuration...Done. OK. 314 Fabric OS commands
![](/manual_guide/products/hewlettpackard-storageworks-264-hp-storageworks-fabric-os-5x-command-reference-guide-aarvhvbte-2005-b63918e/314.png)