HP MSA 2040 CLI Reference Guide

show chap-records 211
show chap-records
Description For iSCSI, shows all CHAP records or the record for a specific originator. This command is permitted
whether or not CHAP is enabled.
Syntax
show chap-records
[name
originator-name
]
[show-secrets]
Parameters name
originator-name
Optional. The originator name, typically in IQN format. If this parameter is omitted, all CHAP
records are shown.
show-secrets
Optional. Minimum role: manage. Shows Initiator Secret and Mutual CHAP Secret
values in command output. If this parameter is omitted, secret values are not shown.
Output Initiator Name
The originator name.
Initiator Secret
The secret that the recipient uses to authenticate the originator.
Mutual CHAP Name
For mutual CHAP, the recipient name.
Mutual CHAP Secret
For mutual CHAP, the secret that the originator uses to authenticate the recipient.
Example As a user with the monitor role, show the CHAP record for a specific host initiator:
# show chap-records name iqn.1991-05.com.microsoft:myhost.domain
Chap Records
------------
Initiator Name: iqn.1991-05.com.microsoft:myhost.domain
Mutual CHAP Name: iqn.1995-03.com.acme:01.storage.00c0ffd6000a
Success: Command completed successfully. (2013-10-09 14:31:50)
As a user with the manage role, show the CHAP record for a specific host initiator:
# show chap-records name iqn.1991-05.com.microsoft:myhost.domain show-secrets
Chap Records
------------
Initiator Name: iqn.1991-05.com.microsoft:myhost.domain
Initiator Secret: 123456abcDEF
Mutual CHAP Name: iqn.1995-03.com.acme:01.storage.00c0ffd6000a
Mutual CHAP Secret: ABCdef123456
Success: Command completed successfully. (2013-10-09 14:32:01)
Basetypes chap-records
status
See also create chap-record
delete chap-records
set chap-record
show iscsi-parameters