03-09-2019 07:42 AM
Hello,
I hope it's the right category.
I have a Cisco C881 router with a big hassle on it.
To put it simply, I do not know where the configuration files are stored. Here is the content of the flash memory:
- # - --length-- ----- date / time ------ path
1 96108216 Aug 2 2027 02:56:00 +00: 00 c800-universalk9-mz.SPA.157-3.M2.bin
2 0 Mar 9 2019 09:57:32 +00: 00 managed
3 0 Mar 9 2019 09:57:34 +00: 00 managed / odm
4 21341 Mar 9 2019 09:57:36 +00: 00 managed / odm / cg-dm.odm
5 21341 Mar 9 2019 09:57:38 +00: 00 managed / odm / cg-nms.odm
6 21341 Mar 9 2019 09:57:40 +00: 00 managed / odm / cg-dm-1.0.odm
7 21341 Mar 9 2019 09:57:42 +00: 00 managed / odm / cg-nms-1.0.odm
8 0 Mar 9 2019 09:57:34 +00: 00 managed / scripts
9 3235 Mar 9 2019 09:57:38 +00: 00 managed / scripts / cg-nms-scripts.tcl
10 3235 Mar 9 2019 09:57:42 +00: 00 managed / scripts / cg-nms-scripts-1.0.tcl
11 0 Mar 9 2019 09:57:34 +00: 00 managed / reprovision
12 0 Mar 9 2019 09:57:36 +00: 00 eem
160268288 bytes available (96235520 bytes used)
When I make any modification, that I save configuration with "write" (or "copy running-config startup-config") command, and that I restart the router, it acts as if it left the factory, having saved any configuration.
Thank you if you could help me with this. Find the location of the configuration files.
Thank you.
03-09-2019 07:58 AM
= Besides the location of the config file , which I currently can't say immediately is there any error when saving the config such as when using 'write mem' ? Besides that also look into the settings of the conf-register :
M.
03-09-2019 08:59 AM
I am not clear what this statement is telling us
I restart the router, it acts as if it left the factory, having saved any configuration.
Is it saying that the config is saved? Or saying that it is not saved? If not saved then I agree that the config register is the best place to start. At the bottom of show version is the best place to find the config register.
HTH
Rick
03-09-2019 09:25 AM
When I restart the router having saved the configuration, it restarts but seems to delete its configuration automatically. Once operational it is in a new state without any configuration.
I do not understand what the code 0x2142 means
Thank you
Sorry for my english, i'm french.
03-09-2019 10:06 AM
- 2142 seems to be bad news : from the link I send earlier :
M.
03-10-2019 03:03 AM
Kk thank you. I put the code 0xF.
I want to know where the configuration file is as on all cisco devices. Normally, in the flash there is the config file, the vlan file and the IOS. But on my router there are many other files that I do not know their usefulness. I would like my router to act as a normal device, namely saving configurations to flash memory.
Thank you !
03-10-2019 03:50 AM
- Start by setting the configuration register-value to 0x2102 which seems to be the default. In config mode this by
Router(config)# config-register 0x2102
Save the configuration (indeed) ; reboot , try an initial or simple router configuration afterwards, save it and reboot again. Check whether the configuration has been saved now.
M.
03-10-2019 05:55 AM
I execute config-register 0x2102, save the configuration then reload.
After a small modification, I saved, I restarted and the configuration was saved!
However, it still does not tell me where the config file is stored.
Thank you !
03-10-2019 07:36 AM
You might find the config files on a different flash. See if your 881 has a NVRAM flash.
That aside, as others have noted, a config-reg setting can set the router to ignore its config-file. As mentioned by another posters, usually you want the config-reg set to 0x2102.
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