Owners manual
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
553
ReadGroup SNMPv1 noauth CommunityView None CommunityView
ReadGroup SNMPv2c noauth CommunityView None CommunityView
WriteGroup SNMPv1 noauth CommunityView CommunityView CommunityView
WriteGroup SNMPv2c noauth CommunityView CommunityView CommunityView
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
An SNMP group defines a user group by specifying the allowed security model, the read-view, the write-
view, and the notification view. The security model defines that the group user is allowed to use the
specified version of SNMP to access the SNMP agent,
The same group name can be created with security models SNMPv1, SNMPv2c, and SNMPv3 at the
same time. For SNMPv3, it can be created for SNMPv3 auth and SNMPv3 priv at the same time.
To update the view profile for a group for a specific security mode, delete and create the group with the
new view profile.
The read-view defines the MIB objects that the group user is allowed to read. If read-view is not specified,
then Internet OID space 1.3.6.1 can be read.
The write-view defines the MIB objects that the group user is allowed to write. If write-view is not specified,
then no MIB objects can be written.
The notification view defines the MIB objects that the system can report its status in the notification
packets to the trap managers that are identified by the specified group user (act as community string). If
notify-view is not specified, then no MIB objects can be reported.
Example
This example shows how to create the SNMP server group “guestgroup” for SNMPv3 access and
SNMPv2c.
Switch# configure terminal
Switch(config)# snmp-server view interfacesMibView 1.3.6.1.2.1.2 included
Switch(config)# snmp-server group guestgroup v3 auth read interfacesMibView
Switch(config)# snmp-server group guestgroup v2c read CommunityView write
CommunityView
Switch(config)#
59-19 snmp-server host
This command is used to specify the recipient of the SNMP notification. Use the no command to remove
the recipient.
snmp-server host {IP-ADDRESS | IPV6-ADDRESS} [version {1 | 2c | 3 {auth | noauth | priv}}]
COMMUNITY-STRING [port PORT-NUMBER]
no snmp-server host {IP-ADDRESS | IPV6-ADDRESS}
Parameters