cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1361
Views
5
Helpful
8
Replies

Location of configuration files

Ipefixe
Level 1
Level 1

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.

8 Replies 8

marce1000
VIP
VIP

 

 =   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 :

 https://www.cisco.com/c/en/us/support/docs/routers/10000-series-routers/50421-config-register-use.html

M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

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

 

HTH

Rick

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.

 

 - 2142 seems to be bad news : from the link I send earlier :

 

  • Ignores break
  • Boots into ROM if initial boot fails
  • 9600 console baud rate
  • Ignores the contents of Non-Volatile RAM (NVRAM) (ignores configuration)

M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

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 !

 

 -  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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

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 !

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

Review Cisco Networking for a $25 gift card