3
Configuring iSCSI initiator-to-VT authentication
Binding user names to an iSCSI VT
For additional security, you can bind specific user names to an already created iSCSI VT. When you
do this, the specific user name and CHAP secret combination is required for authentication during
the iSCSI login phase. The maximum number of user names that can be bound per iSCSI VT is 16.
To bind a user name to an already created iSCSI VT
1. Connect and log in to the switch.
2. Enter the isciCfg - -addusername tgt command with the -t and -u options as follows:
3. Enter the iscsiCfg
4. To verify that a user name has been bound to the iSCSI VT, enter the iscsiCfg
Deleting user names from an iSCSI VT binding list
User names can be deleted from the list of bound user names created by the addusername tgt
command.
To delete a user name from an iSCSI VT binding list
1. Connect and log in to the switch.
2. Enter the isciCfg - -deleteusername tgt command with the -t and -u options as follows:
32
switch:admin> iscsicfg --addusername tgt -t iqn.2002-10.com.brocade.tgt -u
"isisctgt1;hello123"
This operation completed successfully
commit all command.
--
command with the -t and -v options as follows:
switch:admin> iscsicfg --show tgt -t iqn.2002-10.com.brocade.tgt -v
Number of records found: 1
Name:
iqn.2002-10.com.brocade.tgt1
CHAP Users
1. iscsitgt1
2. hello123
switch:admin> iscsicfg --deleteusername tgt -t iqn.2002-10.com.brocade.tgt -u
isisctgt1
This operation completed successfully
CHAP Status
Online/Committed
Invalid
show tgt
--
iSCSI Gateway Service Administrator's Guide
53-1000603-01