cannot login after changing the username

I really stuck here!

I setup a new 1841 router and I used the " no username cisco " and change the password. Now I'm
When I hit enter it keeps showing username and not going to password.

I know the password is ok because before I used the " no username cisco " I was able to log into the router with cisco as the username and my password!

unable to login to the router via telnetI thought I set it up:

line vty 0 4
password xxxxxxxx

but I'm unable to connect via telnet

what's my next move


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Your Cisco 1841 has more vty lines than 1 - 4. If you do a sho run down towards the bottom of your config you will see VTY 5 15 and possibly others. You will have to apply the password and login command to each of these line groups.
Did you save the configuration to memory (wr mem or copy run start)?  If not, reboot the router.  If you saved the configuration, you will need to do password recovery on the router and add the username cisco back to the configuration or remove the "aaa authentication login default" command.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Feroz AhmedSenior Network EngineerCommented:
First thing you need to do is install TFTP ,Try to change Router Password by coping the start-up configuration through TFTP and reboot your router and press CTRL+PauseBreak and change router from 0x2102 to 0x4104 and reset password,in this way you can reset your password.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.