xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
39
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
The
delete snmp view
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-3627:5#delete snmp view dlinkview all
Command: delete snmp view dlinkview all
Success.
DGS-3627:5#
show snmp view
Purpose
Used to display an SNMP view previously created on the Switch.
Syntax
Show snmp view {<view_name 32>}
Description
The
show snmp view
command displays 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
Only administrator-level and operator-level users can issue this
command.
Example usage:
To display SNMP view configuration:
DGS-3627:5#show snmp view
Command: show snmp view
Vacm View Table Settings
View Name Subtree View Type
-------------------- ------------------------- ----------
ReadView 1 Included
WriteView 1 Included
NotifyView 1.3.6 Included
restricted 1.3.6.1.2.1.1 Included
restricted 1.3.6.1.2.1.11 Included
restricted 1.3.6.1.6.3.10.2.1 Included
restricted 1.3.6.1.6.3.11.2.1 Included
restricted 1.3.6.1.6.3.15.1.1 Included
CommunityView 1 Included
CommunityView 1.3.6.1.6.3 Excluded
CommunityView 1.3.6.1.6.3.1 Included