![D-Link DGS-3700 Series Reference Manual Download Page 137](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575137.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 137
SNMP
C
OMMANDS
Back to Section Header
The Switch supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. Users can
specify which version of the SNMP users want to use to monitor and control the Switch. The three versions
of SNMP vary in the level of security provided between the management station and the network device.
The following table lists the security features of the three SNMP versions:
SNMP
Version
Authentication
Method
Description
v1
Community String
Community String is used for authentication
−
NoAuthNoPriv
v2c
Community String
Community String is used for authentication
−
NoAuthNoPriv
v3
Username
Username is used for authentication
−
NoAuthNoPriv,
AuthNoPriv or AuthPriv
v3
MD5 or SHA
Authentication is based on the HMAC-MD5 or HMAC-SHA
algorithms
−
AuthNoPriv
v3
MD5 DES or SHA
DES
Authentication is based on the HMAC-MD5 or HMAC-SHA
algorithms
−
AuthPriv.
DES 56-bit encryption is added based on the CBC-DES (DES-
56) standard
The network management commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
C
OMMAND
P
ARAMETERS
enable snmp
disable snmp
create snmp user
<user_name 32> <groupname 32> {encrypted [by_password auth [md5
<auth_password 8-16 > | sha <auth_password 8-20>] priv [none | des
<priv_password 8-16>] | by_key auth [md5 <auth_key 32-32> | sha
<auth_key 40-40>] priv [none | des <priv_key 32-32>]]}
delete snmp user
<user_name 32>
show snmp user
create snmp view
<view_name 32> <oid> view_type [included | excluded]
delete snmp view
<view_name 32> [all | oid]
show snmp view
{<view_name 32>}
create snmp community
<community_string 32> view <view_name 32> [read_only | read_write]
delete snmp community
<community_string 32>
show snmp community
{<community_string 32>}
config snmp engineID
<snmp_engineID 10-64>
show snmp engineID
create snmp group
<groupname 32> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]]
{read_view <view_name 32> | write_view <view_name 32> |
notify_view <view_name 32>}
delete snmp group
<groupname 32>
show snmp groups
create snmp host
[host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv |