Skip to main content

Show current iSCSI sessions

The show iscsiSessions command returns information about an iSCSI session for either an iSCSI initiator or an iSCSI target.

Supported Arrays

This command applies to an individual DE2000H, DE4000H, DE4000F, DE6000H, or DE6000F storage array.

Roles

To execute this command on an storage array, you must have the Storage Admin role.

Syntax

show iscsiInitiator ["<var id="GUID-9135C5F5-99EE-443C-9AF1-51AF83DA7512__V1175748" className="keyword varname">initiatorName</var>" | <"iqn">] iscsiSessions

show iscsiTarget ["<var id="GUID-9135C5F5-99EE-443C-9AF1-51AF83DA7512__V1175750" className="keyword varname">targetName</var>" | <"iqn">] iscsiSessions

Parameters

ParameterDescription
iscsiInitiator

The name of the iSCSI initiator for which you want to obtain session information.

If the iSCSI initiator uses a label or an alias, enclose the iSCSI initiator label or alias in double quotation marks (" ") inside square brackets ([ ]).

If the iSCSI initiator uses an iSCSI qualified name (IQN), enclose the IQN in double quotation marks (" ") inside angle brackets (< >).

iscsiTarget

The name of the iSCSI target for which you want to obtain session information.

If the iSCSI target uses a label or an alias, enclose the iSCSI target label or alias in double quotation marks (" ") inside square brackets ([ ]).

If the iSCSI target uses an iSCSI qualified name (IQN), enclose the IQN in double quotation marks (" ") inside angle brackets (< >).

Notes

If you enter this command without defining any arguments, this command returns information about all of the iSCSI sessions that are currently running. The following command returns information about all of the current iSCSI sessions:


show iscsiSessions


To limit the information that is returned, enter a specific iSCSI initiator or a specific iSCSI target. This command then returns information about the session for only the iSCSI initiator or the iSCSI target that you named.

An initiator name can be any combination of alpha or numeric characters from 1 to 30 characters in length. An IQN can be up to 255 characters in length and has this format:


iqn.yyyy-mm.naming-authority:unique name