Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Displaying information for iSCSI sessions

Types of session information  Top

You can display all of the information about iSCSI sessions using the iswta session show -v command, or you can use the -t or -p option to specify which type of information you want to display.

Displaying TCP connection information  Top

To display TCP connection information, complete the following step.

Step

Action

1

Enter the following command:

iscsi session show -t iswta

Result

The following information is displayed:

Session Initiator
Sessions connected on adapter iswta:
Session 1
  Initiator Information
    Initiator Name: iqn.1992-08.com.initvendor1:host1
    ISID: 00:00:00:00:00:00
  TCP Connection Information
    Remote Endpoint: 10.60.155.58:32771
    Local Endpoint: 10.60.155.31:3260
    Local Interface: e5

Displaying iSCSI session parameters  Top

Display session parameters is a convenient way to confirm whether parameters are turned on or off. For example, keys such as HeaderDigest and DataDigest can dramatically affect performance. Rather than taking a network trace of the login request, you can display the current session parameters and confirm that they are turned off. To display iSCSI session parameters, complete the following step.

Step

Action

1

To view the current session on the istwa driver, enter the following command:

iscsi session show -p iswta

Result

The following information is displayed:

Session Initiator
Sessions connected on adapter iswta:
Session 1
  Initiator Information
    Initiator Name: iqn.1992-08.com.netapp.host1
    ISID: 00:00:00:00:00:00
  Session Parameters
    InitiatorName=iqn.1992-08.com.netapp.host1
    InitiatorAlias=
    SessionType=Normal
    ImmediateData=Yes
    InitialR2T=Yes
    MaxOutstandingR2T=1
    HeaderDigest=None
    DataDigest=None
    MaxRecvDataSegmentLength=16384 (Initiator)
    MaxRecvDataSegmentLength=65536 (Target)
    FirstBurstLength=65536
    MaxBurstLength=65536
    MaxConnections=1
    ErrorRecoveryLevel=0
    DefaultTime2Wait=2
    DefaultTime2Retain=20
    DataPDUInOrder=Yes
    DataSequenceInOrder=Yes

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments