09-11-2017 09:48 PM - edited 03-08-2019 11:59 AM
I do definitely know the differences between NVRAM and Flash memory. I did googled for past few days, but I was not able to find the 100% satisfying answer. Some people said that nowadays, people can actually store the startup configuration file in Flash. Others said no because of booting process plus because of the speed(NVRAM is faster than Flash). I am just wondering why smart people invented NVRAM. + Why can't the router just load IOS from flash and then get the startup configuration file from flash, and skip the NVRAM?
P.S. After pondering, I figure out why we should not save the startup configuration file in FLASH Memory. I am not 100% sure, but I am 99% sure. It is because of configuration register value :) If you carefully look at these two register value [0x2102 and 0x2142], you would agree with me. If you don't agree with me, please share with me your thoughts :)
Solved! Go to Solution.
09-12-2017 05:47 AM
Let's take a trip down memory lane. (Pun intended - laugh).
Returning to yesteryear, NVRAM (or PROM) was very expensive, and so often devices only had small quantities. So, only what critically was needed, and would fit, was placed into such a hardware resource. The startup config file, which often was changed, and wasn't too larger, was well servered by NVRAM. Of course, on some systems, a large startup config (or multiple different copies) wouldn't fit in NVRAM, and so, Cisco provided an option to compress the startup config.
Also recall, on some of the earlier Cisco devices, IOS came on ROM. If you wanted to upgrade the IOS, ROM chips had to be physically swapped.
09-12-2017 05:13 AM - edited 09-12-2017 05:53 AM
Hi
The following link can be useful. And Actually the IOS image is loaded from the flash: (compact flash:), now the idea with the configuration file is be saved into nonvolatil drive.
09-12-2017 05:47 AM
Let's take a trip down memory lane. (Pun intended - laugh).
Returning to yesteryear, NVRAM (or PROM) was very expensive, and so often devices only had small quantities. So, only what critically was needed, and would fit, was placed into such a hardware resource. The startup config file, which often was changed, and wasn't too larger, was well servered by NVRAM. Of course, on some systems, a large startup config (or multiple different copies) wouldn't fit in NVRAM, and so, Cisco provided an option to compress the startup config.
Also recall, on some of the earlier Cisco devices, IOS came on ROM. If you wanted to upgrade the IOS, ROM chips had to be physically swapped.
09-12-2017 06:45 AM
08-04-2020 03:54 AM
This answer is not satisfying. When you change any configurations, confs are applied directly on RAM (and the relevant programs are configured directly) but that doesn't tell us why confs should be in NVRAM to persist between boots. In fact I don't see any reason for this. Boot is the heaviest process it takes sometimes to finalize and you got NVRAM's content at startup or when you copy nvram's content to the RAM but for a little file it is very very quick to do a copy from say a HDD to a RAM and more quick from a Flash to a RAM and vis-versa. So what is the critical reason which oblige us to use something as quick as a NVRAM? to do an off-load copy so tat CPU is no busy?
08-04-2020 03:08 PM
08-06-2020 01:37 AM
Both are not satisfiying. it takes very few times to save a little block of KBytes even in a HDD it is very quick.
So I don't understand the criticality of saving startup inside a NVRAM instead of a Flash memory (saving all datas inside a flash).
08-06-2020 07:21 AM
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