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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting a 1st level password

Status
Not open for further replies.

jamminjaymeyer

Programmer
May 23, 2001
88
US
I would like some help setting a first level password on my 2950 switch. I know how to set the enable mode password but I thought there was a way to prompt for a password to even get to a regular prompt. Now all I have to do is console in and press enter and I am at the prompt. I would like to require a password to even get that far.

Thanks,
Jammin Jay
 
create username/password for an added login prompt.

config t
username Cisco password Rocks
line con 0
login local
line vty 0 4
login local

That will get you an additional login prompt.

*J*
 
Thank you very much. How do I revome it if I don't want it anymore?
 
To remove or un-do a command on a Cisco switch, put NO in front of it. However, I would leave the username settings, create multiple users and also do

config t
service timestamps log datetime
service password-encryption
line con 0
exec-timeout 5 0
line vty 0 15
exec-timeout 5 0

The first service command will log when a user that logs into the switch makes a change. The second service command will encrypt (weak, but still) the passwords when you do a show config. exec-timeout 5 0 will log the con and vty ports after 5 minutes of inactivity.

Enjoy
*J*
 
Cisco devices won't let you telnet to them if you don't have a password set to the vty ports.

A timesaver for labs is to use
line con 0
privilege level 15

This will automatically start a console session in enable mode. Notice I said labs not production networks.
-Jeff ----------------------------------------
Wassabi Pop Tarts! Write Kellogs today!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top