indianrock27
Nov 30, 2007, 01:12 AM
Hi,
Iam using 1700cisco router in our company.I have lost all data in this router when the poweoff.but I have configuration file in excel sheet.I want to know that how should I reconfigure this file to my router,
tbakry
Dec 8, 2007, 01:36 PM
Hi,
Iam using 1700cisco router in our company.i have lost all datas in this router when the poweoff.but i have configuration file in excel sheet.i want to know that how should i reconfigure this file to my router,,
First you need to get into the console of the router to configure it. Then you need to determine what the current state of the device is and once you have done that, then you can apply the appropriate solution.
You can go into the console port of your router with the serial interface cable that came with it... plug it into the Aux/console port and the serial port of a PC/laptop. Go into Hyperterminal or some other serial communications program. (If you do not see it, assuming you are running an Microsoft Operating System, you may need to add it through the Control Panel Add remove programs applet.)
If your router has lost all of its configuration, you should find yourself at some sort of setup screen. This is, in my experience, highly unusual. It is far more likely that you would have lost only part of the router's config but would at least still have some. I have never known someone to do all of their router's config and then not save it at least once. If this is the case, you will have to use the configured login passwords to access the ENABLE mode (you enter the ENABLE command) of the device. Don't sweat it if you cannot get the password to work, because password recovery on Cisco routers is very well documented and pretty simple to do.
If you truly have lost all of your config, you will have to do your initial setup again, but, I think you will find that you can just answer the questions in the setup script.
Once you have done either one of the two things above and have gotten access to ENABLE mode, you can go into configuration mode and paste the configuration from your Excel spreadsheet into the router. Since you do not have a lot of experience, I would suggest that you do NOT try to paste the whole thing at once. Try to go one line at a time (IN ORDER) and be on the lookout for any errors that might show up while inputting. Do NOT paste in any line that says password or enable on it. If you do you might find yourself locked out of the router.
Once you have finished putting the config back in, from a configuration prompt, type END. If that does not work, type exit until you see the ENABLE prompt (usually a #). Once at the enable prompt, you can save the running configuration by typing:
COPY RUNNING-CONFIG STARTUP-CONFIG
(you can abbreviate this as COPY RUN START)
You should have an experienced engineer look at your router ASAP. The command SHOW TECH will create a very long list of the output of a number of troubleshooting commands that will give a Cisco Engineer a good idea of how your device is configured and working.
Cheers,
Tom