I had to change the passwords on all our devices. When I came across an old 6500 switch running CATOS I stumbled to remember the syntax.
set enablepass MyPassword
Usage: set enablepass
then I remembered that you have to just type the command then it will prompt you to enter the curreny enable password. So when I did this it asked for the current enable password, but it acts like I changed it to something else with the last command. Everything I try fails and I am afraid to lose my connection to it since I might be in enable mode for the last time.
6500 (enable) set enablepass
Enter old password:
Sorry password incorrect.
Any suggestions? or is there a way to recover this enable password without a reboot?
I'm afraid you need to reboot. If the password was saved on the configuration, a reboot won't retrieve the previous password and you must perform a password recovery by following this article: