Specifications
snmp-server community
606
snmp-server community
Sets the access list for the SNMP community. The command can configure up to 4 entries.
Syntax
To set or change information:
snmp-server community <String> [ {ro|rw} ] [<ACL ID>]
To delete information:
no snmp-server community <String>
Input mode
(config)
Parameters
<String>
Sets the community name for the SNMP manager.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
Enclose a character string of no more than 60 characters in double quotation
marks ("). Specifiable characters are alphanumeric characters and special
characters. To enter a character string that does not include any special
characters such as a space, you do not need to enclose the character string in
double quotation marks ("). For details, see Any character string in Specifiable
values for parameters.
{ ro | rw }
Sets the MIB operating mode for the manager whose IP address belongs to the
community that has been set. If
ro is set, Get Request and GetNext Request are
permitted. If
rw is set, Get Request, GetNext Request, and Set Request are
permitted.
1. Default value when this parameter is omitted:
ro
2. Range of values:
ro or rw
<ACL ID>
Sets the name of the standard access list in which the permissions for this
community are set. If <ACL ID> is omitted, all accesses are permitted. In addition, if
the specified <ACL ID> has not been set, all access is permitted.
One access list is permitted for one community.
1. Default value when this parameter is omitted:
None. (all accesses are permitted.)
2. Range of values:
Specify an access list name that is 3 to 31 characters. For details about the
characters that can be specified, see Specifiable values for parameters.