Cisco nvram issues

Tagged:  

Found an interesting issue at a site where the router had lost the configuration. I went out, reconfigured the router from a backup and went to save:


ROUTER#wr
startup-config file open failed (Unknown error 0)

And in the log:


*Mar 7 00:56:53.825: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
*Mar 7 01:00:30.941: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram

I figured that this was either a filesystem issue on the nvram or the nvram was dead. So I was recommended to doing an erase, which also reformats the nvram. After this is was as good as new.


ROUTER# erase nvram:
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
ROUTER#wr
Building configuration...
[OK]

tested on cisco 2811
works fine, you can keep the router under the control and doing a write memory or write running-config startup-config

thanks jeff

jamilot@hotmail.com