Enabling CHAP Authentication with QConvergeConsole: QLogic QME8242 Mezzanine Card User's Guide
You can link CHAP to a target with active bidirectional (BIDI) CHAP authentication. TGTBCA is an optional parameter to turn
BIDI CHAP authentication on or off for this target connection.
To link a CHAP target:
1. Link CHAP to a target with BIDI enabled by issuing the -linkchap command.
Command line options:
iscli –linkchap <hba_port_inst> <chap_no> <target_id> [<TGTBCA> <on|off>]
Example:
In the following example, the HBA port instance = 2, the CHAP number = 9, and the Target ID = 10.
$qaucli -pr iscsi -linkchap 2 9 10 TGTBCA on
2. View persistent targets by issuing the -ps command. You should see only the Send Target.
Example:
In the following examples, the HBA port instance = 0.
$qaucli -pr iscsi -ps 0
Or:
$qaucli -iscsi -ps 0
Target ID: 2 hba_no: 0 IP: 10.14.64.154 Port: 3260 TGT Instance #: 2
ISCSI Name:
Alias:
State: No Connection
3. To view all targets linked to the CHAP, issue the -chapmap command. This command lists the mapping of targets to
CHAP table entries. The positional parameter for this command is <hba_port_inst>.
Command line options:
-chapmap <hba_port_inst>
Example:
In the following example, the HBA port instance = 0.
$qaucli -pr iscsi -chapmap 0
Or:
$qaucli -iscsi -chapmap 0
Targets configured for CHAP:
Target ID: 2 IP: 10.14.64.154 Port: 3260
ISCSI Name:
Alias:
Name: chapdbserver1
Secret: k9Q038iaZwlqPplq012
Target ID: 64 IP: 10.14.64.154 Port: 3260
ISCSI Name: iqn.1987-05.com.cisco:00.ba6d7ea87bba.chap1
Alias: chap1
Name: chapdbserver1
Secret: k9Q038iaZwlqPplq012
Target ID: 65 IP: 10.14.64.154 Port: 3260
ISCSI Name: iqn.1987-05.com.cisco:00.00c80ea3857f.chap2
Alias: chap2
Name: chapdbserver1
Secret: k9Q038iaZwlqPplq012
Target ID: 66 IP: 10.14.64.154 Port: 3260
ISCSI Name: iqn.1987-05.com.cisco:00.0b597ef8adf8.chap3
Alias: chap3
Name: chapdbserver1
Secret: k9Q038iaZwlqPplq012
Target ID: 67 IP: 10.14.64.154 Port: 3260
ISCSI Name: iqn.1987-05.com.cisco:00.28182218624e.chap4
Alias: chap4
Name: chapdbserver1
Secret: k9Q038iaZwlqPplq012
Please read all
restrictions and
Back to Contents Page
file:///T|/htdocs/NETWORK/QLogic/71922/en/chapauth.htm[9/26/2012 4:25:45 PM]
All manuals and user guides at all-guides.com
disclaimers.