DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
612
Chapter 62
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>}
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>}
62-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>
- Specifies the name of the user on the host that connects to the agent. The
range is 1 to 32 characters.
<groupname 32>
- Specifies the name of the group to which the user is associated. The range is
1 to 32 characters.
encrypted
-
(Optional) Specifies whether the password appears in encrypted format.
by_password auth
- Indicate the input password for authentication
sha
- Specifies the HMAC-SHA-96 authentication level between 8 and 20 characters.