Chapter 5 Configuring Simple Network Management Protocol (SNMP)
Defining the CSS as an SNMP Agent
5-14
Cisco Content Services Switch Administration Guide
OL-5647-02
Configuring an SNMP Community
To set or modify SNMP community names and access privileges, use the
snmp
community
command. You may specify as many community names as you wish.
Caution
You must define the community strings for each access type (read-only or
read-write) before you use SNMP on the CSS. The CSS is inaccessible until you
specify a read community string.
The syntax for this global configuration mode command is:
snmp community
community_name
[
read-only
|
read-write
]
The variables and options for this command are:
•
community_name
- The SNMP community name for this system. Enter an
unquoted text string with no space and a maximum of 12 characters.
•
read-only
- Allows read-only access for this community.
•
read-write
- Allows read-write access for this community.
For example:
(config)#
snmp community sqa read-write
To remove a community name, enter:
(config)#
no snmp community
sqa