How to delete router configuration

170 pts.
Tags:
Cisco 2800
Cisco router configuration
Router configuration
I have a Cisco 2800 router and I tried to delete all the old configuration but its not deleted. Any idea about this problem?

Software/Hardware used:
hardware

Answer Wiki

Thanks. We'll let you know when a new response is added.

The quick way is to do a write erase command when in enable mode. This is an old command, but it is still supported, and works on all the switches and routers. On switches, also delete the vlan.dat file in flash otherwise it still ‘remembers’ the vlans configured.

When you have done the command, reload the router, and it is back to factory default.

If it doesn’t work, then check the config register is set to 0x2102, if not then do the following

conf t
config-reg 0x2102
end

DO NOT SAVE AFTER DOING THIS COMMAND !

Then power off, and back on again (after 30 seconds).

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Alshreif
    router(config)#write erase router(config)#reload This for deleting the old configuration and the new router it will be.
    10 pointsBadges:
    report
  • Asishgupta
    Hi,
    mention URL help to resolve the problem.

    http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_tech_note09186a00802017a1.shtml

    Thanks,
    Asish
    75 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following