| Author |
revert the configuration....
|
|
| beenframed 2001-06-22, 11:53 am |
| I have a router that I would like to revert it's confuration back to the begining, I could "NO" everything out of the config, but is there a command or registry setting I can enter to achieve this...
Thanks
bf | |
| dmaftei 2001-06-22, 12:05 pm |
| "back to the beginning" means as it is out of the box? I suppose you can erase startup-config, and then reload. And I'd bet you'll need a console after you do this.
Cheers! | |
| BlueBaron 2001-06-22, 1:25 pm |
| Also "wr er" will work as well. | |
| beenframed 2001-06-22, 2:27 pm |
| That does'nt do it, This router was n production so a bunch of copy run start were done on it. I would like to get it back to zero. no config at all. Do I have to find a config file that is blank and tftp it to the router? | |
| BlueBaron 2001-06-22, 2:40 pm |
| A "write erase" will restore this router to it's original, out of the box config, regardless of how many times a "copy run start" has been issued. | |
| dmaftei 2001-06-22, 2:44 pm |
| quote: Originally posted by beenframed
That does'nt do it, This router was n production so a bunch of copy run start were done on it. I would like to get it back to zero. no config at all. Do I have to find a config file that is blank and tftp it to the router?
Yes it does. It doesn't matter how many times you (or somebody else) copied the running config to the startup config. The router keeps only one config in NVRAM. With an erase startup-config you remove that config file, and then with reload you reboot the router with an empty NVRAM, i.e. an "empty" startup config. Since you won't have a startup config, you won't have IP addresses on the router, that's why you'll need a console. When your router boots with a clean NVRAM, it will put you in the start up mode (I'm guessing that's the name), in which you'll do a basic initial configuration. Why don't you give it a try?
Cheers! | |
| beenframed 2001-06-22, 2:49 pm |
| that did it...thanks blue... | |
| dmaftei 2001-06-22, 3:00 pm |
| quote: Originally posted by beenframed
that did it...thanks blue...
You're welcome, BF! | |
| beenframed 2001-06-22, 3:03 pm |
| D.. I did try erase start and then a reload. it did'nt do it for some reason. The Write erase worked, maybe an IOS version issue or just a hiccup running the command.. Either way thanks... | |
| strikeattack 2001-06-22, 3:10 pm |
| I just read this message and wished that I could have answered sooner. BB is correct, "write erase" is definitely what Cisco Press teaches you to do. I know you already knew that, but I just wanted to let you know that it is the way Cisco Press recommends it. | |
| dmaftei 2001-06-22, 3:16 pm |
| quote: Originally posted by beenframed
I did try erase start and then a reload. it did'nt do it for some reason.
Hmm, that's weird. Here's what Cisco says about equivalent commands: old vs new commands.
Anyway, it's good that something eventually worked... 
Cheers! | |
| dmaftei 2001-06-22, 3:19 pm |
| quote: Originally posted by strikeattack
"write erase" is definitely what Cisco Press teaches you to do.
Yeah, well, apparently Cisco Press teaches us the oldest of the three equivalent commands. This seems to have some merit, though, since the newer commands are not available on older IOS versions. BF, what version are you running on that router of yours?!
Cheers! | |
| BlueBaron 2001-06-22, 3:21 pm |
| You're welcome BeenFramed . . . |
|
|
|