08-16-2007 10:40 PM - edited 03-03-2019 06:21 PM
I have a Cisco 1841 and I am not able to launch the SDM. It was working previously but stopped after we were trying some configuration. How can I reset the router to factory defaults using Hardware/Console?
08-17-2007 01:59 AM
Hello there,
If you have console access to the router, you can clear the configuration and go back to factory defaults using the "write erase" command. You will need to be in enabled mode in order to do this, so you must know both the login and enable passwords.
Note that this will clear your whole configuration, so if you aren't sure, you may want to back up to a TFTP server (if you have one) by using "copy run tftp" before clearing the configuration.
Kind regards,
Graeme
08-17-2007 02:10 AM
Sohan
Graeme has given the traditional answer about how to reset to factory default. But I think that we need to be careful in understanding what is meant by factory default. Using write erase will remove the startup-config and when the router boots it will have an empty config - and this is what used to be the factory default. However in your case I suspect that your version of factory default is the way that it came from the factory and that included a config that initiated SDM, supplied a default address for the LAN interface, and configured userID to allow initial login to SDM. Write erase will not get you to that point.
I have not had to do it so I can not speak from experience about how to restore SDM. I believe that in flash there is a file that includes the initial config. If you can find that file and copy it to startup-config then I believe that you will get what you want.
Anyone who has actually done the restore of SDM should feel free to chime in here.
HTH
Rick
08-17-2007 02:24 AM
Rick is right.
when you do a wr erase you will lose all the SDM configurations upon reboot. i have always done this but never tried to restore the SDM again. Need to check by testing the same :-)
Narayan
08-17-2007 02:33 AM
Oops!
Sorry - SDM isn't something I've really done much with, so take my advice here with a pinch of salt.
Hopefully one of these fine folk will give you a better answer!
Kind regards,
Graeme
08-17-2007 04:35 AM
Hi,
If you have lost the SDM files you'll have to download them:
http://www.cisco.com/pcgi-bin/tablebuild.pl/sdm
And review this step:
Afterwards please make sure you have the following configuration on your router:
Router(config)# ip http server
Router(config)# ip http authentication local
Router(config)# ip http secure-server
Router(config)# username username privilege 15 secret 0 password
You will use this username and password to log in to SDM.
Configure Your Router to Support SDM
http://www.cisco.com/en/US/products/sw/secursw/ps5318/prod_installation_guide09186a00803e4727.html
HTH,
Mohammed Mahmoud.
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