96[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 canaccess the agent.snmp-agent usm-user v3Syntaxsnmp-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 }ViewSystem viewDefault level3: Manage levelParametersuser-name: Specifies the user name, a case-sensitive string of 1 to 32 characters.group-name: Specifies the group name, a case-sensitive string of 1 to 32 characters.cipher: Specifies that auth-password and priv-password are encrypted keys, which can be calculated byusing the snmp-agent calculate-password command.authentication-mode: Specifies an authentication algorithm. MD5 is faster than SHA, while SHAprovides a higher security than MD5.• md5: Specifies the MD5 authentication algorithm.• sha: Specifies the SHA-1 authentication protocol algorithm.auth-password: Specifies the authentication password. If the cipher keyword is not specified,auth-password represents a plain text key, a string of 1 to 64 visible characters. If the cipher keyword isspecified, auth-password represents an encrypted key. If the md5 keyword is specified, auth-password isa string of 32 hexadecimal characters. If the sha keyword is specified, auth-password is a string of 40hexadecimal 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 compleximplementation 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: Specifies the privacy password. If the cipher keyword is not specified, priv-passwordrepresents a plain text key, a string of 1 to 64 characters. If the cipher keyword is specified, priv-passwordrepresents an encrypted key. If the md5 keyword is specified, priv-password is a string of 32 hexadecimalcharacters. If the sha keyword is specified, priv-password is a string of 40 hexadecimal characters.