HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

290 Fabric OS commands
Display the IP address information for a switch or control processor (CP).
Synopsis
ipaddrshow [-cp cp_number] | [-sw sw_number]
Availability
all users
Description
Use this command to display the IP addresses configured in the system.
The -cp option displays the CP IP address and the -sw option displays the switch IP addresses. For
switches, the command displays the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP address,
and Fibre Channel subnetmask. For CPs, the command displays the Ethernet IP address, Ethernet
subnetmask, host name, and gateway IP address.
Operands
This command has the following operands:
If no operands are specified, the command displays all the IP addresses configured in the system. For
nonchassis-based switches, this command ignores all operands.
Examples
To display the IP address for logical switch 0:
See also
ipAddrSet
ipAddrShow
-cp cp_number For dual-CP systems, specify CP card number to display (0 or 1).
-sw sw_number For dual-domain systems, specify the switch number to display (0 or 1).
switch:admin> ipaddrshow -sw 0
Ethernet IP Address: 192.168.166.147
Ethernet Subnetmask: 255.255.255.0
Fibre Channel IP Address: 0.0.0.0
Fibre Channel Subnetmask: 0.0.0.0