vserver iscsi show

Contributors

Display a Vserver’s iSCSI configuration

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command displays the current configuration of the iSCSI service.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver

Selects the iSCSI services for the Vserver that matches the parameter value.

[-target-name <text>] - Target Name

Selects the iSCSI services with a target name that matches the parameter value.

[-target-alias <text>] - Target Alias

Selects the iSCSI services with a target alias that matches the parameter value.

[-status-admin {down|up}] - Administrative Status

Selects the iSCSI services with a configured status that matches the parameter value.

[-max-error-recovery-level <integer>] - Max Error Recovery Level

Selects the iSCSI services with a maximum error recovery level that matches the parameter value.

[-retain-timeout <integer>] - RFC3720 DefaultTime2Retain Value (in sec)

Selects the iSCSI services with a wait time that matches the parameter value. The wait time is the amount of time before active task reassignment is possible after an unexpected connection termination.

[-login-timeout <integer>] - Login Phase Duration (in sec)

Selects the iSCSI services with a login phase duration that matches the parameter value.

[-max-conn-per-session <integer>] - Max Connections per Session

Selects the iSCSI services with a maximum connection per session that matches the parameter value.

[-max-ios-per-session <integer>] - Max Commands per Session

Selects the iSCSI services with a maximum number of commands per session that matches the parameter value.

[-tcp-window-size <integer>] - TCP Receive Window Size (in bytes)

Selects the iSCSI services with a TCP receive window size (in bytes) that matches the parameter value.

Examples

cluster1::> vserver iscsi show
           Target                           Target                       Status
Vserver    Name                             Alias                        Admin
---------- -------------------------------- ---------------------------- ------
vs_1       iqn.1992-08.com.example:sn.c7c82a22bf9f11df83e5123478563412:vs.2
                                            vs_1_alias                   up
1 entries were displayed.

cluster1::> vserver iscsi show -instance
Vserver: vs_1
                            Target Name: iqn.1992-08.com.example:sn.c7c82a22bf9f11df83e5123478563412:vs.2

The following is the output of the show command at the advanced privilege level:
Target Alias: vs_1_alias
                  Administrative Status: up
1 entries were displayed.

Displays the output of the show command at the admin privilege level.

cluster1::*> vserver iscsi show
           Target                           Target                       Status
Vserver    Name                             Alias                        Admin
---------- -------------------------------- ---------------------------- ------
vs_1       iqn.1992-08.com.example:sn.c7c82a22bf9f11df83e5123478563412:vs.2
                                            vs_1_alias                   up
1 entries were displayed.

Displays the output of the show command at the advanced privilege level.

cluster1::*> vserver iscsi show -instance
Vserver: vs_1
                            Target Name: iqn.1992-08.com.example:sn.c7c82a22bf9f11df83e5123478563412:vs.2
                           Target Alias: vs_1_alias
                  Administrative Status: up
               Max Error Recovery Level: 0
      DefaultTime2Retain Value (in sec): 20
          Login Phase Duration (in sec): 20
            Max Connections per Session: 4
                    Max I/O per Session: 128
TCP Window Size all Sessions (in bytes): 131400
1 entries were displayed.

Displays the detailed entries for all entries.