12-02-2021 08:47 AM
Hi Everyone,
I issue on Enable password:
I have set username and password for the Cisco Switch, now it prompts username and password at the initial login but it just jumps to privilege mode before it asks me enable password.
Y.M
Thanks.
12-02-2021 09:10 AM - edited 12-02-2021 09:21 AM
Hi,
I guess you created a user with privilege level 15 inside the VTY configs?
line vty 0 4
privilege level 15
line vty 5 15
privilege level 15
please post switch configuration
12-02-2021 10:33 AM
how do I change the vty configuration not to have privilege 15?
here my configuration:
line vty 0 4
password XXXX
login local
Transfer preferred ssh
transport input ssh
Transport output all
line vty 0 15
login local
password xxxx
Transfer preferred ssh
transport input ssh
Transport output all
BUT it showed as
line vty 0 4
password xxxx
login local
Transfer preferred ssh
transport input ssh
Transport output all
line vty 5 14
password xxxx
login local
Transfer preferred ssh
transport input ssh
Transport output all
line vty 15
password xxxx
login
Transfer preferred ssh
transport input ssh
Transport output all
12-02-2021 10:36 AM
There are several things that can cause the behavior described in the original post. @pman has correctly identified the 2 most common ones: a user ID configured including privilege 15, or vty configured to go directly into enable mode. Seeing the configuration would be the best way for us to identify what is really going on.
12-02-2021 10:34 AM
Hello
You may have the username set to privilege level 15
Sh run | in username
12-02-2021 10:41 AM
yes, the username has privilege 15. how can I change that?
Thanks.
12-02-2021 10:44 AM
Go into config mode, delete that user, configure that user omitting the privilege parameter.
12-02-2021 11:17 AM
this is an admin user if I delete and create another user without the privilege parameter I will not get access to the privilege mode to make configuration changes, please let me know if I'm wrong. thanks.
12-02-2021 11:29 AM - edited 12-02-2021 11:37 AM
Here's all you need:
username cisco password cisco
enable secret cisco
line vty 0 4
transport input ssh
example:
R1#ssh -l cisco 10.10.10.1
Password:
cisco.com>ena
Password:
cisco.com#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide