Administrator Guide

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.
ping
Test connectivity between the system and another device by sending echo requests and waiting for replies.
C9000 Series
Syntax
ping [host | ip-address | ipv6-address] [count {number | continuous}]
[datagram-size] [timeout] [source (ip src-ipv4-address) | interface] [tos] [df-
bit (y|n)] [validate-reply(y|n)] [outgoing-interface] [pattern pattern] [sweep-
min-size] [sweep-max-size] [sweep-interval] [ointerface (ip src-ipv4-address) |
interface]
Control and Monitoring 89