D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
37
6
NETWORK MANAGEMENT (SNMP) COMMANDS
The Network Management commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
create snmp user
<username 24> <groupname 30> [encrypted [by_password auth [md5
<auth_password 1-32> | sha <auth_password 1-32>] | by_key auth [md5
<auth_key 32 or 64>| sha<auth_key 40 or 72>]]]
delete snmp user <username 24>
show snmp user
create snmp view <view_name 30> <oid> view_type [included | excluded]
delete snmp view <view_name 30> [all | oid]
show snmp view {<view_name 30>}
create snmp
community
<community_string 20> view <view_name 30> [read_only | read_write]
delete snmp
community
<community_string 20>
show snmp community {<community_string 20>}
config snmp engineID [default | <snmp_engineID 10-64>]
show snmp engineID
create snmp group
<groupname 30> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv |
auth_priv]{notify_view <view_name 30>}] {read_view <view_name 30> |
write_view <view_name 30>}
delete snmp group <groupname 30>
show snmp groups
create snmp host
<ipaddr> [v1<community_string 20> | v2c<community_string 20> | v3
[noauth_nopriv | auth_nopriv | auth_priv]<auth_string 24>]
delete snmp host <ipaddr>
show snmp host {<ipaddr>}
create trusted_host
<ipaddr>{network <network_address>} {application [telnet | ssh | snmp | http |
https | ping | all}
show trusted_host {<ipaddr>}
delete trusted_host <ipaddr>
enable snmp traps
disable snmp traps
enable snmp
authenticate trap