Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

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).
There were 1 successful login attempt(s) for user admin in the last 30 day(s).

The preceding message shows that the user had previously logged in to the system using the VTY line from 10.11.178.14. It also displays the number of unsuccessful login attempts since the last login and the number of unsuccessful login attempts in the last 30 days.

$ 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 on console
There were 2 unsuccessful login attempt(s) since the last successful login.
There were 3 unsuccessful login attempt(s) for user admin in last 12 day(s).
There were 1 successful login attempt(s) for user admin in the last 30 day(s).

The preceding message shows that the user had previously logged in to the system using the console line. It also displays the number of unsuccessful login attempts since the last login and the number of unsuccessful login attempts during a custom time period.

Related Commands
  • login concurrent-session — configures the limit of concurrent sessions for each user on console and virtual terminal lines.
  • show login statistics — displays login statistics of users who have used the console or virtual terminal lines to log in to the system.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\