show local-userdb

Displays a list of local user databases configured on the device and the number of users in each database.
Syntax
show local-userdb [ db-name [user-name ] ]
Parameters
db-name
Displays information for the specified local user database. The database name and the username can be up to 31 characters.
user-name
Displays information for the specified user in the specified user database.
Modes

User EXEC mode

Privileged EXEC mode

Global configuration mode

Interface configuration mode

Web Authentication configuration mode

Examples

The following example displays the list of all local user databases and the number of users in each database.

device# show local-userdb
=============================================================================
Local User Database Name : My_Database
Number of users in the database : 4
=============================================================================
Local User Database Name : test
Number of users in the database : 3
=============================================================================
Local User Database Name : test123
Number of users in the database : 3

The following example displays the details of a particular user database. The passwords are encrypted in the example.

device#show local-userdb test 
=============================================================================
Local User Database : test
Username           Password
--------           --------
user1              $e$&Z9'%*&+
user2              $e$,)A=)65N,%-3*%1?@U
user3              $e$5%&-5%YO&&A1%6%<@U

The following example displays details of a particular user in a specific database.

device# show local-userdb db1 user1
Username = user1  Password = $e$%U*V