Command Reference Guide
358 ● snmp-agent usm-user 3Com Router 5000 Family and Router 6000 Family
Command Reference
snmp-agent usm-user
Purpose Use the snmp-agent usm-user command to add a new user to an SNMP group.
Use the undo snmp-agent usm-user command to delete an SNMP group user.
Syntax snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number
]
undo snmp-agent usm-user { v1 | v2c } user-name group-name
snmp-agent usm-user v3 user-name group-name [ [ authentication-mode {
md5 | sha } auth-password ] [ privacy des56 priv-password ] ] [ acl
acl-number ]
undo snmp-agent usm-user v3 user-name group-name { local | engineid
engineid-string }
Parameters v1
V1 security model.
v2c
V2c security model.
v3
V3 security model.
user-name
User name. Valid values are 1 to 32 bytes.
group-name
Name of the group to which the user is assigned. Valid
values are 1 to 32 bytes.
authentication-mode
Sets the security level to authentication.
md5
Sets the authentication protocol to HMAC-MD5-96.
sha
Sets the authentication protocol to HMAC-SHA-96.
auth-password
Authentication password, consisting of a character
string from 1 to 64 bytes.
privacy
Sets the security level to encrypt.
des56
Sets the encryption protocol to DES.
priv-password
Encryption password, consisting of a character string
from 1 to 64 bytes.
acl
Sets the ACL applied to the access view.
acl-number
Standard ACL. Valid values are 2000 to 2999.
local
Local entity user.
engineid
Specifies the engine ID associated with the user.
engineid-string
Engine ID string.
Example Add user John to the SNMP group of Johngroup, setting the security level to
authentication, authentication protocol to HMAC-MD5-96 and password to hello.