6.5

Table Of Contents
Table 51. Supported Levels for CHAP
Level Description Supported
chapProhibited
Host does not use CHAP
authentication. If authentication is
enabled, specify chapProhibited to
disable it.
Software iSCSI
Dependent hardware iSCSI
Independent hardware iSCSI
chapDiscouraged
Host uses a non-CHAP connection,
but allows a CHAP connection as
fallback.
Software iSCSI
Dependent hardware iSCSI
chapPreferred
Host uses CHAP if the CHAP
connection succeeds, but uses non-
CHAP connections as fallback.
Software iSCSI
Dependent hardware iSCSI
Independent hardware iSCSI
chapRequired
Host requires successful CHAP
authentication. The connection fails if
CHAP negotiation fails.
Software iSCSI
Dependent hardware iSCSI
Returning Authentication to Default Inheritance
The values of iSCSI authentication seings associated with a dynamic discovery address or a static
discovery target are inherited from the corresponding seings of the parent. For the dynamic discovery
address, the parent is the adapter. For the static target, the parent is the adapter or discovery address.
n
If you use the vSphere Web Client to modify authentication seings, you must deselect the Inherit from
Parent check box before you can make a change to the discovery address or discovery target.
n
If you use vicfg-iscsi, the value you set overrides the inherited value.
n
If you use esxcli iscsi commands, the value you set overrides the inherited value. You can set CHAP
at the following levels.
n
esxcli iscsi adapter auth chap [get|set]
n
esxcli iscsi adapter discovery sendtarget auth chap [get|set]
n
esxcli iscsi adapter target portal auth chap [get|set]
Inheritance is relevant only if you want to return a dynamic discovery address or a static discovery target to
its inherited value. In that case, use one of the following commands.
n
Dynamic discovery
esxcli iscsi adapter discovery sendtarget auth chap set --inherit
n
Static discovery
esxcli iscsi adapter target portal auth chap set --inherit
N You can set target-level CHAP authentication properties to be inherited from the send target level
and set send target level CHAP authentication properties to be inherited from the adapter level. Reseing
adapter-level properties is not supported.
Command Syntax for esxcli iscsi and vicfg-iscsi
In vSphere 5.0 and later, you can manage iSCSI storage by using either esxcli iscsi commands or vicfg-
iscsi options.
For details, see the vSphere Command-Line Interface Reference. “esxcli iscsi Command Syntax,” on page 74
and “vicfg-iscsi Command Syntax,” on page 75.
Chapter 5 Managing iSCSI Storage
VMware, Inc. 73