Solved

Cisco switch password change and login is now different

Posted on 2010-11-23
3
590 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Stuck in INIT/DROTHER 2 76
ISP Change 14 70
VLAN Question 13 60
IP Jumping 6 19
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…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
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…

749 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