08-31-2017 09:33 PM - edited 03-08-2019 11:54 AM
Dear All,
i tried to remove enable password (the password known to me) , but when i tried to log to privilage mode again by 'en' command after log on to EXEC mode, the message: 'no password set' appear..
Kindly help us with this stiation..
Regards
09-01-2017 12:44 AM
Hi there,
Sounds like you need to adjust the privilege level of the user account you are authenticating with. Assuming you are using local credentials, try:
! username osaid priv 15 secret <some_secret> ! line vty 0 15 login local !
When you login with 'osaid' you should start in EXEC.
cheers,
Seb.
09-01-2017 02:59 AM
Hi,
I don't think Osaid can configure the local account at the moment due to not being able to get into priv exec mode (if I am understanding the post correctly)
Osaid I am assuming you are coming in via the VTY lines. You may have to console directly onto the device now to be able to get in and add the required passwords again.
09-01-2017 08:45 AM
I believe that Grant is on the right track. If I am understanding the original post the enable password was removed and no new enable password was configured. If that is correct then Grant is right that the solution is to configure a new enable password. The easy way to do this would be to access the router using the console port (which is the only port by default that can get into privilege mode without a configured enable password).
There is another possibility to consider. If the router has been configured to provide SNMP write access then it might be possible to set a new enable password using SNMP.
To be able to really accurately answer this question we would need to know what is configured for aaa on this router. We are assuming that the router is using the default behaviors about enable and privilege mode. But it is possible that aaa configuration is specifying some different behavior.
HTH
Rick
09-01-2017 09:29 AM - edited 09-01-2017 09:31 AM
Great info on potentially using SNMP Rick. I always like coming across excellent tips and 'thinking out the box' ideas (for me) on these forums.
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