Command Line Interface Guide
AAA Commands 267
Example
The following example show 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
username
Use the username command in Global Configuration mode to add a new user
to the local user database. The default privilege level is 1. The command
optionally allows the specification of an Administrative Profile for a local user.
Use the no form of this command to remove the username from the local user
database.
Syntax
username name {nopassword|password
password
} [privilege
level
|admin-
profile
profile
] [encrypted]
no username
name
Parameter Description
Parameter Description
name
The name of the user. Range: 1-32 printable characters. The
special characters allowed in the password include ! # $ % &
‘ ( ) * + , - . / : ; < = > @ [ \ ] ^ _ ` { | } ~. User
names can contain blanks if the name is surrounded by double
quotes.
2CSPC4.X8100-SWUM100.book Page 267 Wednesday, August 29, 2012 6:23 PM