snmp-server user
snmp-server user {admin | <username> } v3 {[encrypted] auth <hash-type>
<password> [priv <privacy-type> [<password>]] | capability <cap> | enable
<sets> | prompt auth <hash-type> [priv <privacy-type>]}
no snmp-server user {admin | <username> } v3 {[encrypted] auth <hash-type>
<password> [priv <privacy-type> [<password>]] | capability <cap> | enable
<sets> | prompt auth <hash-type> [priv <privacy-type>]}
Specifies an existing username, or a new one to be added.
The no form of the command disables access via SNMP v3 for the specified user.
Syntax Description
v3
auth
capability
enable
encrypted
prompt
Default
No SNMP v3 users defined
Modes/Context
Config
History
3.1.0000
Role
admin
Example
switch (config) # snmp-server user admin v3 enable
switch (config) # show snmp user
User name: admin
switch (config) #
Related Commands
show snmp user
Note
Enabled overall:
Authentication type:
Privacy type:
Authentication password: (NOT SET; user disabled)
Privacy password:
SET access:
Enabled:
Capability level:
Configures SNMP v3 users.
Configures SNMP v3 security parameters, specifying
passwords in plaintext on the command line (note:
passwords are always stored encrypted).
Sets capability level for SET requests.
Enables SNMP v3 access for this user.
Configures SNMP v3 security parameters, specifying
passwords in encrypted form.
Configures SNMP v3 security parameters, specifying
passwords securely in follow-up prompts, rather than
on the command line.
yes
sha
aes-128
(NOT SET; user disabled)
yes
admin
Mellanox Technologies
Rev 1.6.2
227