3com 5500-ei pwr Reference Guide

Page of 1314
 
2-5 
View 
System view 
Parameters 
v1: SNMPv1. 
v2c: SNMPv2c. 
v3: SNMPv3. 
user-name: User name, a string of 1 to 32 characters. 
group-name: Name of the group to which the user corresponds. This argument is a string of 1 to 32 
characters. 
cipher: Specifies the authentication or encryption password to be in ciphertext. 
authentication-mode: Requires authentication. If this keyword is not provided, neither authentication 
nor encryption is performed.  
md5: Adopts HMAC-MD5 algorithm.  
sha: Adopts HMAC-SHA algorithm.  
auth-password: Authentication password, a string of 1 to 64 characters in plain text, a 32-bit 
hexadecimal number in cipher text if MD5 algorithm is used, and a 40-bit hexadecimal number in cipher 
text if SHA algorithm is used. 
privacy: Encrypts packets. 
des56: Specifies data encryption standard (DES) for encrypting. 
aes128: Specifies advanced encryption standard (AES) for encrypting.  
priv-password: Encryption password, a string of 1 to 64 characters in plain text, a 32-bit hexadecimal 
number in cipher text if MD5 algorithm is used, and a 40-bit hexadecimal number in cipher text if SHA 
algorithm is used. 
acl-number: Basic ACL number, ranging from 2000 to 2999. 
local: Specifies local entity users. 
engineid-string: Engine ID associated with the user, a string of even number of hexadecimal numbers 
and comprising of 10 to 64 hexadecimal digits. 
Description 
Use the snmp-agent usm-user command to add a user to an SNMP group. You can also optionally 
use this command to apply an ACL for network management users. 
Use the undo snmp-agent usm-user command to remove an SNMP user from the corresponding 
SNMP group and to remove the ACL configuration on the user. 
Examples 
# Add a user named aaa to an SNMP group named group1, specify to require authentication, specify 
the authentication protocol as HMAC-MD5-96 and authentication password as 123, and apply ACL 
2002 to filter network management users (assuming that ACL 2002 already exists). 
<Sysname> system-view 
System View: return to User View with Ctrl+Z.  
[Sysname] snmp-agent usm-user v3 aaa group1 authentication-mode md5 123 acl 2002