|
|
Data ONTAP® PowerShell Toolkit
|
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>] [<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
<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
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|