SNMP Commands 1531
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 form of this command.
Syntax
snmp-server community-group

community

-

string group-name

[ipaddress

ip-

address
]

community-string — Community string that acts like a password and

permits access to the SNMP protocol. (Range: 1-20 characters)

group-name —

Name of a previously defined group. The group defines the
objects available to the community. (Range: 1-30 characters)
ip-address — Management station IP address. Default is all IP addresses.
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.
Maps the internal security-name for SNMPv1 and SNMPv2 security
models to the group-name.
Example
The following example maps a community access string dell_community to
group dell_group.
console(config)# snmp-server community-group
dell_community dell_group 192.168.29.1
2CSPC4.XCT-SWUM2XX1.book Page 1531 Monday, October 3, 2011 11:05 AM