CLI Guide
show login statistics
Displays login statistics of users who have used the console or virtual terminal lines to log in to the
system.
Syntax
show login statistics [all | [[successful-attempts | unsuccessful-
attempts] [user login-id] [time-period days]] | user login-id]
Parameters
all
(Optional)Displays the login statistics of all users in the last 30
days or the custom defined time period.
time-period days
(Optional)Displays the number of failed login attempts by the
current user in the specified period.
successful-
attempts
(Optional)Displays the number of successful login attempts by
the current user in the last 30 days or the custom defined time
period
unsuccessful-
attempts
(Optional)Displays the number of failed login attempts by the
current user in the last 30 days or the custom defined time
period.
user login-id
(Optional)Displays the login statistics of a specific user in the
last 30 days or the custom defined time period. When you use it
with the unsuccessful-attempts keyword, the system
displays the number of failed login attempts by a specific user in
the last 30 days or the custom defined time period
Defaults None
Command Modes CONFIGURATION
Supported Modes Full–Switch
Command History
Version Description
9.10(0.0) Introduced the successful-attempts keyword.
9.9(0.0) Introduced on the FN IOM.
9.8(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
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.
Control and Monitoring
113