Skip to main content

storage iscsi-initiator connect

Contributors
Suggest changes

Connect to an iSCSI target

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

Description

The storage iscsi-initiator connect command connects a node to the specified target. This command is only supported on high-availability shared-nothing virtualized platforms.

Parameters

-node {<nodename>|local} - Node (privilege: advanced)

Specifies the name of the ONTAP node to which the iSCSI target will be connected.

[-target-type {external|mailbox|partner|partner2|dr_auxiliary|dr_partner}] - Target Type (privilege: advanced)

Selects targets with the specified target type.

-label <text> - User Defined Identifier (privilege: advanced)

Specifies the label of the target to connect to.

Examples

The following example adds and connects to an iSCSI target from the specified node.

cluster1::*> storage iscsi-initiator connect -node node1
             -label target1