09-11-2024 05:45 AM - edited 09-12-2024 02:05 AM
Enable password is not working via SSH
I have configured Enable password but am not getting into prompt directly getting into enable mode for the same am attaching the images for reference.
Config
HYD-TBAL-P1STORES-SW1#sh running-config | include enable
enable secret 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
enable password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
snmp-server enable traps memory bufferpeak
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps cpu threshold
login as: jdurgam
Pre-authentication banner message from server:
|
End of banner message from server
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
There have been 4 successful attempts in the past 1 hours
HYD-TBAL-P1STORES-SW1#
Solved! Go to Solution.
09-12-2024 02:39 AM
Hello
apply the following and test again, remove anything else on the vty lines other then what is below
sw
conf t
username TEST password test123
enable secret secret123
line vty 0 4
login local
transport input telnet ssh
09-11-2024 09:57 PM
Hello
the enable secret will over ride the enable password - the two are mutually exclusive to each other
09-11-2024 10:37 PM
HI Paul,
I have removed the enable password i kept only enable secret but still not working.
09-11-2024 11:09 PM
Can I see all SW config
MHM
09-12-2024 12:21 AM
09-11-2024 11:12 PM - edited 09-11-2024 11:13 PM
Helllo
whars not working -ssh or the enable secret or both -are you using local user access or just exec password login
enable secret xxx
line vty 0 4
transport input ssh telnet
password xxxx
or
login local
09-11-2024 11:43 PM - edited 09-11-2024 11:44 PM
HI
Am using SSH to logon and am using local user access only.
And tried that you mentioned commands on above comment still it is not working.
09-11-2024 11:57 PM - edited 09-12-2024 12:01 AM
Hello
So what is not working?
Edited: just noticed HYD-TBAL-P1STORES-SW1#
which means you have access into privileged exec mode so I dont understand what isn working, can you elaborate?
09-12-2024 12:11 AM - edited 09-12-2024 12:18 AM
HI,
yes am able to enter into the privileged exec mode without password prompt.
Am able to access switch using SSH but am going directly in to the Global configuration mode after giving local user credentials.
but need privilege mode password prompt to access it.
09-12-2024 12:18 AM
Friends if you use local username and specify privilege 15 then when access you can directly to level 15
You need to add new user without level
Then try access via ssh/telnet
MHM
09-12-2024 12:31 AM
09-12-2024 12:59 AM
That not all config
and I see you try 4 failed attempts
Then check
Show login
Maybe you enter to quite mode in which ypu need to wait specfic time before try again
MHM