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
password
md5
sha-key
} [priv-des
no snmp-server user
username — Specifies the name of the user on the host that connects to
•
the agent. (Range: 1-30 characters.)
groupname — Specifies the name of the group to which the user belongs.
•
(Range: 1-30 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 acknowledgements
to "informs." (Range: 5-32 characters.)
•
auth-md5 — The HMAC-MD5-96 authentication level.
•
auth-sha — The HMAC-SHA-96 authentication level.
password — A password. (Range: 1 to 32 characters.)
•
•
auth-md5-key — The HMAC-MD5-96 authentication level. Enter a
pregenerated MD5 key.
•
auth-sha-key — The HMAC-SHA-96 authentication level. Enter a
pregenerated SHA key.
md5-key — Character string
•
sha-key — Character string
•
•
priv-des — The CBC-DES Symmetric Encryption privacy level. Enter a
password.
1496
SNMP Commands
username groupname
password
| auth-sha
password
| priv-des-key
username
[remote
| auth-md5-key
des-key
length 32 hex characters.
—
length 48 characters.
—
engineid-string
] [ { auth-
md5-key
| auth-sha-key
] ]