• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 625
  • Last Modified:

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)
0
darrennelson
Asked:
darrennelson
  • 3
  • 2
1 Solution
 
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
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now