Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Add-NcHostIscsiConnection


NAME
Add-NaHostIscsiConnection

SYNOPSIS
Add a connection to an existing iSCSI session.

SYNTAX
Add-NaHostIscsiConnection [-SessionId] <String> [-TargetIp <String>] [-Targe
tPort <UInt16>] [-InitiatorIp <String>] [-HeaderDigest] [-DataDigest] [<Comm
onParameters>]

Add-NaHostIscsiConnection [-SessionId] <String> [-TargetIp <String>] [-Targe
tPort <UInt16>] [-InitiatorIp <String>] [-Credential <PSCredential>] [-Mutua
lChap] [-HeaderDigest] [-DataDigest] [-RadiusVerify] [<CommonParameters>]

Add-NaHostIscsiConnection [-SessionId] <String> [-TargetIp <String>] [-Targe
tPort <UInt16>] [-InitiatorIp <String>] [-MutualChap] [-HeaderDigest] [-Data
Digest] [-RadiusGenerate] [-RadiusVerify] [<CommonParameters>]


DESCRIPTION
Add a connection to an existing iSCSI session.


PARAMETERS
-SessionId <String>
Session ID to add connection.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-TargetIp <String>
IP address of the target portal to connect to. If not specified, the de
fault IP address will be used.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-TargetPort <UInt16>
The target port to connect to. The default is 3260.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-InitiatorIp <String>
IP address the initiator should use to connect to the target.

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

-HeaderDigest
If specified, header digest will be enabled.

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

-DataDigest
If specified, data digest will be enabled.

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. If not sp
ecified, no authentication will be used when connecting to the target.

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.IscsiSessionInfo


NOTES


Category: host

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

C:\PS>Add-NaHostIscsiConnection -SessionId fffffa800a2d7428-4000013700000056


Add a connection to the given session.


SessionId TargetName
NumConnections NumDevices
--------- ----------
-------------- ----------
fffffa800a2d7428-4000013700000056 iqn.1992-08.com.netapp:sn.149c3db9b3c..
. 3 0



RELATED LINKS
Remove-NaHostIscsiConnection







 Data ONTAP® PowerShell Toolkit