When I am putting the following command
snmp-server user test global v3 encrypted auth md5 Cisco123
getting %Error in Authentication password,
How to fix the same?
You need to define a encrypted string after the md5 keyword.
for more on the same do refer this note taken out from cco.
"If you have the localized MD5 or Secure Hash Algorithm (SHA) digest, you can specify that string instead of the plain-text password. The digest should be formatted as aa:bb:cc:dd where aa, bb, and cc are hex values. Also, the digest should be exactly 16 octets long.
In the following example, the MD5 digest string is used instead of the plain text password:
Router(config)# snmp-server user abcd public v3 encrypted auth md5