CLI Guide
show advanced-settings
set chap-record
Description Changes an iSCSI originator’s CHAP record.
You can change the record’s secret, mutual name, and mutual secret values. This command is permitted
whether or not CHAP is enabled.
For a login request from an initiator to a storage system, the initiator is the originator and the storage system
is the recipient. Because CHAP works during login, to make CHAP changes take effect you must reset any
active iSCSI host links.
NOTE: For information about setting up CHAP for use in a peer connection, see the topic
about creating a peer connection in the
Dell EMC PowerVault ME4 Series Storage System
Administrator's Guide
.
Minimum role manage
Syntax
set chap-record
name originator-name
[secret originator-secret]
[mutual-name recipient-name mutual-secretrecipient-secret]
Parameters
name originator-name
The originator name, typically in IQN format.
secret originator-secret
The secret that the recipient uses to authenticate the originator. The secret is case sensitive and can include
12–16 bytes. The value can include spaces and printable UTF-8 characters except: " <
mutual-name recipient-name
Optional; for mutual CHAP only. The recipient name, typically in IQN format. The name is case sensitive and
can have a maximum of 223 bytes, including 0–9, lowercase a–z, hyphen, colon, and period. To determine a
storage system’s IQN, use the show ports command to view the Target ID value for an iSCSI port. This
parameter and mutual-secret must be set together.
mutual-secret recipient-secret
Optional; for mutual CHAP only. The secret that the originator uses to authenticate the recipient. The secret
is case sensitive, can include 12–16 bytes, and must differ from the originator secret. The value can include
spaces and printable UTF-8 characters except: " <
A storage system’s secret is shared by both controllers. This parameter and mutual-name must be set
together
Examples
For mutual CHAP, add a recipient name and secret to a CHAP record.
# set chap-record name iqn.1991-05.com.microsoft:myhost.domain secret
123456abcDEF mutual-name iqn.1995-03.com.acme:01.storage.00c0ffd6000a
mutual-secret ABCdef123456(2012-01-21 11:54:33)
See also
create chap-record
delete chap-records
show chap-records
show iscsi-parameters
show ports
Alphabetical list of commands 109