Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

password

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
Cisco Employee

Re: password

Hello,

Please use the command "service password-encryption".

Hope this helps.

Regards,

NT

New Member

Re: password

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

MAM

250
Views
0
Helpful
2
Replies
CreatePlease login to create content