CLI Guide

Table Of Contents
Version Description
9.10(0.1) Introduced on the S6010-ON and S4048T-ON.
9.10(0.0) Introduced on the S3148.
9.10(0.0) Introduced the successful-attempts keyword. Introduced on the S6100-ON.
9.8(2.0) Introduced on the S3100 series.
9.8(1.0) Introduced on the Z9100ON.
9.8(0.0P5) Introduced on the S4048-ON.
9.8(0.0P2) Introduced on the S3048-ON.
9.8(0.0) Introduced on the S4810, S4820, S5000, S6000, S6000-ON, and Z9500.
Usage
Information
To view the successful and failed login details of the current user in the last 30 days or the custom
defined period, use the show login statistics command.
To view the successful and failed login details of all users in the last 30 days or the custom defined period,
use the show login statistics all command. You can use this command only if you have system
or security administrator rights.
To view the successful and failed login details of a specific user in the last 30 days or the custom defined
time period, use the show login statistics user user-id command. If you have system or
security administrator rights, you can view the login statistics of other users. If you do not have system or
security administrator rights, you can view your login statistics but not the login statistics of others.
NOTE: By default, these commands display the details for the last 30 days. If you set a custom-
defined time period for login statistics using the login statistics time-period days
command, these commands display details only for that period.
Example
The following is sample output of the show login statistics command.
DellEMC#show login statistics
------------------------------------------------------------------
User: admin
Last login time: 12:52:01 UTC Tue Mar 22 2016
Last login location: Line vty0 ( 10.16.127.143 )
Unsuccessful login attempt(s) since the last successful login: 0
Unsuccessful login attempt(s) in last 30 day(s): 0
Successful login attempt(s) in last 30 day(s): 1
------------------------------------------------------------------
The following is sample output of the show login statistics all command.
DellEMC#show login statistics all
------------------------------------------------------------------
User: admin
Last login time: 08:54:28 UTC Wed Mar 23 2016
Last login location: Line vty0 ( 10.16.127.145 )
Unsuccessful login attempt(s) since the last successful login: 0
Unsuccessful login attempt(s) in last 30 day(s): 3
Successful login attempt(s) in last 30 day(s): 4
------------------------------------------------------------------
------------------------------------------------------------------
User: admin1
Last login time: 12:49:19 UTC Tue Mar 22 2016
Last login location: Line vty0 ( 10.16.127.145 )
Unsuccessful login attempt(s) since the last successful login: 0
Unsuccessful login attempt(s) in last 30 day(s): 3
Successful login attempt(s) in last 30 day(s): 2
------------------------------------------------------------------
------------------------------------------------------------------
Control and Monitoring
131