DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
759
create snmp view 78-14
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> - Enter the view name here. The name can be up to 32 characters long.
<oid> - Enter the object-Identified tree, or MIB tree.
view_type - Specify the access type of the MIB tree in this view.
included - Includes for this view.
excluded - Excludes for this view.
Restrictions
Only Administrators can issue this command.
Example
To create SNMP view “view123”:
DGS-3000-26TC:admin#create snmp view view123 1.3.6 view_type included
Command: create snmp view view123 1.3.6 view_type included
Success.
delete snmp view 78-15
Description
This command is used to remove a view record.
Format
delete snmp view <view_name 32> [all | <oid>]
Parameters
<view_name 32> - Enter the view name to be deleted. The name can be up to 32 characters
long.
all - Specify that all view records will be removed.
<oid> - Enter the Object-Identified tree, or MIB tree.