Administrator Guide

Switch Management Commands 2135
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
bits with no intervening spaces, or the IP address may be followed by an
IPv4 mask in dotted quad notation. The range of IPv4 significant bits is
1 to 31 bits.
Default Configuration
No community group is defined.
Command Mode
Global Configuration mode
User Guidelines
The group-name parameter can be used to restrict the access rights of a
community string. When it is specified, the software:
Generates an internal security-name.