01-27-2017 01:22 AM - edited 03-08-2019 09:05 AM
Hi,
Configuration getting saved in Flash instead of NVRam.
How can i change it flash to nvram.
FSSMOF_SBI_DC_RTR2_1010#wr
Destination filename [fss_sbi.cfg]?
%Warning:There is a file already existing with this name
Do you want to over write? [confirm]^Z
FSSMOF_SBI_DC_RTR2_1010#sh flash
-#- --length-- -----date/time------ path
1 89934456 Jun 18 2013 05:24:34 +05:30 c2951-universalk9-mz.SPA.152-4.M3.bin
2 3064 Jun 18 2013 05:32:52 +05:30 cpconfig-29xx.cfg
3 668940 Jan 27 2017 14:42:46 +05:30 fss_sbi.cfg
FSSMOF_SBI_DC_RTR2_1010#dir nvram:
Directory of nvram:/
248 -rw- 668940 Jan 27 2017 14:42:46 +05:30 startup-config
249 ---- 1920 <no date> private-config
250 -rw- 4861 <no date> underlying-config
1 ---- 103 <no date> persistent-data
2 -rw- 2945 <no date> cwmp_inventory
5 -rw- 17 <no date> ecfm_ieee_mib
6 -rw- 371 <no date> ifIndex-table
262136 bytes total (249159 bytes free)
FSSMOF_SBI_DC_RTR2_1010#
01-27-2017 02:03 AM
this will save it to nvram , it shouldn't be doing that though
what boot statemnets are enabled on the running config ..sh run | I boot
copy running-config nvram:startup-config
01-27-2017 03:54 AM
#sh run | I boot boot-start-marker
boot system flash c2951-universalk9-mz.SPA.154-3.M3.bin
boot system flash c2951-universalk9-mz.SPA.152-4.M3.bin
boot config flash0:fss_sbi.cfg
boot-end-marker
no ip bootp server
01-27-2017 03:58 AM
theres your issue boot config flash0:fss_sbi.cfg
remove this , its telling it to boot its configuration from flash , that's why its saving there , if you want nvram you need to remove this , someone has specifically set that
01-27-2017 04:08 AM
After removing this, getting same error.
Below logs for your reference.
01-27-2017 04:21 AM
248 -rw- 668940 Jan 27 2017 14:42:46 +05:30 startup-config
your nvram shows a config was saved in it today for startup..
save with copy run start and then check if the nvram startup file updated in dir nvram:starupo
you can set this to force it
boot config nvram:
01-27-2017 04:58 AM
any luck with the boot config nvram ?
01-27-2017 06:07 AM
same error
01-27-2017 06:13 AM
You need to specify the file name its to boot in nvram
is there a reason it was set to boot from flash , is there an issue with your nvram ?
boot config nvram:startup-config
but 1st copy the running-config to it so it boots the most current config if it works
copy run start nvram:startup-config
01-27-2017 06:22 AM
getting error
01-27-2017 06:33 AM
try shrink the config size in nvram and try save it again as above
(conf t)service compress-config
01-27-2017 06:47 AM
Below error
FSSMOF_SBI_DC_RTR2_1(config)#service compress-config
FSSMOF_SBI_DC_RTR2_1(config)#^Z
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