HP-UX iSCSI Software Initiator Support Guide (Edition 7)

# iscsiutil -t authmethod None CHAP -T iqn.2003-11.com.hp.
stor:iSCSI.Storage
Configure the AuthMethod key with "CHAP" as the Authentication Method for an Operational
Target Address:
# iscsiutil -t authmethod CHAP -I 192.1.1.58 -M 2 -T
iqn.2003-11.com.hp.stor:iSCSI.Storage
A.1.3 Displaying Login Keys
NOTE: The values displayed for the login keys by the following commands are the values proposed
by the iSCSI Software Initiator to the iSCSI target, in order of preference. The target MUST respond
with the first value that it supports. If the login keys are configured on a per target basis, the login
keys displayed by "iscsiutil -l" are overridden by the login keys displayed by the other
display commands.
To verify the login key configuration, execute any of the following login key display commands.
To display login keys common to all Targets:
# iscsiutil -l
To display login keys of all Discovery Targets:
# iscsiutil -pD
To display login keys of all Operational Targets:
# iscsiutil -pO
To display login keys of all Sessions:
# iscsiutil -pS
To display login keys of a particular Operational Target identified by its Target Name:
# iscsiutil -p -T <target-name>
Among the various login keys displayed by the commands described above, the parameters of
interest are:
Authentication Method
Header Digest
Data Digest
Displaying Negotiated Login Key Values
After executing the "ioscan" command, which initiates a login negotiation, the following command
can be executed to display the negotiated login keys for all sessions (provided login negotiation
is successful):
# iscsiutil -pVS
A.1 Configuring iSCSI Login Keys 41