• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 117
  • Last Modified:

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?
1
Nick IT
Asked:
Nick IT
  • 7
  • 6
  • 2
  • +1
3 Solutions
 
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

  • 7
  • 6
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now