Users Guide

Switch Management Commands 2186
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)
ip-address — Specifies the IP address or subnet of the management
station(s). If no IP address is specified, all management stations are
permitted. Both IPv4 and IPv6 addresses are accepted. If a subnet is
specified, it may be entered in the form of an IPv4 address, followed by a
space and a forward slash, followed by the decimal number of significant