Set snmp community – Allied Telesis AT-S39 User Manual
Page 55
AT-S39 Command Line Interface User’s Guide
55
SET SNMP COMMUNITY
Syntax
set snmp community=”community” access=read|write
Parameter
community
Specifies the community string whose access level is
to be changed. Community strings are case sensitive.
The string must be enclosed in double quotes if it
contains a space or special character, such as an
exclamation point; otherwise, the quotes are optional.
access
Specifies the new access level for the community
string. Options are Read and Write.
Description
This command changes the access level of an existing community string
on the switch. For example, you can use the command to change a
community string with the Read access level to the Write level. To view
the community strings on the switch and their access levels, refer to the
SHOW SNMP command.
The switch can support only one community string with the Read access
level and one with the Write level at one time. Consequently, in order for
you to change a community string’s access level, there cannot be on the
switch an existing string that was already assigned that level. For
instance, to change a community string from the Read to the Write level,
you must first delete from the switch the community string that already
has been assigned the Write level. To delete community strings, refer to
the DESTROY SNMP COMMUNITY command.
Example
The following command changes the access level for the “serv12”
community string to Read:
set snmp community=serv12 access=read