Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Remove-NcNetPortIfgrpPort


NAME
Remove-NcNetPortIfgrpPort

SYNOPSIS
Remove port from a network interface group (ifgrp).

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


DESCRIPTION
Remove port from a network interface group (ifgrp). Use Set-NcNetPort to se
t the admininistrative status of the ifgrp to 'down' before removing ports f
rom it.


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 remove from the ifgrp.

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

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach 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
DataONTAP.C.Types.Net.NetIfgrpInfo


NOTES


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

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

C:\PS>Get-NcNetPortIfgrp i0b -Node fas3070cluster01-02 | Set-NcNetPort -Down
| Remove-NcNetPortIfgrpPort -Port e0b,e0c


Remove ports 'e0b' and 'e0c' from ifgrp 'i0b'.


NcController : 10.61.172.155
DistributionFunction : mac
DownPorts :
IfgrpName : i0b
MacAddress : 02:a0:98:0a:d4:7f
Mode : singlemode
Node : fas3070cluster01-02
PortParticipation : none
Ports :
UpPorts :



RELATED LINKS
Get-NcNetPort
Get-NcNetPortIfgrp
Add-NcNetPortIfgrpPort







 Data ONTAP® PowerShell Toolkit