console(config)#show users accounts
UserName
------------------------
admin
Administrative Profile(s):
show users login-history
Use the show users login-history command in Global Configuration mode to
display information about the login history of users.
Syntax
show users login-history [username|long]
•
username — name of user. (Range: 1-64 characters)
•
long — display only the user login name
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
This command displays switch administrative user information.
Example
The following example shows user login history outputs.
console#show users login-history
Login Time
--------------------
Jan 19 2005 08:23:48
Jan 19 2005 08:29:29
Jan 19 2005 08:42:31
Jan 19 2005 08:49:52
Privilege
Password
Aging
---------
--------
15
200
Username
Protocol
--------- --------- -----------
Bob
Serial
Robert
HTTP
John
SSH
Betty
Telnet
Password
Expiry date
--------------------
Jan 13 1915 00:32:12
Location
172.16.0.8
172.16.0.1
172.16.1.7
Security Commands
Lockout
--------
False
878