Brocade iSCSI Gateway Service Administrator's Guide (53-1000603-01, October 2007)

32 iSCSI Gateway Service Administrator’s Guide
53-1000603-01
Configuring iSCSI initiator-to-VT authentication
3
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:
switch:admin> iscsicfg --addusername tgt -t iqn.2002-10.com.brocade.tgt -u
”isisctgt1;hello123”
This operation completed successfully
3. Enter the iscsiCfg --commit all command.
4. To verify that a user name has been bound to the iSCSI VT, enter the iscsiCfg
--show tgt
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 CHAP Status
1. iscsitgt1 Online/Committed
2. hello123 Invalid
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:
switch:admin> iscsicfg --deleteusername tgt -t iqn.2002-10.com.brocade.tgt -u
isisctgt1
This operation completed successfully