cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
364
Views
1
Helpful
3
Replies

will "service password-encryption" command encrypt future passwords?

Garegin88
Level 1
Level 1

If you run that command, would future cleartext passwords also be encrypted?

3 Replies 3

liviu.gheorghe
Spotlight
Spotlight

Hello @Garegin88 ,

if you add the command service password-encryption in your device config, all existing and future passwords will be encrypted. The encryption algorithm is not a sophisticated one, it's purpose is to make it harder for someone standing next to you when you do a show running-config to see your passwords.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

Depending on your device it should encrypt current and future passwords however I have run across some models that it WONT encrypt Key-Chain passwords. Thats the only exception I've seen.

Hello,

just to add to what @David Ruess said, pre-shared keys (PSKs) for IPsec VPNs are another exception, they are not affected by the 'service password-encryption' command, e.g.:

crypto isakmp key secretkey address 1.1.1.1