17
256
17.7
password
Use the password Line Configuration mode command to specify a password on a
line (also known as an access method, such as a console or Telnet). Use the no
form of this command to return to the default password.
Syntax
password [encrypted]
password
no password
Parameters
•
password—Specifies the password for this line. (Length: 0–159 characters)
•
encrypted—Specifies that the password is encrypted and copied from
another device configuration.
Default Configuration
No password is defined.
Command Mode
Line Configuration mode
Example
The following example specifies the password 'secret' on a console.
switchxxxxxx(config)#
switchxxxxxx(config-line)#
17.8
enable password
Use the enable password Global Configuration mode command to set a local
password to control access to normal and privilege levels. Use the no form of this
command to return to the default password.
When the administrator configures a new enable password, this password is
encrypted automatically and saved to the configuration file. No matter how the
password was entered, it appears in the configuration file with the keyword
encrypted and the encrypted value.
Authentication, Authorization and Accounting (AAA) Commands
line console
secret
password
78-21075-01 Command Line Interface Reference Guide