HP-UX iSCSI Software Initiator Support Guide, HP-UX 11i v1 and 11i v2, July 2005

Appendix A
Login Key Configuration
Configuring iSCSI Login Keys
84
# iscsiutil -t datadigest CRC32C None -T iqn.2003-11.com. hp.stor:iSCSI.Storage
Configure the HeaderDigest key with "CRC32C" as the value for an Operational Target Address:
# iscsiutil -t headerdigest CRC32C -I 192.1.1.58 -M 2 -T
iqn.2003-11.com.hp.stor:iSCSI.Storage
Configure both the HeaderDigest and the DataDigest keys with "CRC32C" as the value for an Operational
Target Address:
# iscsiutil -t bothdigest CRC32C -I 192.1.1.58 -M 2 -T iqn.
2003-11.com.hp.stor:iSCSI.Storage
Authentication Method Configuration Examples
Configure the AuthMethod key with "CHAP,None" as the value for all Targets:
# iscsiutil -t authmethod CHAP None
Configure the AuthMethod key with "CHAP" as the value for a particular Discovery Target Address, which is
already configured:
# iscsiutil -t authmethod CHAP -I 192.1.1.58 -M 2
Configure the AuthMethod key with "None,CHAP" as the value for an Operational Target:
# 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
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