4 – Interactive Mode Commands
Port Level Info & Operations Menu
4-42 SN0054621-00 E
S
Name (CHAP name)
Secret (CHAP secret)
Assign a CHAP Entry to a Target
(CLI Option -linkchap)
To assign a CHAP entry to a target:
1. On the HBA CHAP Menu, type 3 (Assign a CHAP Entry to a Target).
SANsurfer iSCSI HBA CLI lists available targets.
2. Type the target ID of the target you want, and then press ENTER.
The CHAP table is displayed.
3. At the prompt CHAP Entry Number <0 for no CHAP>, do one of the
following:
Type the entry number for one of the entries in the displayed CHAP
table, and then press ENTER.
Type 0 if you do not want to assign a CHAP entry to this target, and
then press ENTER.
Add a CHAP Entry
(CLI Option -addchap)
To add an entry to the CHAP table:
1. On the HBA CHAP Menu, type 4 (Add a CHAP entry), and then press
ENTER.
2. At the CHAPName prompt, type a name for the CHAP entry, and then press
ENTER. The CHAP name can be up to 256 bytes long.
3. At the CHAPSecret prompt, type a secret for the CHAP entry, and then
press ENTER. The CHAP secret can be up to 100 bytes long.
4. The CHAPBidi [off] prompt displays. Do one of the following:
If you want the HBA to authenticate the target (bidirectional CHAP),
type yes, and then press ENTER.
If you do not want the HBA to authenticate the target, either press
ENTER (the default) or type off, and then press ENTER. You can also
add a BIDI CHAP entry with the -defbidi command. See “-defbidi
(Add a Default BIDI CHAP)” on page 5-7.
To view a map of targets to CHAP table entries, use the -chapmap command.
See “-chapmap (Display Targets Using CHAP Entries)” on page 5-6.