Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Add-NcNetPortIfgrpPort


NAME
Add-NcNetPortIfgrpPort

SYNOPSIS
Add port to a network interface group (ifgrp).

SYNTAX
Add-NcNetPortIfgrpPort [-Name] <String> [-Node] <String> [-Port] <String[]>
[-Controller <NcController[]>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Add port to a network interface group (ifgrp).


PARAMETERS
-Name <String>
The name of the ifgrp to modify.

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

-Node <String>
The node that owns the ifgrp.

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

-Port <String[]>
The port(s) to add to the ifgrp.

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

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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

<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
NetApp.Ontapi.Filer.C.Net810.NetIfgrpInfo


NOTES


Category: net
API: net-port-ifgrp-add-port
Family: cluster

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

C:\PS>Add-NcNetPortIfgrpPort i0b fas3070cluster01-02 e0b,e0c


Add ports 'e0b' and 'e0c' to ifgrp 'i0b'.


NcController : 10.61.172.155
DistributionFunction : mac
DownPorts : {e0c}
IfgrpName : i0b
MacAddress : 02:a0:98:0a:d4:7f
Mode : singlemode
Node : fas3070cluster01-02
PortParticipation : partial
Ports : {e0b, e0c}
UpPorts : {e0b}



RELATED LINKS
Get-NcNetPort
Get-NcNetPortIfgrp
Remove-NcNetPortIfgrpPort







 Data ONTAP® PowerShell Toolkit