Solved

Cisco switch password change and login is now different

Posted on 2010-11-23
3
586 Views
Last Modified: 2012-05-10
Hi All,

I followed the below link to change a password for a user on our Cisco 4506e switch.  Specifically the following commands:  

Sw1(config)#line vty 0 15
Sw1(config-line)#password <new_vty_password>
Sw1(config-line)#login

The Link:
http://www.experts-exchange.com/Hardware/Networking_Hardware/Routers/Q_22468379.html

Now when I login I get the login screen from "Bad switch login.png" when I want the login screen from "good switch login.png".  

I used be able to add the username and password and be at the enabled prompt.  Now I have to add the password for the user with the changed password and then the enable password.  More importantly I can't login as any other user.  How can I revert back?

Thanks,
Chip
good-switch-login.PNG
Bad-switch-login.PNG
0
Comment
Question by:skarilla
3 Comments
 
LVL 2

Accepted Solution

by:
alvin602 earned 125 total points
ID: 34201390
Assuming you have your user accounts already set up, you will need to use the command "Logic Local" on all of the various lines (not "Login"), also remove the "password" line.  

If you have not created local user accounts, you will need to do so.  Without using any external authentication, you will have to create a local user database.  You can do so using the following command:

Sw1(config)#username [USERNAME] priv 15 password [PASSWORD]

The priviledge number determines how much access that user has on the system.  15 is full access, and 7 is moderate.  If 15 is used, you will go right to the enable prompt after login, if 7 is used you will have to manually enter enable mode after login.

Now you will have to enter the following command on all lines to specify access using a local databse:

Sw1(config)#line vty 0 15
Sw1(config-line)#login local


Hope that helps, it has been a while for me...
0
 
LVL 4

Expert Comment

by:ciscocert
ID: 34207167
Have you turned on the aaa new-model command? If using the aaa new model you need to create a local user database or u should have TACACS+ or RADIUS server for authentication. If u donot have the authenticatio servers you can use the local user database with the " login local " command under the line vty 0 as said by the alvin.
0
 
LVL 1

Author Comment

by:skarilla
ID: 34207417
Thanks Alvin602!

You are right on the money.  So if I wanted to change the password for USERX do I use this command...

To change telnet password
router(config)#line vty 0 15
router(config-if)#password newpassword

Thanks,
Chip
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MPLS Network Question 2 51
iPad Won't Connect 16 75
Not able to route between subnets 8 104
Cisco IOS from ipbase to ipservices 10 78
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now