Chapter 7: SNMP Commands
130 Section II: Switch Management
SET SNMP COMMUNITY
Syntax
set snmp community=
community
[access=read|write]
[open=on|off|yes|no|true|false]
Parameters
community
Specifies a community name using up to 20 alphanumeric
characters including a hyphen (-), underscore (_), period (.),
parentheses (()), plus (+), and at sign (@). The community name is
not case-sensitive; however, it is displayed as entered.
access
Specifies the access permission to the community using the read
or write keyword. By default, the access permission is read.
read
Gives the community to only the read permission. A community
with the read permission is allowed to use the get and get-next
SNMP commands.
write
Gives the community to the read and write permission. A
community with the write permission is allowed to use the get, get-
next, and set SNMP commands.
open
Specifies to respond SNMP requests from the hosts specified by
the traphost and manager parameters or only the host specified by
the manager parameter.
on, yes, true
Responds SNMP requests from hosts specified by both traphost
and manager parameters.
off, no, false
Responds SNMP requests from only the host specified by the
manager parameter.
Description
Use this command to change the settings of access and open parameters
for an SNMP community.