Administrator Guide

Switch Management Commands 2147
console(config)# snmp-server location New_York
snmp-server user
Use the snmp-server user command in Global Configuration mode to
configure a new SNMP Version 3 user. To delete a user, use the no form of this
command.
Syntax
snmp-server user username groupname [remote engineid-string] [ { auth-
md5 password | auth-sha password | auth-md5-key md5-key | auth-sha-key
sha-key } [priv-des password | priv-des-key des-key | priv-3des password |
priv-3des-key des-key | priv-aes128 password | priv-aes128-key aes-key ] ]
no snmp-server user username
username — Specifies the name of the user on the host that connects to
the agent. (Range: 1-32 characters.)
groupname — Specifies the name of the group to which the user
belongs. (Range: 1-40 characters.)
engineid-string — Specifies the engine ID of the remote SNMP entity
to which the user belongs. The engine ID is a concatenated hexadecimal
string. Each byte in the hexadecimal character string is two hexadecimal
digits. The remote engine id designates the remote management
station, and should be defined to enable the device to receive
acknowledgments to “informs.” (Range: 5-32 characters.)
auth-md5 — HMAC-MD5-96 authentication mode.
auth-sha — HMAC-SHA-96 authentication mode.
password — A password. (Range: 1 to 32 characters.)
auth-md5-key — HMAC-MD5-96 authentication message digest key.
Enter a pre-generated MD5 key.
auth-sha-key — HMAC-SHA-96 authentication message digest key.
Enter a pre-generated SHA key.
md5-key — Character string —length 32 hex characters.
sha-key — Character string —length 40 hex characters.
priv-des — CBC-DES Symmetric Encryption privacy mode. Enter a
shared password to generate the key.