D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
630
83
SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)
COMMANDS
The Simple Network Management Protocol (SNMP) commands in the Command Line Interface (CLI) are listed (along
with the appropriate parameters) in the following table.
Command Parameters
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> }
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 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 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 [ host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv | auth_nopriv |
auth_priv] ] <auth_string 32>
delete snmp [host <ipaddr> | v6host <ipv6addr>]
show snmp host { <ipaddr> }
show snmp v6host { <ipv6addr> }
config snmp engineID <snmp_engineID 10-64>
show snmp engineID
Each command is listed, in detail, in the following sections.
create snmp community view
Purpose 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: