DGS-6604
m
snmp-server group
CLI Reference Guide
850
Usage Guideline
An SNMP group defines the access method, the read view, the write view, and
the notification view.
For the access method, it means that when the user who belongs to this group
must use the version and access method (for V3) to access the SNMP agent.
For the read view, it means that the user who belongs to this group can only read
objects that are part of this view. For the write view, it means that the user who
belongs to this group can only write objects that are part of this view. Accessing
objects that are not part of the view will generate error messages.
For the notification view, it means that the system will check whether the trap
manager owns the view to the binding objects that are associated with the
notification packet. If the trap manager does not own the notification view to the
binding objects, then the notification will not be sent to a trap manager.
Examples
This example shows how to create the SNMP server group
public
with SNMP v3.
This example shows how to remove the SNMP server group
public
from the
configuration.
This example shows how to set a MIB view called interfacesMibView and create
a group called guestgroup to SNMPv3 authentication-read mode associated with
the MIB view.
Verify the settings by entering the
show snmp group
command.
Switch# configure terminal
Switch(config)#snmp-server group public v3 noauth
Switch(config)#
Switch# configure terminal
Switch(config)# no snmp-server group public
Switch(config)# end
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)#
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...