Chapter 7
| Authentication Commands
User Accounts
– 213 –
Example
Console(config)#enable password level 15 0 admin
Console(config)#
Related Commands
enable (97)
authentication enable (214)
username This command adds named users, requires authentication at login, specifies or
changes a user's password (or specify that no password is required), or specifies or
changes a user's access level. Use the no form to remove a user name.
Syntax
username name {access-level level | nopassword | password {0 | 7} password}
no username name
name - The name of the user. (Maximum length: 32 characters,
case sensitive. Maximum users: 16)
The device has two predefined users, guest which is assigned privilege
level 0 (Normal Exec) and has access to a limited number of commands,
and admin which is assigned privilege level 15 and has full access to all
commands.
access-level level - Specifies the user level.
The device has two predefined privilege levels:
0:NormalExec,15:Privileged Exec.
Level 15 provides full access to all commands.
nopassword - No password is required for this user to log in.
{0 | 7} - 0 means plain password, 7 means encrypted password.
password password - The authentication password for the user. (Maximum
length: 32 characters plain text or encrypted, case sensitive)
Default Setting
The default access level is Normal Exec.
The factory defaults for the user names and passwords are:
Command Mode
Global Configuration
Table 37: Default Login Settings
username access-level password
guest
admin
0
15
guest
admin