D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
48
create snmp view
Purpose
Used to assign views to community strings to limit which MIB objects
and SNMP manager can access.
Syntax
create snmp view <view_name 32> <oid> view_type [included |
excluded]
Description
This command is used to assign views to community strings to limit
which MIB objects an SNMP manager can access.
Parameters
<view_name 32> An alphanumeric string of up to 32 characters
that identifies the SNMP view that will be created.
<oid> The object ID that identifies an object tree (MIB tree) that will
be included or excluded from access by an SNMP manager.
view type – Sets the view type to be:
included Include this object in the list of objects that an SNMP
manager can access.
excluded Exclude this object from the list of objects that an SNMP
manager can access.
Restrictions
None.
Example usage:
To create an SNMP view:
DES-3200-28:4#create snmp view dlinkview 1.3.6 view_type included
Command: create snmp view dlinkview 1.3.6 view_type included
Success.
DES-3200-28:4#