Administrator Guide

show login statistics — displays login statistics of users who have used the console or virtual terminal lines to
log in to the system.
login statistics
Enable and configure user login statistics on console and virtual terminal lines.
Syntax
login statistics {enable | time-period days}
no login statistics {enable | time-period days}
Parameters
enable
Enables login statistics for the last 30 days by default.
time-period
days
Sets the number of days the system stores user login statistics; range is from 1 to 30.
Defaults Not configured
Command Modes CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC
Networking OS Command Line Reference Guide.
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 on the S6100-ON.
9.8(2.0) Introduced on the S3100 series.
9.8(1.0) Introduced on the Z9100–ON.
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
Only the system and security administrators can configure login activity tracking and view the login activity details
of other users.
If you enable user login statistics, the system displays the last successful login details of the current user, the
details of any failed login attempts by others, and if the current user’s permissions have changed since the last
login.
If you use the login statistics time-period days command to set a custom time period, the system
only reports the login statistics during that interval.
NOTE: Login statistics are not applicable for login sessions that do not use authentication on user
names. For example, the system does not report login activity for a telnet session that prompts
only a password field.
Example
When you log into the system, it displays a message similar to the following:
$ telnet 10.11.178.14
Trying 10.11.178.14...
Connected to 10.11.178.14.
Escape character is '^]'.
Login: admin
Password:
Last successful login: 12:52:01 UTC Tue Mar 22 2016 Line vty0
( 10.11.178.14 ).
There were 1 unsuccessful login attempt(s) since the last successful login.
There were 1 unsuccessful login attempt(s) for user admin in the last 30
day(s).
116 Control and Monitoring