D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
739
Chapter 78
SNMPv1/v2/v3
Commands
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
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 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 community_masking view <view_name 32> [read_only | read_write]
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>}(1)
delete snmp group <groupname 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 v6host {<ipv6addr>}
show snmp host {<ipaddr>}
enable community_encryption
disable community_encryption
show community_encryption
78-1 create snmp user
Description
This command is used to create a new user to an SNMP group originated by this command. Users
can choose input authentication and privacy by password or by key.
Format
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>]]}
Parameters
<user_name 32> - Specify the name of the user on the host that connects to the agent. The
range is 1 to 32 characters.
<groupname 32>
- Specify the name of the group to which the user is associated. The range is 1