Switch 7700 Command reference Guide, v2.0

Table Of Contents
SNMP Configuration Commands 481
Example
Configure the IP address of the VLAN interface 1 as the source address for
transmitting the Trap packets.
[SW7700]snmp-agent trap source vlan-interface 1
snmp-agent usm-user Syntax
snmp-agent usm-user { v1 | v2c } user_name group_name [ acl acl_list
]
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-mode { des56 priv_password }]]
[ acl acl-list ]
undo snmp-agent usm-user v3 username groupname { local | engineid
engine-id }
View
System view
Parameter
user_name: Enter the user name, up to 32 characters in length.
group_name: 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 md5 digest. 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 SHA digest. The computation speed of SHA is slower
than that of MD5, but SHA offers higher security.
auth_password: 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.
priv_password: Enter the encryption password with a character string, ranging
from 1 to 64 bytes.