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
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.
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 .
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.
|
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. |
- Complete target discovery by using an IPv4 IP address of a target ISCSI controller through
source port ID
0
.detectiscsistorageportcandidate -targetip IP1 –srcportid 2
- You would then specify session establishment by using addiscsistorageport for
discovery output row
0
through I/O group1
.addiscsistorageport -iogrp 1 0
- 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.