cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18414
Views
0
Helpful
4
Replies

Difference between enable secret command and service password-encryption

rmv72
Level 1
Level 1

"If you enable the service password-encryption command, the password you enter is encrypted. When you display the password with the more system:running-config command, the password displays the password in encrypted form."

But when i read my config i see:

no service password-encryption

!

hostname ...........

!

enable secret 5 $1$P4W8$qBWR/t........FPzkgiBoV/

!

My password already encrypted! Than which different of purposes enable secret &service password-encryption ?

4 Replies 4

dnagarajachary
Level 1
Level 1

service password-encryption, not only enables the enable password, but also all the passwords, like vty line passwords, console passwords etc

-Deepu

it means that if apply service password-encryption than my secret password in config will be encrypted again and also other passwords ?

kthanuva
Level 1
Level 1

Hi,

Service password Encrption is used to encrypt all the passwords available in the configuration.

For ex: if you are having enable password ,pap,chap password in ur configuration.then If you turn on service password encryption it will encrypt all the password.(enable password,pap,chap passwords)

The enable secret command provides better security by storing the enable secret password using a non-reversible cryptographic function. The added layer of security encryption provides is useful in environments where the password crosses the network

Regards

Kiruba

rwiesmann
Level 4
Level 4

Hi

The enable secret password is always encrypted independent of the

service password-encryption command.

If you enable the service password-encryption passwords like the enable password or the login password and the username password will be encrypted.

Hope that helps

Regards

Roger