Command Reference Guide

User Account Commands
CLI Command Reference
September 2014 Page 71
HP Moonshot Switch Module CLI Command Reference
show loginsession long
This command displays the complete user names of the users currently logged in to the switch.
Example: The following shows an example of the command.
(Routing) #show loginsession long
User Name
------------
admin
test1111test1111test1111test1111test1111test1111test1111test1111
User Account Commands
This section describes the commands you use to add, manage, and delete system users. HP Moonshot Switch
Module software has two default users: admin and guest. The admin user can view and configure system
settings, and the guest user can view settings.
aaa authentication login
Use this command to set authentication at login. The default and optional list names created with the
command are used with the
aaa authentication login command. Create a list by entering the aaa
authentication login list-name method command, where list-name is any character string used to name this
list. The
method argument identifies the list of methods that the authentication algorithm tries, in the given
sequence.
The additional methods of authentication are used only if the previous method returns an error, not if there is
an authentication failure. To ensure that the authentication succeeds even if all methods return an error,
specify
none as the fInal method in the command line. For example, if none is specified as an authentication
method after
radius, no authentication is used if the RADIUS server is down.
Idle Time Time this session has been idle.
Session Time Total time this session has been connected.
Session Type Shows the type of session, which can be HTTP, HTTPS, telnet, serial, or SSH.
Format
show loginsession long
Mode Privileged EXEC
Note: You cannot delete the admin user. There is only one user allowed with read/write privileges.
You can configure up to five read-only users on the system.
Term Definition