Create Snmp Community - D-Link xStack DGS-3420 Series Reference Manual

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Restrictions
None.
Example
To display SNMP view records:
DGS-3420-28SC:admin#show snmp view
Command: show snmp view
Vacm View Table Settings
View Name
--------------------
restricted
restricted
restricted
restricted
restricted
CommunityView
CommunityView
CommunityView
Total Entries: 8
DGS-3420-28SC:admin#
15-8

create snmp community

Description
This command is used to create an SNMP community string. Use an SNMP community string to
define the relationship between the SNMP manager and the agent. The community string acts like a
password to permit access to the agent on the switch. You can specify one or more of the following
characteristics associated with the string: A MIB view, which defines the subset of all MIB objects
accessible to the given community; Read and write or read-only permission for the MIB objects
accessible to the community.
Format
create snmp community <community_string 32> view <view_name 32> [read_only | read_write]
Parameters
<community_string 32> - Specify the community string. The maximum string length is 32
characters.
view - Specify the view name of the MIB. The maximum length is 32 characters.
<view_name 32> - Specify the view name of the MIB. The maximum length is 32 characters.
read_only - Specify read-only permission.
Subtree
-------------------------
1.3.6.1.2.1.1
1.3.6.1.2.1.11
1.3.6.1.6.3.10.2.1
1.3.6.1.6.3.11.2.1
1.3.6.1.6.3.15.1.1
1
1.3.6.1.6.3
1.3.6.1.6.3.1
884
View Type
----------
Included
Included
Included
Included
Included
Included
Excluded
Included

Advertisement

Table of Contents
loading

Table of Contents