HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
132 XPath OS CLI commands
Displays and configures the iSCSI authentication database.
Synopsis
iscsiauthcfg [-i iSCSI_IQN -c iSCSI_CHAP_Secret] [-d iSCSI_IQN
[-c iSCSI_CHAP_Secret]]
Availability
admin
Description
Use this command to display and configure the iSCSI authentication database. To display the database,
execute iscsiAuthCfg without operands. If the same iSCSI qualified name (IQN) maps to two different
CHAP secrets, the status of the entry is displayed as Conflict. Use -d to delete the CHAP secret from a
known IQN. Use -i and -c to set a CHAP secret for a known IQN.
Use the ifcsShow command to query the iFCS status.
Operands
The following operands are optional:
Examples
To add a CHAP secret for an IQN (iqn.1991-05.com.microsoft:cp082207):
To display CHAP secrets:
To delete a CHAP secret for an IQN (iqn.1991-05.com.microsoft:cp082207):
See also
ifcsShow
iscsiWwnAlloc
iscsiAuthCfg
-i and -c Sets a CHAP secret for an IQN.
-d Deletes the CHAP secret from an IQN. This operand can be used
only on the IP storage fabric configuration server (iFCS) primary
MP Router if iFCS is enabled.
switch:admin> iscsiauthcfg -i iqn.1991-05.com.microsoft:cp082207 -c abcdefg123
Create [iqn.1991-05.com.microsoft:cp082207, abcdefg123] successful.
switch:admin> iscsiauthcfg
Index iSCSI Name iSCSI CHAP Status
1 iqn.1991-05.com.microsoft:cp082207 ********** Normal
switch:admin> iscsiauthcfg -d iqn.1991-05.com.microsoft:cp082207
Delete [iqn.1991-05.com.microsoft:cp082207] successful.