Command:

service password-encryption


Mode:

Router(config)#


Syntax:

service password-encryption

no service password-encryption

 

Syntax Description:

This command has no arguments or keywords.

Command Description:

 

To encrypt passwords, use the service password-encryption command in global configuration mode. To restore the default, use the no form of this command.

The actual encryption process occurs when the current configuration is written or when a password is configured. Password encryption is applied to all passwords, including username passwords, authentication key passwords, the privileged command password, console and virtual terminal line access passwords, and Border Gateway Protocol neighbor passwords. This command is primarily useful for keeping unauthorized individuals from viewing your password in your configuration file.

When password encryption is enabled, the encrypted form of the passwords is displayed when a more system:running-config command is entered.


Example:

The following example causes password encryption to take place:

service password-encryption

 

Misconception

This command does not provide a high level of network security. If you use this command, you should also take additional network security measures.

Related Commands

enable password
key-string (authentication)


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)