Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Unable to erase config on 2980

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: Unable to erase config on 2980

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

7 REPLIES
Silver

Re: Unable to erase config on 2980

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

New Member

Re: Unable to erase config on 2980

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

Purple

Re: Unable to erase config on 2980

   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.

Silver

Re: Unable to erase config on 2980

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

New Member

Re: Unable to erase config on 2980

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.

New Member

Re: Unable to erase config on 2980

This worked great.  Switch is back to default.

Thank you.

Gold

Re: Unable to erase config on 2980

Thats one old switch.

I'd try the recovery procedure

http://www.cisco.com/en/US/products/hw/switches/ps708/products_password_recovery09186a00801349aa.shtml

and see how far you get.

601
Views
0
Helpful
7
Replies
CreatePlease login to create content