system snmp community add
Adds a new community with the specified access control type
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The system snmp community add command adds communities with the specified access control type. Only read-only communities are supported. There is no limit for the number of communities supported.
Parameters
-vserver <Vserver Name>- Vserver-
This parameter specifies the Vserver to which the community will be added. If no Vserver is specified, the community is added to the admin Vserver.
-community-name <text>- Community-
This parameter specifies the name of the community.
-type <ctype>- access type-
This parameter specifies 'ro' for read-only community.
Examples
The following example adds the read-only community name 'private'.
cluster1::> system snmp community add -type ro
-community-name private
cluster1::> system snmp community show
ro private