Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Add-NaSnmpCommunity


NAME
Add-NaSnmpCommunity

SYNOPSIS
Adds a community to the list of communities.

SYNTAX
Add-NaSnmpCommunity [-Community] <String> [-Controller <NaController>] [<Com
monParameters>]


DESCRIPTION
Adds a community to the list of communities.


PARAMETERS
-Community <String>
Community name to be added.

Required? true
Position? 1
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.Snmp.SnmpStatusInfo


NOTES


Category: snmp
API: snmp-community-add

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

C:\PS>Add-NaSnmpCommunity public


Add the community "public"


Communities : {public}
Contact : Bill Smith
IsTrapEnabled : True
Location : Main lab
Traphosts : {x3550rre8.rtprre.testdomain}



RELATED LINKS
Get-NaSnmp
Remove-NaSnmpCommunity







 Data ONTAP® PowerShell Toolkit