show accounts

show accounts

Description

Displays user account information for all users on the switch.

Syntax Description

This command has no arguments or variables.

Default

N/A.

Usage Guidelines

You need to create a user account using the create account command before you can display user account information.

To view the accounts that have been created, you must have administrator privileges.

This command displays the following information in a tabular format:
  • User Name—The name of the user. This list displays all of the users who have access to the switch.

  • Access—This may be listed as R/W for read/write or RO for read only.

  • Login OK—The number of logins that are okay.

  • Failed—The number of failed logins.

  • Accounts locked out—Account configured to be locked out after three consecutive failed login attempts (using the configure account password-policy lockout-on-login-failures command).
    Note

    Note

    This command does not show the failsafe account.

Example

The following command displays user account information on the switch:

show accounts pppuser

Output from this command looks similar to the following:

User Name	  Access  LoginOK  Failed
-------------- ------- -------  ------
admin		 	R/W        3       1
user		 	 RO         0       0
dbackman		  R/W        0       0
ron*			  RO         0       0
nocteam 		  RO         0       0
----------------------------------------
(*) - Account locked

The following command displays the lawful intercept account distinguished by the "R/L" displayed in the Access column:

* (Private) X440e-24t.9 # show accounts                       
                   User Name      Access LoginOK   Failed   
--------------------------------  ------  -------  ------                              
                        admin     R/W           6       0                               
                         user      RO           0       0                           
                     myLIuser     R/L         N/A     N/A  

History

This command was first available in ExtremeXOS 11.0.

Lawful intercept output was added in ExtremeXOS 15.3.2.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.