show user-account

To display information about the user accounts on the switch, use the show user-account command.

show user-account [ name ]

Syntax Description

name
(Optional) Information about the specified user account only.

Command Default

Displays information about all the user accounts defined on the switch.

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Examples

This example shows how to display information about all the user accounts defined on the switch:

switch# show user-account
 
user:admin
this user account has no expiry date
roles:network-admin
user:mable
this user account has no expiry date
roles:network-operator
user:install
this user account has no expiry date
roles:network-admin
no password set. Local login not allowed
Remote login through RADIUS/TACACS+ is possible
user:user1
this user account has no expiry date
roles:priv-5
no password set. Local login not allowed
Remote login through RADIUS/TACACS+ is possible
switch#
 

This example shows how to display information about a specific user account:

switch# show user-account admin
user:admin
this user account has no expiry date
roles:network-admin
switch#
 

Related Commands

Command
Description
username
Configures a user account.