DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 142
Example usage:
To create an SNMP view:
DGS-3700-12:5#create snmp view dlinkview 1.3.6 view_type included
Command: create snmp view dlinkview 1.3.6 view_type included
Success.
DGS-3700-12:5#
delete snmp view
Purpose
Used to remove an SNMP view entry previously created on the Switch.
Syntax
delete snmp view <view_name 32> [all | <oid>]
Description
This command is used to remove an SNMP view previously created on the Switch.
Parameters
<view_name 32>
−
An alphanumeric string of up to 32 characters that identifies the
SNMP view to be deleted.
all
−
Specifies that all of the SNMP views on the Switch will be deleted.
<oid>
−
The object ID that identifies an object tree (MIB tree) that will be deleted
from the Switch.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To delete a previously configured SNMP view from the Switch:
DGS-3700-12:5#delete snmp view dlinkview all
Command: delete snmp view dlinkview all
Success.
DGS-3700-12:5#
show snmp view
Purpose
Used to display an SNMP view previously created on the Switch.
Syntax
show snmp view {<view_name 32>}
Description
This command is used to display an SNMP view previously created on the Switch.
Parameters
<view_name 32>
−
An alphanumeric string of up to 32 characters that identifies the
SNMP view that will be displayed.
Restrictions
None.
Example usage:
To display SNMP view configuration: