Command Reference Guide

User Account Commands
CLI Command Reference
September 2014 Page 84
HP Moonshot Switch Module CLI Command Reference
show users login-history [username]
Use this command to display information about the login history of users.
Example: 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
login authentication
Use this command to specify the login authentication method list for a line (console, telnet, or SSH). The default
configuration uses the default set with the command
aaa authentication login.
Example: The following example specifies the default authentication method for a console.
(Routing) (config)# line console
(Routing) (config-line)# login authentication default
no login authentication
Use this command to return to the default specified by the authentication login command.
Format
show users login-history [username name]
Mode Privileged EXEC
Parameter Description
name Name of the user. Range: 1-20 characters.
Format
login authentication {default | list-name}
Mode Line Configuration
Parameter Description
default Uses the default list created with the
aaa authentication login command.
list-name Uses the indicated list created with the
aaa authentication login command.