How to encrypt all Cisco passwords


Originally published at:

Setting the “service password-encryption” will encrypt all passwords in the show running-config Ex. Enable and Line clear text passwords. Passwords are encrypted with the MD5 hashing algorithm. Before applying: service password-encryption Switch#show run | section password no service password-encryption username admin password 0 cisco Enable: service password-encryption Switch(config)#service password-encryption ? password-encryption Encrypt system passwords !…