Cisco 3508 Telnet password

when i try to telnet to my switch, its says "password required, but none set".  So, I web browse to the ip of switch, open Web Console, and entered command:

#line vty 0 4
#password mypassword

Then I do show running-config, and get this

!
line con 0
 exec-timeout 0 0
 transport input none
 stopbits 1
line vty 0 4
 login
line vty 5 15
 login
!
end

1.  Can I do this from 'Web Console' or do I need to connect directly to the switch?

2.  What level should this command be run at?  (if i click 'web console' it goes to lvl15, but i have the option to go to 0-15)
darrennelsonAsked:
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.

Don JohnstonInstructorCommented:
It appears the command isn't being accepted. I would do it from the CLI.

It needs to be issued from line (vty) configuration mode.

enable
config t
line vty 0 15
 password mypassword
 end

-Don
0
darrennelsonAuthor Commented:
im out of my area here, when you say from the CLI, do i need to connect via console cable, then run the command from the command line?

also, when you say 'line (vty) configuration mode', what exactly is that?
0
Don JohnstonInstructorCommented:
Sorry.

CLI = Command Line Interface. From a console connection.

Once you have a console session established, get to privileged mode (type "enable" at the command prompt).

Then get to global configuration mode (type "config t" at the privileged mode prompt)

Then get to configuration mode to the telnet (vty) lines (type "line vty 5 15")

Finally, set the password (type "password mypassword" at vty line configuration prompt).

Then exit config mode (type "end")

I also suggest you save the configuration (type "copy run start") at the privileged mode prompt. And don't change the name of the destination file. Leave it "startup-config".

So in summary:

enable
config t
line vty 0 15
 password mypassword
 end
copy run start
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
darrennelsonAuthor Commented:
one question i forgot to ask...can i do this on a production switch during business hours, or will normal switches be affected?

ie  need to reboot switch, users get disconnected?
0
Don JohnstonInstructorCommented:
Yes, you can do this on a production switch. It will not affect the operation of the switch or interrupt traffic.

-Don
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
Routers

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.