lsiscsistorageport

Use the lsiscsistorageport command to display the details of the iSCSI login sessions that are established from the initiator's iSCSI source ports to the iSCSI backend target controller ports.

Syntax

Read syntax diagramSkip visual syntax diagram lsiscsistorageport row_id

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.
row_id
(Optional) Specifies the row ID view. The ID denotes sessions that are established from the specified initiator node ports to a backend controller target iSCSI qualified name (IQN) through a target Internet Protocol (IP) address. The value must be a number 0 - 1024.

Description

This command displays the details of sessions that are established from the initiator's iSCSI source ports to iSCSI backend target controller ports.

This table provides the attribute values that can be displayed as output view data.
Table 1. lsiscsistorageport output
Attribute Description
id Indicates the object identifier for any sessions from any system nodes to the iSCSI backend controller iSCSI qualified name (IQN) through an iSCSI backend controller target IP. The value must be a number 0 - 1023.
src_port_id Indicates the source port identifier for the node Ethernet port number that is displayed in the lsportethernet output. The value is a number 1 - 8.
target_ipv4 Indicates the IPv4 address of the iSCSI backend controller target port that establishes a session from the initiator source port that is identified by the source port ID. The default value is blank.
target_ipv6 Indicates the IPv6 address of the iSCSI backend controller target port that establishes a session from the initiator source port that is identified by the source port ID. The default value is blank.
target_iscsiname Indicates the IQN of the iSCSI backend controller target that establishes a session. The value must be an alphanumeric string of no more than 256 characters. The default value is blank.
controller_id Indicates the controller ID that is displayed in the lscontroller output. The value must be a number 0 - 1023. The default value is 1024.
iogroup_list Indicates a colon-separated list of discovery result codes: The value must be an alphanumeric string of up to 32 characters. This field cannot be blank. The values are 0 and 1.
  • 0 indicates that the I/O group is available in the system, but discovery is either not triggered through the I/O group or discovery through the I/O group fails.
  • 1 indicates that the I/O group is present and discovery is successful through the I/O group.
Note: The value - (dash) indicates that the I/O group is not valid or is not present in the system.
status Indicates the connectivity status from all nodes in the system to the target port.
  • full

    If you specify a single I/O group by using the addiscsistorageport command and you establish the session from all nodes in the specified I/O group, the status is full.

  • partial

    If you specify a single I/O group by using the addiscsistorageport command and you establish the session from a single node in the specified I/O group, the status is partial.

  • none

    If you specify a single I/O group by using the addiscsistorageport command and you do not establish the session from any node in the specified I/O group, the status is none.

No default value exists. This field cannot be blank.
connected Indicates whether the established connection is from a specified Ethernet port of a target IQN and IP address. The values are yes and no.
node_id Indicates the node ID of the initiator node that establishes the session. The value must be a numeric value.
node_name Indicates the node name of the initiator node that establishes the session. The value must be an alphanumeric string of no more than 16 characters. The default value is blank.
src_ipv4 Indicates the IPv4 IP address of the source port ID on a specified node. The default value is blank.
src_ipv6 Indicates the IPv6 IP address of the source port ID on a specified node. The default value is blank.
src_iscsiname Indicates the IQN of the source node for which connectivity is being displayed for the target port. The value must be an alphanumeric string of no more than 256 characters. The default value is blank.
Before you specify lsiscsistorageport such as in the following examples, you must use this procedure.
  1. Complete target discovery by using an IPv4 IP address of a target ISCSI controller through source port ID 0.
    detectiscsistorageportcandidate -targetip IP1 –srcportid 2 
  2. You would then specify session establishment by using addiscsistorageport for discovery output row 0 through I/O group 1.
    addiscsistorageport -iogrp 1 0
  3. Specify lsiscsistorageport to view the output (no tgt_user_name or target_chap is required for discovery or session establishment).

Specify rmiscsistorageport to remove a session.