11-11-2010 04:08 AM - edited 03-06-2019 01:59 PM
I have a 2980 switch running cat os version 7.6(6). It has this in the configuration: set authorization commands enable config tacacs+ deny console.
I can log in through the console port but can not do anything else. Is there a way to erase the configuration and put this back to factory default?
Solved! Go to Solution.
11-12-2010 02:03 PM
Hi,
The only other advice I can provide is to try to clear configuration from rommon, but for this procedure you should be on site or advise somebody who is there:
1) Go to ROMMON by restarting the switch and pressing the Break key during the first 60 seconds of startup.
2) You should get the rommon> prompt.
3) Issue the command "set boot config-register ignore-config enable".
4) Issue the command "boot bootflash:filename (see your bootflash).
5) The switch should load the factory default configuration (IE.:ALL YOUR CONFIG IS LOST!).
6) If succeeded, configure your switch as necessary.
Good luck,
Antonin
11-11-2010 02:05 PM
Hi,
if you are able to telnet to the switch (and know passwords) then you can issue the command "set authorization commands disable console" from the console>(enable) prompt.
Best regards,
Antonin
11-11-2010 02:24 PM
Thanks for responding. It also has that same command for telnet. My problem is, this has been shipped from one location to another and it does not have access to tacacs. I can not put it on the network with the config that is in it. I am not at that location and do not have physical access to the box.
Everything I can find about this says another command should have been put in for a back door just for this, but unfortunately that wasnt done. Can you tell me if these 2980's have removable flash?
Thanks
11-11-2010 02:54 PM
Maybe the password reset procedure might work. Plug the switch in and watch the messages , as soon as it asks for the password hit the enter key and see if that gets you in, if so immedialty type enable then hit the enter key, if that gets you into enable mode then use the clear config all command to strip the switch.
11-12-2010 02:03 PM
Hi,
The only other advice I can provide is to try to clear configuration from rommon, but for this procedure you should be on site or advise somebody who is there:
1) Go to ROMMON by restarting the switch and pressing the Break key during the first 60 seconds of startup.
2) You should get the rommon> prompt.
3) Issue the command "set boot config-register ignore-config enable".
4) Issue the command "boot bootflash:filename (see your bootflash).
5) The switch should load the factory default configuration (IE.:ALL YOUR CONFIG IS LOST!).
6) If succeeded, configure your switch as necessary.
Good luck,
Antonin
11-12-2010 02:50 PM
The switch is being sent to me. This looks like it will do what I need. Will give it a try as soon as I get the switch.
11-17-2010 10:56 AM
This worked great. Switch is back to default.
Thank you.
11-11-2010 02:59 PM
Thats one old switch.
I'd try the recovery procedure
and see how far you get.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: