ONTAP 9.14.1 commands

storage iscsi-initiator remove-target

Remove an iSCSI target

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

Description

The storage iscsi-initiator remove-target command removes an iSCSI target from a node’s list of targets. This command is only supported on high-availability shared-nothing virtualized platforms.

Parameters

-node {<nodename>|local} - Node

Specifies the name of the Data ONTAP node from which the iSCSI target will be removed.

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

Selects targets with the specified target type.

-label <text> - User Defined Identifier

Specifies the label of the target to be removed.

Examples

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

cluster1::*> storage iscsi-initiator remove-target -node node1
             -label target1
Top of Page