09-16-2013 05:29 PM - edited 03-07-2019 03:30 PM
Hi, In my router. I have following config file startup from flash:startup-config. As I know config file should store in NVRAM. evertime i save config with "wr mem". May I know when I "wr mem", is that saving config will auto save in flash:start-config or I need to copying start-config to flash when everytime I do "wr mem"?
boot-start-marker
boot config flash:startup-config
boot-end-marker
Solved! Go to Solution.
09-16-2013 05:46 PM
flash:startup-config
You're trying to re-invent the wheel (to a square one) and I wouldn't recommend it. Here's why:
1. "startup-config" in a router is stored in the NVRAM;
2. Saving your "startup-config" in you Flash is dangerous because if you loose your flash because it's faulty -- your method means you are putting all your "eggs" in one basket. You have your router's config and your IOS in one big location. Dangerous. Very.
Exactly what are you trying to do, Alan?
09-16-2013 06:14 PM
When administrator save the config file will also update flash:startup-config?
No.
and how do I check NVRAM contain any config file or not?
Command is "dir nvram:".
Change the config and save the config.
Compare the time and date of the startup-config file in your flash if it has changed.
Again, what are you trying to do?
09-17-2013 06:41 AM
when I #dir nvram (I saw startup-config file)
when I #show flash (I saw startup-config fileSo, which one the router using and keep updating?
Confused? You should be. Like I said in my first post, you are re-inventing a wheel. A square wheel. I really don't see the logic to what you are doing. You are not "tuning up all your config". You are just adding another layer of fluff.
Look at the date of the startup-config in the flash memory. Does the time and date change? IF no, then the router did the right thing and updated the startup-config file in the NVRAM.
NOTE: There's something you are not tellling me/us. If you want to be secretive then there's a strong chance I can't help you.
09-16-2013 05:34 PM
When you do "wr mem" or simply "wr", you save the config. Period.
09-16-2013 05:37 PM
yes, but i would like to know is my config file in flash:startup-config will save or update when I save the config?
09-16-2013 05:38 PM
or i need to copy to flash each time when I save the config?
09-16-2013 05:42 PM
No it does not save it to flash too , you would have to do that separetly .
09-16-2013 05:46 PM
flash:startup-config
You're trying to re-invent the wheel (to a square one) and I wouldn't recommend it. Here's why:
1. "startup-config" in a router is stored in the NVRAM;
2. Saving your "startup-config" in you Flash is dangerous because if you loose your flash because it's faulty -- your method means you are putting all your "eggs" in one basket. You have your router's config and your IOS in one big location. Dangerous. Very.
Exactly what are you trying to do, Alan?
09-16-2013 05:51 PM
Yes Leo. you are correct. It is default setting from my company router
but my i know if "flash:startup-config" applied in the router. When administrator save the config file will also update flash:startup-config?
09-16-2013 05:52 PM
and how do I check NVRAM contain any config file or not?
09-16-2013 06:14 PM
When administrator save the config file will also update flash:startup-config?
No.
and how do I check NVRAM contain any config file or not?
Command is "dir nvram:".
Change the config and save the config.
Compare the time and date of the startup-config file in your flash if it has changed.
Again, what are you trying to do?
09-16-2013 06:16 PM
try to review and tune up all config thx Leo
09-16-2013 06:20 PM
when I #dir nvram (I saw startup-config file)
when I #show flash (I saw startup-config file
So, which one the router using and keep updating?
09-17-2013 06:41 AM
when I #dir nvram (I saw startup-config file)
when I #show flash (I saw startup-config fileSo, which one the router using and keep updating?
Confused? You should be. Like I said in my first post, you are re-inventing a wheel. A square wheel. I really don't see the logic to what you are doing. You are not "tuning up all your config". You are just adding another layer of fluff.
Look at the date of the startup-config in the flash memory. Does the time and date change? IF no, then the router did the right thing and updated the startup-config file in the NVRAM.
NOTE: There's something you are not tellling me/us. If you want to be secretive then there's a strong chance I can't help you.
09-23-2013 10:30 PM
thank you very much Leo. I got it.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: