xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
DGS-3612G:4#delete snmp view dlinkview all
Command: delete snmp view dlinkview all
Success.
DGS-3612G:4#
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 None.
Example usage:
To display SNMP view configuration:
DGS-3612G:4#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
Total Entries: 11
DGS-3612G:4#
create snmp community
Purpose
Used to create an SNMP community string to define the relationship
between the SNMP manager and an agent. The community string acts like
a password to permit access to the agent on the Switch. One or more of the
following characteristics can be associated with the community string:
An Access List of IP addresses of SNMP managers that are permitted to
use the community string to gain access to the Switch’s SNMP agent.
An MIB view that defines the subset of all MIB objects that will be
accessible to the SNMP community.
read_write
or
read_only
level permission for the MIB objects accessible to
the SNMP community.
Syntax
create snmp community <community_string 32> view <view_name
32> [read_only | read_write]
32