AAA Commands 89
enable password
The enable password Global Configuration mode command sets a local password to control access to user
and privilege levels. Use the no form of this command to remove the password requirement.
Syntax
•
enable password
[
level
level
]
password
[
encrypted
]
•
no enable password
[
level
level
]
•
password
— Password for this level. (Range: 1 - 159 characters)
•
level
— Level for which the password applies. If not specified the level is 15. (Range: 1 - 15)
•
encrypted
— Encrypted password entered, copied from another device configuration.
Default Configuration
No enable password is defined.
Command Mode
Global Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example sets local level 15 password secret to control access to privilege levels.
username
The username Global Configuration mode command creates a user account in the local database. Use
the no form of this command to remove a user name.
Syntax
•
username
name
[
password
password
] [
level
level
] [
encrypted
]
•
no username
name
•
name
— The name of the user. (Range: 1 - 20 characters)
•
password
— The authentication password for the user. (Range: 8 - 64 characters)
•
level
— The user level. (Range: 1 - 15)
•
encrypted
— Encrypted password entered, copied from another device configuration.
Console(config)# enable password level
15 secret
book.book Page 89 Thursday, December 18, 2008 7:40 PM