R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101
68
[Sysname] snmp-agent sys-info version v2c
[Sysname] snmp-agent group v2c readCom
[Sysname] snmp-agent usm-user v2c userv2c readCom acl 2001
• Set the IP address of the NMS to 1.1.1.1
• Set the SNMP version on the NMS to SNMPv2c
• Fill in both the read community and write community options with userv2c, and then the NMS can
access the agent.
snmp-agent usm-user v3
Syntax
snmp-agent usm-user v3 user-name group-name [ cipher ] [ authentication-mode { md5 | sha }
auth-password [ privacy-mode { 3des | aes128 | des56 } priv-password ] ] [ acl acl-number ]
undo snmp-agent usm-user v3 user-name group-name { local | engineid engineid-string }
View
System view
Default level
3: Manage level
Parameters
user-name: User name, which is a case sensitive string of 1 to 32 characters.
group-name: Group name, which is a case sensitive string of 1 to 32 characters.
cipher: Specifies that auth-password is an encrypted key, which can be calculated by using the
snmp-agent calculate-password command.
authentication-mode: Specifies an authentication algorithm. MD5 is faster than SHA, while SHA
provides a higher security than MD5.
• md5: Specifies the MD5 authentication algorithm.
• sha: Specifies the SHA-1 authentication protocol algorithm.
auth-password: Authentication key. If the cipher keyword is not specified, auth-password represents a
plain text key, which is a string of 1 to 64 visible characters. If the cipher keyword is specified,
auth-password represents an encrypted key. If the md5 keyword is specified, auth-password is a string of
32 hexadecimal characters. If the sha keyword is specified, auth-password is a string of 40 hexadecimal
characters.
privacy-mode: Specifies an encryption algorithm for privacy. The three encryption algorithms AES, 3DES,
and DES are in descending order in terms of security. Higher security means more complex
implementation mechanism and lower speed. DES is enough to meet general requirements.
• 3des: Specifies the 3DES algorithm.
• des56: Specifies the DES algorithm.
• aes128: Specifies the AES algorithm.
priv-password: The privacy key. If the cipher keyword is not specified, priv-password represents a plain
text key, which is a string of 1 to 64 characters. If the cipher keyword is specified, priv-password
represents an encrypted key. If the md5 keyword is specified, priv-password is a string of 32 hexadecimal
characters. If the sha keyword is specified, priv-password is a string of 40 hexadecimal characters.