chap
Usage
chap [-a <action>] [-i <ChapId>]
chap -a add [-s “<list of settings>”]
chap -a mod -i <ChapId> [-s “<list of settings>”]
chap -a del -i <ChapId>
Summary
The chap command is used to create, modify or delete a CHAP record. CHAP authentication is used between
the subsystem and an initiator for the iSCSI host interface.
Options
-a <action>
Which action to perform.
list
(Default) List the existing CHAP records.
add
Create a CHAP record.
mod
Modify an existing CHAP record. To change CHAP secret, use this
operation without specifying -s.
del
Delete a CHAP.
-i <chap ID>
Used when viewing, modifying or deleting a CHAP record to
uniquely identify the CHAP record which to manipulate.
-s “<option>=<value>”
name=
Specifies chap name.
type=
Specifies chap type. Could be local or peer.
peer:
A peer CHAP record is one that the initiator must know when
logging into the subsystem local: A local CHAP is one that the
subsystem must know when the initiator logs into the subsystem to
create a session.
199
Promise
Technology
Managing with CLI