DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
616
62-5
create snmp view
Description
This command is used to assign views to community strings to limit which MIB objects an SNMP
manager can access.
Format
create snmp view <view_name 32> <oid> view_type [included | excluded]
Parameters
<view_name 32>
- Specifies the view name to be created.
<oid>
- Specifies the object-identified tree (the MIB tree).
view_type
- Specifies the access type of of the MIB tree in this view.
included
- Specifies to include this view.
excluded
- Specifies to exclude this view.
Restrictions
Only Administrator-level users can issue this command.
Example
To assign views to community strings to limit which MIB objects an SNMP manager can access:
DGS-3710-12C:admin#create snmp view dlinkview 1.3.6 view_type included
Command: create snmp view dlinkview 1.3.6 view_type included
Success.
DGS-3710-12C:admin#
62-6
delete snmp view
Description
This command is used to remove a view record.
Format
delete snmp view <view_name 32> [all | <oid>]
Parameters
<view_name 32>
- Specifies the view name of the user who will be deleted.
all
- Specifies to view all records.
<oid>
- Specifies the object-identified tree (the MIB tree).