Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
227
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 Configures SNMP v3 users.
auth Configures SNMP v3 security parameters, specifying
passwords in plaintext on the command line (note:
passwords are always stored encrypted).
capability Sets capability level for SET requests.
enable Enables SNMP v3 access for this user.
encrypted Configures SNMP v3 security parameters, specifying
passwords in encrypted form.
prompt Configures SNMP v3 security parameters, specifying
passwords securely in follow-up prompts, rather than
on the command line.
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
Enabled overall: yes
Authentication type: sha
Privacy type: aes-128
Authentication password: (NOT SET; user disabled)
Privacy password: (NOT SET; user disabled)
SET access:
Enabled: yes
Capability level: admin
switch (config) #
Related Commands show snmp user
Note