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).
Last Wiki Answer Submitted: April 19, 2013 2:39 pm by Michael Tidmarsh11,390 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
router(config)#write eraserouter(config)#reload
This for deleting the old configuration and the new router it will be.