Emulex OneCommand Manager Command Line Interface User Manual (P006980-01A Version 5.2, August 2011)

OneCommand Manager Command Line Interface User Manual Page 56
GetiSCSIPortStats
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] GetiSCSIPortStats <MAC_Address>
Description: This command shows all the port statistics for a specified port.
Parameters:
MAC_Address - MAC address of the CNA port
GetSessionInfo
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] GetSessionInfo <MAC_Address>
<iscsi_target_name> <TSIH | <ISID_Qual Target_IP>>
Description: This command lists all session information for a specified session. You must specify the
iSCSI target name <iscsi_target_name> and either the TSIH <TSIH> of the session or the
session's ISID Qualifier <ISID_Qual> and the target's IP address <Target_IP>. These parameters
tell the command to gather the information from the specified target and session. You can find the TSIH
and ISID qualifier by running the ListSessions command.
Parameters:
MAC_Address - MAC address of the CNA port
iscsi_target_name - Target’s iSCSI name enclosed in quotes (string length:11-255)
TSIH - TSIH value of the session (value: 1-65535)
ISID_Qual - ISID qualifier of the session (value: 0-65535)
Target_IP - The Target's IP address
iSCSIPing
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] iSCSIPing <MAC_Address> <IP_Address>
Description: This command issues ICMP echo requests to a target.
Parameters:
MAC_Address - MAC address of the CNA port
IP_Address - IP address of target to send ICMP echo request
Note: You must specify either the TSIH value or the ISID qualifier. If ISID qualifier is
specified you must also specify the Target’s ID address.