|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaVfilerProtocol
NAME
Set-NaVfilerProtocol
SYNOPSIS
Allow / disallow protocols on a vfiler.
SYNTAX
Set-NaVfilerProtocol [-Name] <String> [-AllowProtocols <String[]>] [-Disallo
wProtocols <String[]>] [-Controller <NaController>] [-WhatIf] [-Confirm] [<C
ommonParameters>]
DESCRIPTION
Allow / disallow protocols on a vfiler.
PARAMETERS
-Name <String>
The name of the vfiler.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-AllowProtocols <String[]>
List of protocols to allow. Possible values are: nfs, cifs, rsh.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DisallowProtocols <String[]>
List of protocols to disallow. Possible values are: nfs, cifs, rsh.
Required? false
Position? named
Default value
Accept pipeline input? false
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
NetApp.Ontapi.Filer.Vfiler73.VfilerInfo
NOTES
Category: vfiler
API: vfiler-allow-protocol, vfiler-disallow-protocol
-------------- Example 1 --------------
C:\PS>Set-NaVfilerProtocol vfiler2 -AllowProtocols nfs,cifs -DisallowProtoco
ls rsh | Get-NaVfilerProtocol
Allow protocols nfs & cifs on vfiler 'vfiler2', and disallow protocol rsh.
Then display the result.
AllowedProtocols DisallowedProtocols
---------------- -------------------
{nfs, cifs, iscsi} {rsh}
RELATED LINKS
Get-NaVfiler
Get-NaVfilerProtocol
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|