service password-encryption

Enables a global password encryption policy that overrides username encryption settings.

Syntax

service password-encryption
no service password-encryption

Command Default

Global password encryption policy is enabled.

Modes

Global configuration mode

Usage Guidelines

If global password encryption policy is enabled, it overrides username encryption settings.

To disable global password encryption policy, enter the no form of this command.

Even if global password encryption policy is disabled, the following username syntax does encrypt that user's password: encryption-level 10.

Examples

The following example enables global password encryption policy.

device# configure terminal
device(config)# service password-encryption

The following example disables global password encryption policy.

device# configure terminal
device(config)# no service password-encryption