DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
40
Re
strictions Only Administrator or operator-level users can issue this command.
Example usage:
To display the SNMP users currently configured on the Switch:
DGS3100# show snmp user
Username Group Name SNMP Version Auth-Protocol
--------------- --------------- ------------ -------------
Initial initial V3 None
Total Entries: 1
DGS3100#
create snmp view
Purpose To assign views to community strings to limit which MIB objects an
SNMP manager can access.
Syntax
create snmp view <view_name 30> <oid> view_type [included |
excluded]
Description The create snmp view command assigns views to community
strings to limit which MIB objects an SNMP manager can access.
Parameters <view_name 30> − A string of up to 30 alphanumeric characters that
identifies the SNMP view to be created.
<oid> − The object ID that identifies an object tree (MIB tree) to be
included or excluded from access by an SNMP manager.
included − Includes this object in the list of objects that an SNMP
manager can access.
excluded − Excludes this object from the list of objects that an
SNMP manager can access.
Restrictions Only administrator or operate-level users can issue this command.
Example usage:
To create an SNMP view:
DGS3100# create snmp view dlinkview 1.3.6 view_type included
Success.
DGS3100#
delete snmp view
Purpose To remove an SNMP view entry previously created on the Switch.
Syntax
delete snmp view <view_name 30> [all | oid]
Description The delete snmp view command removes an SNMP view