cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2145
Views
5
Helpful
8
Replies

privilege mode enable password

yaredo70
Level 1
Level 1

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.

8 Replies 8

pman
Spotlight
Spotlight

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

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

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.

HTH

Rick

Hello

You may have the username set to privilege level 15

 

Sh run | in username


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

yes, the username has privilege 15. how can I change that?

Thanks.

Go into config mode, delete that user, configure that user omitting the privilege parameter.

HTH

Rick

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.

 

pman
Spotlight
Spotlight

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#

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card