3Com 4500 PWR 50-PORT Switch User Manual


 
392 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
snmp-agent usm-user Syntax
snmp-agent usm-user { v1 | v2c } username groupname [ acl acl-list ]
undo snmp-agent usm-user { v1 | v2c } username groupname
snmp-agent usm-user v3 username groupname [ authentication-mode {
md5 | sha } authpassstring [ privacy-mode { des56 privpassstring }]]
[ acl acl-list ]
undo snmp-agent usm-user v3 username groupname { local | engineid
engine-id }
View
System view
Parameter
username: Enter the user name, up to 32 characters in length.
groupname: Enter the group name corresponding to that user, up to 32 characters
in length.
v1: Specifies the use of v1 safe mode.
v2c: Specifies the use of v2c safe mode.
v3: Specifies the use of v3 safe mode.
authentication-mode: Specifies the use of authentication.
md5: Specifies that the MD5 algorithm is used in authentication. MD5
authentication uses a128-bit password. The computation speed of MD5 is faster
than that of SHA
sha: Specifies that the SHA algorithm is used in authentication. SHA
authentication uses a 160-bit password. The computation speed of SHA is slower
than that of MD5, but SHA offers higher security.
authpassstring: Enter the authentication password, up to 64 characters in
length.
privacy-mode: Specifies the use of authentication and encryption.
des 56: Specifies that the DES encryption algorithm is used. Must be entered if
you enter the
privacy-mode parameter.
privpassstring: Enter the encryption password with a character string, ranging
from 1 to 64 bytes.
acl acl-list: Enter the access control list for this user, based on USM name.
Description
Use the snmp-agent usm-user command to add a new community name or, if
you use the V3 parameter, a new user to an SNMP group.