Users Guide

Table Of Contents
Switch Management Commands 2261
The internal group name for SNMPv1 and SNMPv2 security models is
mapped to a view name. If ro is specified, then read-view and notify-
view are mapped. If rw is specified, then read-view, notify-view, and
write-view are mapped.
The community name may include any printable characters except a question
mark, an at sign, or a backslash. Enclose the string in double quotes to include
spaces within the name. The surrounding quotes are not used as part of the
name. The CLI does not filter illegal characters and may accept entries up to
the first illegal character or reject the entry entirely.
Command History
Modified in version 6.5 firmware.
Example
The following example configures community access string public to permit
administrative access to SNMP at an administrative station with IP address
192.168.1.20.
console(config)# snmp-server community public su ipaddress 192.168.1.20
snmp-server community-group
Use the snmp-server community-group command in Global Configuration
mode to map the internal security name for SNMP v1 and SNMP v2 security
models to the group name. To remove the specified community string, use
the no snmp-server community command.
Syntax
snmp-server community-group
community
-
string group-name
[ipaddress
ip-
address
]
no snmp-server community-group
community
-
string
community-string —
The SNMP community identifier. See SNMP-
COMMUNITYMIB (Range: 1-20 printable characters other than an at
sign, a backslash, or a question mark.)
group-name —
Name of a previously defined group. The group defines
the objects available to the community. (Range: 1-30 characters)