show users login-history [username]

Use this command to display information about the login history of users.

Format show users login-history [username name]
Mode Privileged EXEC
Parameter Description
name Name of the user. Range is 1-20 characters.

The following example shows user login history outputs.

Console>show users login-history
Login Time            Username  Protocol  Location
--------------------  --------- --------- ---------------
Jan 19 2005 08:23:48  Bob       Serial
Jan 19 2005 08:29:29  Robert    HTTP      172.16.0.8
Jan 19 2005 08:42:31  John      SSH       172.16.0.1
Jan 19 2005 08:49:52  Betty     Telnet    172.16.1.7