Command Line Interface

4-78

4
Command Mode
Global Configuration
Command Usage
Privilege level 0 provides access to a limited number of the commands which
display the current status of the switch, as well as several database clear and
reset functions. Level 15 provides full access to all commands.
The encrypted password is required for compatibility with legacy password
settings (i.e., plain text or encrypted) when reading the configuration file
during system bootup or when downloading the configuration file from a TFTP
server. There is no need for you to manually configure encrypted passwords.
Example
This example shows how to set the access level and password for a user.

enable password

After initially logging onto the system, you should set the Privileged Exec password.
Remember to record it in a safe place. This command controls access to the
Privileged Exec level from the Normal Exec level. Use the no form to reset the
default password.
Syntax
enable password [level level] {0 | 7} password
no enable password [level level]
level level - Level 15 for Privileged Exec. (Levels 0-14 are not used.)
•{0 | 7} - 0 means plain password, 7 means encrypted password.
password - password for this privilege level.
(Maximum length: 8 characters plain text, 32 encrypted, case sensitive)
Default Setting
The default is level 15.
The default password is “super”
Command Mode
Global Configuration
Command Usage
You cannot set a null password. You will have to enter a password to change
the command mode from Normal Exec to Privileged Exec with the enable
command (page 4-11).
The encrypted password is required for compatibility with legacy password
settings (i.e., plain text or encrypted) when reading the configuration file
during system bootup or when downloading the configuration file from a TFTP
server. There is no need for you to manually configure encrypted passwords.
Console(config)#username bob access-level 15
Console(config)#username bob password 0 smith
Console(config)#