cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
447
Views
5
Helpful
2
Replies

password

dlee_gmail
Level 1
Level 1

hi! I tried to configure my cisco switch with the followig command

(config)# enable secret abcd

(config)# line con 0

(config-line)# login

                    password 1234

(config)# line vty 0 15

(config-login)# password 1234

but somehow the password of 1234 for the con 0 and vty 0 15 are always displayed as cleartext pwd when issue a show run command. Is there anyway i can "encrypt" this password just like the enable secret command did?

thx

2 Replies 2

Nagaraja Thanthry
Cisco Employee
Cisco Employee

Hello,

Please use the command "service password-encryption".

Hope this helps.

Regards,

NT

mohamed_makled
Level 1
Level 1

Correct , the "service password-encryption" command will encrypt all the passwords in the configuration file.

MAM

Review Cisco Networking products for a $25 gift card