Specifications

Table Of Contents
Chapter 34: snmp Commands
34 - 4 SSR Command Line Interface Reference Manual
snmp set community
Purpose
Set an SNMP community string and specify the access privileges for that string.
Format
snmp set community
<community-name>
privilege
read|read-write
Mode
Configure
Description
The
snmp set community
command sets a community string for SNMP access to
the SSR. SNMP management stations that want to access the SSR must supply a
community string that is set on the switch. This command also sets the level of access
to the SSR to read-only or read-write. Communities that are read-only allow SNMP
GETs but not SNMP SETs. Communities that have read-write access allow both
SNMP GETs and SNMP SETs.
Parameters
community
<community-name>
Character string for the community string.
privilege
read|read-write
Access level. Specify one of the following:
read
– Allows SNMP GETs but not SNMP
SETs.
read-write
– Allows SNMP GETs and not
SNMP SETs.
Restrictions
None.
Example
Here is an example of the command for setting an SNMP community string and
specifying the level of access.
ssr(config)# snmp set community public privilege read
Sets the SNMP community string to “public,” which has read-only access.