How to set password after user login at >en prompt on cisco switch

I have this config on cisco 3650 switch:
enable secret 5 $1$CjMf$vnUDcs1IGZSNACW
enable password 7 03124C0F0F5E79
!
username admin privilege 15 secret 5 $1$8zl1$kGUgJ5pHTOyz2
username tech privilege 15 secret 5 $1$QsH.$G.R4BJBhZh6K6jA

when I telnet it asks for username and password. When I enter username and password  it goes directly to: #_

How to go to: >_ and then to ask for another password?
Nick ITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

ITSysTechSenior Systems AdministratorCommented:
Try typing en then enter. en means enable
0
Nick ITAuthor Commented:
I know that. What i want is once i enter username and password it should go to >_ to enter one more password. Right now it goes directly to #_ and not asking for second password.
0
ITSysTechSenior Systems AdministratorCommented:
What do you see if you type sh run ?
0
How the Cloud Can Help You as an MSSP

Today, every Managed Security Service Provider (MSSP) needs a platform to deliver effective and efficient security-as-a-service to their customers. Scale, elasticity and profitability are a few of the many features that a Cloud platform offers. Register today to learn more!

Michael CornstubbleSystems Architect and ImplementerCommented:
Hello,

Try setting your privilege levels on the vty lines.


Example:

line vty 0 4
 privilege level 1
 transport input telnet
0
Nick ITAuthor Commented:
By mistake I deleted enable secret password and did the above line vty 0 4 configuration. Now I am getting error in authentication error. Please help.
0
Michael CornstubbleSystems Architect and ImplementerCommented:
First make sure your users are set up:

username blah priv 15 secret blah

Then your enable secret:

enable secret blah

Then remove your privilege statement from line vty 0 4

line vty 0 4
no privilege 1
0
JustInCaseCommented:
Just create account as
username Technic secret Pas$Word

Open in new window

Account created with privilege 15 is not prompted for enable password.
1

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
Nick ITAuthor Commented:
I cannot get in. When enter en it says error in authentication.
0
JustInCaseCommented:
Most likely you are typing wrong password (or you are not using local authentication)
enable secret 5 $1$CjMf$vnUDcs1IGZSNACW

enable password 7 03124C0F0F5E79
Password 7 03124C0F0F5E79 is vwdi18
0
Nick ITAuthor Commented:
By mistake i removed that. When i type en and press enter, it is not asking for any password but says error in authentication.
0
JustInCaseCommented:
if you removed enable secret and enable password - you will need at least of of those (enable secret is preferred - more secure).
0
Nick ITAuthor Commented:
Now how to get into the switch?
0
JustInCaseCommented:
Can you log in with one of priviledge level 15 accounts?
0
Nick ITAuthor Commented:
Yes. Please see attached file.
error.JPG
0
JustInCaseCommented:
Typically, even if enable password is deleted and you are login with privilege 15 account you should be able to enter config mode directly.
So, if account [   ]admin  is level 15 and you are using local authentication then you should be loged to # instead of > (but, that may not be the case for all devices). On my home device I there is no enable secret configured and I am entering directly into config mode (removed it for testing).
If you deleted enable secret AND removed level 15 accounts AND did not save changes you can reboot device to restore it to previous configuration. Also maybe console port is not protected - try to access via console. If previous two are not available - you will have to perform password recovery (if it is not disabled on device).
0
Nick ITAuthor Commented:
This is config now:
username blah priv 15 secret blah

enable secret blah

line vty 0 4
login local
transport input all


I am still not able to get a prompt a password. When I enter username and password it goes directly to #_
0
JustInCaseCommented:
Create additional account :
username notblah secret blah

Open in new window

and try it.
0
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
Routers

From novice to tech pro — start learning today.