zfcp_ping - Probe a port

The zfcp_ping command uses the SAN management server to send one or more requests to a particular port within the SAN and to collect responses from the port.

Figure 1. zfcp_ping syntax

1  zfcp_ping?  -a <adapter>?  -c <count>?  -t <token>?  -v?  -d  <port>

where:

-a <adapter>
specifies the FCP channel through which the management server of the SAN is accessed. <adapter> can be the bus ID of the FCP device, the host name that is assigned to the FCP channel, the WWPN of the channel port, or the port ID of the channel port. If omitted, any configured FCP channel is used.
-c <count>
specifies the number of requests to be sent. If omitted, three requests are sent.
-t <token>
specifies a number to identify the first request. Consecutive numbers identify subsequent requests if more than one request is sent. <token> must be a hexadecimal number in the range 1 to 0x7FFFFFFF.
-v
provides verbose output.
-d
provides very detailed output; for expert users only.
<port>
specifies the port to be probed. <port> can be the WWPN or the ID of the port.
-h
displays help information for the command. To view the man page, enter man zfcp_ping.
-V
displays version information.

Example

This example probes a port with WWPN 0x50050763030b0562.

# zfcp_ping -t97 0x50050763030b0562
Sending PNG from BUS_ID = 0.0.3c02 speed=4 Gbit/s
echo received from WWPN (0x50050763030b0562) tok=97 time=1.365 ms
echo received from WWPN (0x50050763030b0562) tok=98 time=2.750 ms
echo received from WWPN (0x50050763030b0562) tok=99 time=2.058 ms
---------- ping statistics -----------
min/avg/max = 1.365/2.058/2.750 ms
--------------------------------------