AAA Commands 261
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. This command can
be used to unlock a locked user account for an already existing user. Use the
no form of this command to remove the username from the local user
database.
Syntax
username
name
password
password
[privilege
level
] [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.
password
The authentication password for the user. Range: 8-64 characters.
This value can be 0
[
zero
]
if the
no passwords min-length
command has been executed. The special characters allowed in
the password include ! # $ % & ‘ ( ) * + , - . / : ; < = >
@
[
\
]
^ _ `
{
|
}
~.
2CSPC4.XCT-SWUM2XX1.book Page 261 Monday, October 3, 2011 11:05 AM