If you experience something like your Cisco Switch or Router is not prompting for enable password and directly logs into privilege mode then you have configured “privilege level 15” for the user account. This happens even if “enable secret” password is set.
In order to enable secret password prompt, reduce privilege level to 5.
Cisco devices have 16 privilege levels, 0 to 15, so that super-admins can restrict commands that other admins can issue after logged into network device.
Level 15 means full access to Cisco device to execute all commands.
Level 0 means Read-only with limited access.
“show privilege” command allows the user to determine the privilege level of currently logged in user.
“show ?” command allows to see many of the commands available in a specific privilege level.