03-26-2024 08:13 AM - last edited on 03-26-2024 11:06 AM by shazubai
Good morning,
On a Switch C2960X-24TD-L (UNIVERSALK9-M)(Boot loader C2960X), following a configuration error, I can no longer access the console in privilege mode.
The only account available only allows me to access in user mode.
I can't make any write changes with this account (I can't run #show run).
Any clue?
03-26-2024 09:20 AM - edited 03-26-2024 09:20 AM
Hello @MJ666
If you have physical access to the switch, you can try performing a password recovery procedure. This typically involves interrupting the boot sequence, entering ROMMON mode, and then changing the configuration register to bypass the startup configuration....
Alternatively, if the switch has IP connectivity and SSH or Telnet access enabled, you may be able to access privileged mode using one of these methods. Ensure you have the necessary credentials for remote access.
As a last resort, you can perform a factory reset on the switch. This will erase the startup configuration and restore the switch to its default settings, including any privileged access configurations. However, be cautious as this will also erase all other configurations on the switch.
03-26-2024 11:12 AM
Hello @MJ666 ,
if you didn't save the configuration, just reboot the switch and you are back prior to the configuration change that caused the problem.
03-27-2024 06:23 AM
I'd probably opt of a password recovery as suggested by M02@rt37 . or hopefully the problem config was not saved, in that case, yes just reload the switch and you should be back.
03-27-2024 09:38 AM
I agree that the first alternative should be to power cycle the switch and see if the config error is removed. If that is not successful then perhaps password recovery procedure is needed. But before you do that I have another thought: you describe problems accessing privilege mode on console, what about access to privilege mode when remote access to the vty ports? If that works you should be able to connect the configuration error.
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