lsiscsiauth

Use the lsiscsiauth command to list the Challenge Handshake Authentication Protocol (CHAP) secret that is configured for authenticating an entity to the system.

Syntax

Read syntax diagramSkip visual syntax diagram lsiscsiauth

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
-filtervalue?
(Optional) Displays a list of valid filter attributes.

Description

This command lists the CHAP secret that is configured for authenticating an entity to the system. The command also displays the configured iSCSI authentication method. The iscsi_auth_method field can have values of none or chap.

When you create an iSCSI host by using the mkhost command with the iscsiname parameter, the host is initially configured with the authentication method as none, and no CHAP secret is set. To set a CHAP secret for authenticating the iSCSI host with the system, use the chhost command with the chapsecret parameter.

This table provides the attribute values that can be displayed as output view data.
Table 1. lsiscsiauth output
Attribute Description
type Indicates the iSCSI system type.
id Indicates the iSCSI system ID.
name Indicates the iSCSI system name.
iscsi_auth_method Indicates the iSCSI authentication method.
iscsi_chap_secret Indicates whether an iSCSI CHAP secret exists.
cluster_iscsi_auth_method Indicates clustered system iSCSI authentication method.
cluster_iscsi_chap_secret Indicates the clustered system iSCSI configured CHAP secret.
iscsiusername Indicates the iSCSI user name.