snmp show user
Description of Command Function
Lists the SNMP user settings of all SNMP users unless a specific user name is included.
Command Syntax
snmp show user [username]
Command Authority
Administrator
Command Object Requirements
Not applicable – no objects exist within this command.
Command Parameter Requirements
USERNAME – If this optional parameter is included, the SNMP settings for only that user are
displayed.
Requirements for Command Execution
• The command entry must conform to the command syntax.
• The username in the command entry, if present, must be an existing account.
Successful Command Output
Upon successful command entry, the SNMP settings for all users are displayed. If the command
entry includes a specific user, only settings for that user are displayed.
Command Operation during Abnormal Conditions
• If any of the command elements (snmp, show, user) are misspelled, the following is displayed:
element: command not found
• If the command does not conform to the required syntax, the following is displayed:
Command Failed - the command does not conform to the required syntax,
SYNTAX, where SYNTAX is the command syntax as described under Command Syntax in this
section.
• If the SNMP USERNAME provided does not exist, the following is displayed:
Failed – snmp user USERNAME does not exist, where USERNAME is the user
name provided in the command entry.
Examples
# snmp show user
User Name Security Level Auth Algorithm Auth Password Privacy Algorithm Privacy Password
--------------- ------------------- -------------------- --------------------- ------------------------
------------------------
user1 noAuthNoPriv MD5 DES
user2 authPriv SHA Us3r@123 AES Us3r@456
# snmp show user user1
User Name Security Level Auth Algorithm Auth Password Privacy Algorithm Privacy Password
--------------- ------------------- -------------------- --------------------- ------------------------
------------------------
user1 noAuthNoPriv MD5 DES
snmp show user 103
Comentarios a estos manuales