cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
742
Views
5
Helpful
4
Replies

Password Encryption

burgessjt
Level 1
Level 1

Can anyone quickly tell me how to encrypt the session passwords?

For example: In the config all the passwords under - Line CON 0 and/or Line VTY 0 etc

I remember there being a command to encrypt those.

2 Accepted Solutions

Accepted Solutions

a.awan
Level 4
Level 4

service password-encryption

This command when entered in the global configuration mode will show all passwords as encrypted strings. Passwords that are encrypted using an md5 hash (enable secret) appear encrypted by default.

View solution in original post

I would also suggest turning it off after you encrypt the passwords with:

no service password-encryption

The passwords will still be encrypted, but will free up the processor from running the password encryption.

View solution in original post

4 Replies 4

mohamed-khadr
Level 1
Level 1

Hello,

Once u config a PW on any line(aux,VTY,con) after u type wr mem, the IOS encrypt the PWs.

a.awan
Level 4
Level 4

service password-encryption

This command when entered in the global configuration mode will show all passwords as encrypted strings. Passwords that are encrypted using an md5 hash (enable secret) appear encrypted by default.

Thank you,

That's was the command I was looking for.

J~

I would also suggest turning it off after you encrypt the passwords with:

no service password-encryption

The passwords will still be encrypted, but will free up the processor from running the password encryption.

Review Cisco Networking for a $25 gift card