Remove all password for console access

To remove all password access for console access, can I issue the following :

line vty 0 4
  no password
 
How can I remove the password and secret password from asking ? Tks
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlexBlinovCommented:
You also should enter - no login
0
JustInCaseCommented:
But then he will be asked for password to go to exec mode.
If you want to be login without asking for any password:
line vty 0 4
  no login
  privilege level 15

But it's a security risk.
:)
0
AXISHKAuthor Commented:
How can I also take away the password and enable password in Cisco and console access ?

The reason I want to remove the password because we have replaced the old switches with new one. Hence, I want to remove the password stored in it such in case we need to use it again few years later and we forget the original password.

Tks
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

benhansonCommented:
Safest thing would be to set the switch back to defaults:

'erase nvram'

If your config is complicated, make a backup using TFTP first.  Chances are, if you use the switch in a few years, the application and need will be different and you'll be better off with at defaults than having to ferret out all the nuance config that was entered in it's prior role.
1
AXISHKAuthor Commented:
Still want to keep the existing configuration on the switch to ensure that we have a configuration in it.

Tks
0
JustInCaseCommented:
You can put passwords on paper and stick it on switch.
:)
You can always do password recovery procedure from ROMMON, so I would not waste too much time with this.
I would leave console access without password and that's all.
0
AXISHKAuthor Commented:
how to leave console access without password ? The following command is just for remote telnet, correct ? Tks

line vty 0 4
   no login
   privilege level 15
0
JustInCaseCommented:
Yes, that's for telnet and ssh.
For console just clear config under con 0, and add privilege level 15  and whatever passwords are configured will be ignored, and since you have access privilege 15 you can be delete or change anything in configuration including passwords.

line con 0
privilege level 15
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
Tks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.