Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to configure Cisco 3548 switch with a Telnet password 1

Status
Not open for further replies.

lengoo

IS-IT--Management
Jan 15, 2002
381
GH
Hi All
I don't know anything about Cisco switches but I want to be able to telnet into one for monitoring.
When we got it installed, the telnet password was not put in so if I try to telnet to the device I get the message "Password required, but none set" and it disconnects me.
I have connected a PC via the Console port and can see the console screens.. however, what do I need to do exactly to be able to set a password?
I tried the commands (which I found on the web)
line vty 0 15
password password
login

but it doesn't even recognise the first line..

Please help!
Thanks
 
You are probably not executing the commands from the config mode.

Be sure that you prompt looks like this

Router<config>#

To do so, from this prompt

Router#

type "conf t" then press enter (do not type the quote marks)

Then the router will take your commands.
 


1. define a local user account
username someid password somepassword
2. line vty 0 15
login local


Then try telnetting in to it again.
 
Thanks!! That worked!

One last thing, when telnet into the switch and try and type enable, it says no password set. What do I need to do now to set a password to get into the enable mode?

Cheers
 
Yea someting like:
Config t
Enable password
or
Config t
Enable secret (same as the other but encrypted)

:)
David
 
If you step through the origianl *setup process (assigning an IP address, default gateway, etc.) two of the questions you are prompted for are the enable password and setting up telnet access and the associated password.

*connect to the console port and open a hyperterminal session or the like on your connected PC. Then power up the switch. You'll see it boot from flash mem. and go through the self tests. Once the boot up is complete, hit Enter/Return on your keyboard a couple of times and you should get a prompt back from the switch. At that point enter the ENABLE command (takes you into enable mode) then enter the SETUP command and it will step you through the prompts / questions mentioned above.[thumbsup2]

When you have the config. the way you want it, make sure to enter the command COPY RUN START. This will save the config. you just created to flash memory, so the next time you boot up you are running on the config. you just created!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top