DXS-1210 Series Smart Managed Switch CLI Reference Guide
301
read READ-VIEW
(Optional) Specifies a read-view that the group user can access.
write WRITE-VIEW
(Optional) Specifies a write-view that the group user can access.
notify NOTIFY-VIEW
(Optional) Specifies a write-view that the group user can access. The
notify view describes the object that can be reported its status via trap
packets to the group user.
access IP-ACL-NAME
(Optional) Specifies the standard IP access control list (ACL) to
associate with the group.
Default
Group
Name
Version
Security Level
Read View
Name
Write View
Name
Notify View
Name
Initial
SNMPv3
noauth
Restricted
None
Restricted
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)#