6.5

Table Of Contents
n
Run esxcli iscsi adapter discovery sendtarget param get or esxcli iscsi adapter target portal
param set to set iSCSI parameter options.
If special characters are in the <name>=<value> sequence, for example, if you add a space, you must surround
the sequence with double quotes ("<name> = <value>").
Returning Parameters to Default Inheritance with ESXCLI
The values of iSCSI parameters 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 esxcli iscsi, the value you set overrides the inherited value.
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 the following command, which requires the --name option for static
discovery addresses, but not for dynamic discovery targets.
Target Type Command
Dynamic target
esxcli iscsi adapter discovery sendtarget param set
Static target
esxcli iscsi adapter target portal param set
Listing and Setting iSCSI Parameters with vicfg-iscsi
You can list and set iSCSI parameters by running vicfg-iscsi -W.
The following table lists all seable parameters. These parameters are also described in the IETF rfc 3720.
You can also run vicfg-iscsi --parameter --list --details to determine whether a parameter is seable
or not.
The parameters in the table apply to software iSCSI and dependent hardware iSCSI.
Table 56. Settable iSCSI Parameters
Parameter Description
DataDigestType
Increases data integrity. When data digest is enabled, the system performs a
checksum over each PDUs data part and veries using the CRC32C algorithm.
N Systems that use Intel Nehalem processors ooad the iSCSI digest
calculations for software iSCSI, thus reducing the impact on performance.
Valid values are digestProhibited, digestDiscouraged,
digestPreferred, or digestRequired.
HeaderDigest
Increases data integrity. When header digest is enabled, the system performs a
checksum over the header part of each iSCSI Protocol Data Unit (PDU) and
veries using the CRC32C algorithm.
MaxOutstandingR2T
Max Outstanding R2T denes the Ready to Transfer (R2T) PDUs that can be in
transition before an acknowledgement PDU is received.
FirstBurstLength
Maximum amount of unsolicited data an iSCSI initiator can send to the target
during the execution of a single SCSI command, in bytes.
MaxBurstLength
Maximum SCSI data payload in a Data-In or a solicited Data-Out iSCSI
sequence, in bytes.
MaxRecvDataSegLen
Maximum data segment length, in bytes, that can be received in an iSCSI
PDU.
vSphere Command-Line Interface Concepts and Examples
92 VMware, Inc.