To encrypt passwords, use the service password-encryptioncommand in global configuration mode. Use the no form of this command to restore the default.
Router(config)# service password-encryption
Router(config)# no service password-encryption
31