cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1688
Views
0
Helpful
7
Replies

"No space remaining to save config" in cat3550 ?

zesum
Level 1
Level 1

Below is log message(cat3550)

-------------------------------------------

Cat3550#wr

Building configuration...

% Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram.

Continue? [no]:

% Configuration buffer full, can't add command: password xxx

login

%Aborting Save. Compress the config.[OK]

Jul 25 16:55:35: %SYS-3-CONFIG_NO_PRIVATE: No space remaining to save private config

Jul 25 16:55:55: %SYS-3-CONFIG_NO_PRIVATE: No space remaining to save private config

Jul 25 16:56:56: %SYS-3-CONFIG_NO_PRIVATE: No space remaining to save private config

384K bytes of flash-simulated non-volatile configuration memory.

-------------------------------------------

please give me what can i do to resolve this problem. thanks

7 Replies 7

vijayasankar
Level 4
Level 4

Hi,

The solution is to use the boot buffersize size configuration command in order to increase the size of the simulated NVRAM. The configuration file cannot be larger than the buffer size allocation. The range is from 4096 to 524,288 bytes.

The boot buffersize command simulates a larger NVRAM.

Check out this URL

http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a008015bfab.shtml#cat3550

-VJ

Dear VJ

I had one confusion

is it like if i issue

router# copy running-config flash:newconfig.cfg

Destination filename [newconfig.cfg]?

31585 bytes copied in 3.552 secs (10528 bytes/sec)

router(config)# boot config-file flash:newconfig.cfg

commands then i don't need to configure

boot buffersize size

or both are necessary

kindly advise

Regards!!

Mahesh

Hello,

Both methods are not required. Saving to flash is a "work around" and modifying the buffer size is the solution.

If the switch can be reloaded I would say modify the buffer size and be done with it. If you need to wait, say for a maintenance window, to reload then saving the configuration to flash buys you the time you needed for the reload.

-Rob

Thanks anyway

Now it is clear to me

regards

Mahesh

Brian M
Level 1
Level 1

You can also use the 'Service Compress-Config' command.

Can u tell how it works just for knowledge

regards

mahesh


To resolve this issue, perform this procedure:

If this error message is displayed when the Cisco IOS Software is upgraded on the Cisco Catalyst Fixed Configuration Switches 2900XL, 2940, 2950, 2955, 2970, 3500XL, 3550 and 3750, check the contents of the Flash to verify that enough free space is available for the new Cisco IOS Software image. Issue the dir flash: command to do this, as shown in this sample output:
c3548XL#dir flash:
Directory of flash:/

  2  -rwx  109  Mar 05 1993 21:08:41  info
  3  -rwx  1799001  Mar 05 1993 21:10:02  c3500xl-c3h2s-mz.120-5.WC5a.bin
  4  drwx  640  Mar 05 1993 21:11:07  html
15  -rwx  109  Mar 05 1993 21:11:07  info.ver
17  -rwx  856  Mar 02 1993 03:07:04  vlan.dat
18  -rwx  2323  Mar 16 1993 23:17:22  config.text
19  -rwx  75  Jan 01 1970 00:00:35  env_vars

3612672 bytes total (387584 bytes free)
!-- The new image size should be less than the free space.
c3548XL#
 In this example, only 387,584 bytes are available. Therefore, if any image that is larger than 387,584 bytes is copied to the Flash, the error message results.

 To free up enough space to copy the new image, the existing Cisco IOS Software file must be deleted. To delete the file in this example, issue the delete flash:c3500xl-c3h2s-mz.120-5.WC5a.bin command. This frees another 1,799,001 bytes and leaves a total of 2,186,585 bytes available. As long as the new image is smaller than 2,186,585 bytes, the copy works.  
The /recursive command option can be used to delete all files in the specified directory, as well as the directory itself.
Note: After the old Cisco IOS Software file is deleted, do not reload the switch until the new file is copied successfully to the Flash and the boot statement is updated. The switch fails to load an image if the upgrade procedure is not followed properly

Getting Started

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco