Snmp-server community-group – Dell PowerEdge M805 User Manual
Page 437
SNMP Commands
429
•
su—Indicates SNMP administrator access.
•
ipaddress—Specifies the IP address of the management station. If no IP address is
specified, all management stations are permitted.
•
viewname—Specifies the name of a previously defined view. For information on views, see
the user guidelines. (Range: 1-30 characters)
Default Configuration
No community is defined.
Command Mode
Global Configuration mode
User Guidelines
You can not specify viewname for su, which has an access to the whole MIB. You can use the
view name to restrict the access rights of a community string. When it is specified:
•
An internal security name is generated.
•
The internal security name for SNMPv1 and SNMPv2 security models is mapped to an
internal group name.
•
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.
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 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 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)