Member_2_7349958
asked on
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?
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?
Try typing en then enter. en means enable
ASKER
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.
What do you see if you type sh run ?
Hello,
Try setting your privilege levels on the vty lines.
Example:
line vty 0 4
privilege level 1
transport input telnet
Try setting your privilege levels on the vty lines.
Example:
line vty 0 4
privilege level 1
transport input telnet
ASKER
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.
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I cannot get in. When enter en it says error in authentication.
Most likely you are typing wrong password (or you are not using local authentication)
enable secret 5 $1$CjMf$vnUDcs1IGZSNACWPassword 7 03124C0F0F5E79 is vwdi18
enable password 7 03124C0F0F5E79
ASKER
By mistake i removed that. When i type en and press enter, it is not asking for any password but says error in authentication.
if you removed enable secret and enable password - you will need at least of of those (enable secret is preferred - more secure).
ASKER
Now how to get into the switch?
Can you log in with one of priviledge level 15 accounts?
ASKER
Yes. Please see attached file.
error.JPG
error.JPG
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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 #_
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 #_
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.