xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
create snmp view
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To create an SNMP view:
DES-3528:admin# create snmp view dlinkview 1.3.6 view_type included
Command: create snmp view dlinkview 1.3.6 view_type included
Success.
DES-3528:admin#
delete snmp view
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To delete a previously configured SNMP view from the Switch:
DES-3528:admin# delete snmp view dlinkview all
Command: delete snmp view dlinkview all
Success.
DES-3528:admin#
Used to assign views to community strings to limit which MIB objects and SNMP manager
can access.
create snmp view <view_name 32> <oid> view_type [included | excluded]
This command assigns views to community strings to limit which MIB objects an SNMP
manager can access.
<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.
Only Administrator-level users can issue this command.
Used to remove an SNMP view entry previously created on the Switch.
delete snmp view <view_name 32> [all | <oid>]
This command is used to remove an SNMP view previously created on the Switch.
<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.
Only Administrator-level users can issue this command.
48