Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Add-NaHostIscsiTargetPortal


NAME
Add-NaHostIscsiTargetPortal

SYNOPSIS
Add a Data ONTAP storage controller to the iSCSI Initiator target portals.
This portal is used to discover iSCSI targets.

SYNTAX
Add-NaHostIscsiTargetPortal [[-Port] <Int32>] [-Controller <NaController>] [
-WhatIf] [-Confirm] [<CommonParameters>]

Add-NaHostIscsiTargetPortal [[-Port] <Int32>] [-Credential <PSCredential>] [
-MutualChap] [-RadiusVerify] [-Controller <NaController>] [-WhatIf] [-Confir
m] [<CommonParameters>]

Add-NaHostIscsiTargetPortal [[-Port] <Int32>] [-MutualChap] [-RadiusGenerate
] [-RadiusVerify] [-Controller <NaController>] [-WhatIf] [-Confirm] [<Common
Parameters>]


DESCRIPTION
Add a Data ONTAP storage controller to the iSCSI Initiator target portals.
This portal is used to discover iSCSI targets.


PARAMETERS
-Port <Int32>
The port to use to connect to the iSCSI target portal. Default is 3260.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller to add as an iSCSI target portal, embodied by
an NaController object. This parameter is returned by the Connect-NaCon
troller cmdlet. If not specified, the value in the global variable Curr
entNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Credential <PSCredential>
The CHAP username/password to use to authenticate the target portal. If
not specified, no authentication will be used when connecting to the ta
rget portal.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-MutualChap
If specified, mutual CHAP will be used. To use mutual CHAP, an initiato
r CHAP secret must be set on the Configuration page of the iSCSI Initiat
or Properties.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-RadiusVerify
If specified, use RADIUS to authenticate target credentials.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-RadiusGenerate
If specified, use RADIUS to generate user authentication credentials.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Windows.IscsiTargetInfo


NOTES


Category: host

-------------- Example 1 --------------

C:\PS>Add-NaHostIscsiTargetPortal


Add the controller saved in $global:CurrentNaController to the iSCSI target
portal list.


DiscoveryMechanism : SendTargets:*10.61.169.28 0003260 Root\ISCSIPRT\0000_0
InitiatorName : Root\ISCSIPRT\0000_0
TargetName : iqn.1992-08.com.netapp:sn.135107386
IsConnected : False



RELATED LINKS
Connect-NaHostIscsiTarget







 Data ONTAP® PowerShell Toolkit