Track Login Activity
Dell Networking OS enables you to track the login activity of users and view the successful and
unsuccessful login events.
When you log in using the console or VTY line, the system displays the last successful login details of the
current user and the number of unsuccessful login attempts since your last successful login to the
system. The system stores the number of unsuccessful login attempts that have occurred in the last 30
days by default. You can change the default value to any number of days from 1 to 30. By default, login
activity tracking is disabled. You can enable it using the login statistics enable command from
the configuration mode.
Restrictions for Tracking Login Activity
These restrictions apply for tracking login activity:
• Only the system and security administrators can configure login activity tracking and view the login
activity details of other users.
• Login statistics is not applicable for login sessions that do not use user names for authentication. For
example, the system does not report login activity for a telnet session that prompts only a password.
Configuring Login Activity Tracking
To enable and configure login activity tracking, follow these steps:
1. Enable login activity tracking.
CONFIGURATION mode
login statistics enable
After enabling login statistics, the system stores the login activity details for the last 30 days.
2. (Optional) Configure the number of days for which the system stores the user login statistics. The
range is from 1 to 30.
CONFIGURATION mode
login statistics time-period days
Example of Configuring Login Activity Tracking
The following example enables login activity tracking. The system stores the login activity details for the
last 30 days.
Dell(config)#login statistics enable
The following example enables login activity tracking and configures the system to store the login activity
details for 12 days.
Dell(config)#login statistics enable
Dell(config)#login statistics time-period 12
Management
83