cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2240
Views
0
Helpful
11
Replies

Configuration getting saved in Flash instead of NVRam

deepak.nayak1
Level 1
Level 1

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#

11 Replies 11

Mark Malone
VIP Alumni
VIP Alumni

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

#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

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

After removing this, getting same error.

Below logs for your reference.

#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-end-marker
no ip bootp server
#wr
Destination filename [fss_sbi.cfg]?
%Warning:There is a file already existing with this name
Do you want to over write? [confirm]
668909 bytes copied in 1.716 secs (389807 bytes/sec)

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:

any luck with the boot config nvram ?

same error

FSSMOF_SBI_DC_RTR2_1(config)#boot config nvram:
FSSMOF_SBI_DC_RTR2_1(config)#
FSSMOF_SBI_DC_RTR2_1(config)#
FSSMOF_SBI_DC_RTR2_1(config)#
FSSMOF_SBI_DC_RTR2_1(config)#^Z
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]
668909 bytes copied in 1.968 secs (339893 bytes/sec)
FSSMOF_SBI_DC_RTR2_1010#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-end-marker
no ip bootp server
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#dir nv
FSSMOF_SBI_DC_RTR2_1010#dir nvram:
Directory of nvram:/
  248  -rw-        4861                    <no date>  startup-config
  249  ----        1920                    <no date>  private-config
  250  -rw-        4861                    <no date>  underlying-config
    2  -rw-         371                    <no date>  ifIndex-table
262136 bytes total (254279 bytes free)
FSSMOF_SBI_DC_RTR2_1010#

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

getting error

FSSMOF_SBI_DC_RTR2_1010#copy running-config startup-config
Destination filename [startup-config]? startup-config
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]y
Building configuration...
% Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram.
Continue? [no]: yes
% Configuration buffer full, can't add command: ip nat inside source static 10.240.3.11 10.244.27.132
%Aborting Save. Compress the config, Save it to flash or Free up space on device[OK]
FSSMOF_SBI_DC_RTR2_1010#

 try shrink the config size in nvram and try save it again as above

(conf t)service compress-config

Below error

FSSMOF_SBI_DC_RTR2_1(config)#service compress-config
FSSMOF_SBI_DC_RTR2_1(config)#^Z

FSSMOF_SBI_DC_RTR2_1010#copy running-config startup-config ?
  all  Copy current operating configuration including defaults
  <cr>
FSSMOF_SBI_DC_RTR2_1010#copy running-config startup-config
Destination filename [startup-config]? startup-config
Building configuration...
Compressed configuration from 668933 bytes to 118150 bytes[OK]
FSSMOF_SBI_DC_RTR2_1010#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
FSSMOF_SBI_DC_RTR2_1(config)#boot
FSSMOF_SBI_DC_RTR2_1(config)#boot con
FSSMOF_SBI_DC_RTR2_1(config)#boot config nv
FSSMOF_SBI_DC_RTR2_1(config)#boot config nvram:startup-config ?
  nvbypass  bypass nvram for distilled config
  <cr>
FSSMOF_SBI_DC_RTR2_1(config)#boot config nvram:startup-config
No file name allowed
FSSMOF_SBI_DC_RTR2_1(config)#
Review Cisco Networking for a $25 gift card