ONTAP 9.13.1 commands

storage iscsi-initiator show

Display the iSCSI targets

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The storage iscsi-initiator show displays the list of iSCSI targets configured for each Data ONTAP node in the cluster. This command is only supported on high-availability shared-nothing virtualized platforms.

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.

[-node {<nodename>|local}] - Node

Represents the name of the Data ONTAP node for which information is to be displayed. If this parameter is not specified, the command displays information about all nodes in the cluster.

[-target-type {external|mailbox|partner|partner2|dr_auxiliary|dr_partner}] - Target Type

Selects targets with the specified target type.

[-label <text>] - User Defined Identifier

Selects targets with the specified label.

[-target-portal <text>] - Target Portal

Selects targets with the specified portal.

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

Selects targets with the specified target name.

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

Selects targets with the specified administrative status.

[-status-oper {down|up}] - Operational Status

Selects targets with the specified operational status.

[-failure-reason <text>] - Failure Reason

Selects targets with the specified failure reason.

Examples

The following example displays the list of iSCSI targets for each node in the cluster.

cluster1::*> storage iscsi-initiator show
                                                                       Status
Node Type Label    Target Portal      Target Name                      Admin/Op
---- ---- -------- ------------------ -------------------------------- --------
node1
     mailbox
          mediator 10.235.14.141      iqn.2012-05.local:mailbox.group.1  up/up
     partner
          partner  10.63.7.205:65200  iqn.2012-06.com.bsdctl:target0     up/up
node2
     mailbox
          mediator 10.235.14.141      iqn.2012-05.local:mailbox.group.1  up/up
     partner
          partner  10.63.7.201:65200  iqn.2012-06.com.bsdctl:target0     up/up
4 entries were displayed.
Top of Page