Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: New-NaNetVif


NAME
New-NaNetVif

SYNOPSIS
Create a new VIF.

SYNTAX
New-NaNetVif [-Name] <String> [-Add <String[]>] [-Type <String>] [-Policy <S
tring>] [-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters
>]


DESCRIPTION
Create a new VIF. Modifies active and persistent config.


PARAMETERS
-Name <String>
The name of the VIF to create.

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

-Add <String[]>
The interfaces to assign to the new VIF.

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

-Type <String>
VIF mode. Possible values are multi, single or lacp.

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

-Policy <String>
VIF load-balancing policy. Possible values are rr, mac or ip.

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

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController 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

<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.Types.Net.IfgrpInfo


NOTES


Category: net
API: system-cli
Privilege: security-priv-admin, cli-vif-create, api-net-config-get-activ
e, api-net-config-set-persistent

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

C:\PS>New-NaNetVif testvif e0c e0d


Create a VIF named 'testvif' spanning interfaces 'e0c' and 'e0d'.


Favored :
IfgrpPolicy : ip
IfgrpType : multi
InterfaceName : testvif
Links : {e0d, e0c}
Nofavored :



RELATED LINKS
Get-NaNetVif
Remove-NaNetVif
Set-NaNetVif







 Data ONTAP® PowerShell Toolkit