Home > Configuration > Snmp > addsnmpcommunity

addsnmpcommunity

Use this method to creates an SNMP community, which is a password (string) used to authenticate SNMP queries from SNMP managers. You can associate it with any of the following SNMP query types: GET, GET NEXT, ALL, GET BULK.
You can associate one or more community strings with each query type. For example, if you associate two community strings, such as Example and Test, with the query type GET NEXT, the Citrix ADC considers only those GET NEXT SNMP query packets that contain Example or Test as the community string.

Syntax



Parameters

communityname

The SNMP community string. Can consist of 1 to 31 characters that include uppercase and lowercase letters,numbers and special characters. The following requirement applies only to the Citrix ADC CLI: If the string includes one or more spaces, enclose the name in double or single quotation marks (for example, "my string" or 'my string').
This is mandatory parameter.

permissions

The SNMP V1 or V2 query-type privilege that you want to associate with this SNMP community.
This is mandatory parameter.

Return Value

Returns simpleResult

See Also