Specifications

Table Of Contents
2-479
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
snmp-server community
snmp-server community
Sets a community string. Use the no form of the command to remove a community string. The optional
acl-number parameter states the access list number to restrict the managers that can use this community.
snmp-server community community-string [read-option] [acl-number]
no snmp-server community community-string [read-option] [acl-number]
no snmp-server community all
Syntax Description
Command Default no SNMP access
Command Modes Global configuration
Command History This table includes the following release-specific history entries:
Usage Guidelines Use the all keyword with the no form of the command to remove all configured communities.
Authorization: admin
Examples The following example configures an SNMP managers community that has read-only permissions for
the SCE platform MIB. Only SNMP managers in access list 1 can access the SCE platform.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#snmp-server community public ro 1
SCE(config)#
Related Commands
community-string The SNMPv1 and SNMPv2c security string that identifies a community of
managers that can access the SNMP server.
read-option Legal values are ro and rw. The default ro (read-only) option allows
managers to view MIB variables. rw sets the variable to read-write.
acl-number Number of the access list that lists the managers who may access the SCE
platform via SNMP.
Release Modification
2.5.7 This command was introduced.
Command Description
access-list Adds an entry to the bottom of the specified access list.
show access-lists Shows all access-lists or a specific access list.