Yesterday I just discovered that I'm unable to save the startup-config file to flash. I get an erroneus message that there's not enough space.
The device is a 2950G-24-EI type switch
The IOS is c2950-i6q4l2-mz.121-14.EA1a.bin
#copy run start
Destination filename [startup-config]?
startup-config file open failed ( Not enough space )
Switch# <----output blank, no results
Directory of flash:/
2 -rwx 273 Jan 01 1970 00:01:33 env_vars
3 -rwx 796 Aug 13 1994 23:19:55 vlan.dat
4 -rwx 47 May 31 1993 05:13:18 private-config.text
7 -rwx 110 Mar 01 1993 00:02:13 info
8 -rwx 2958970 Mar 01 1993 00:03:47 c2950-i6q4l2-mz.121-14.EA1a.bin
9 drwx 2304 Mar 01 1993 00:04:58 html
84 -rwx 110 Mar 01 1993 00:05:08 info.ver
7741440 bytes total (2481152 bytes free) <---- Over 2MBs available
My last startup-configuration save was about 3 months ago. Suddenly this error exists. The switchports are configured for another Vlan other then Management Vlan 1, so if I re-boot or lose power the switch is rendered useless.
Any assistance on troubleshooting this is greatly appreciated!
I turned off/disabled, service timestamps debug uptime, service timestamps log uptime, no cdp run (global), removed all aaa new-model configuration commands, rtr responder, logging trap alerts, ip rcmd rcp-enable.
Memory utization now looks like this:
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Also, I've noticed that when I do a show run I get this error message before the contents of the running-config is displayed:
Error on initialize VLAN database 1: VTP feature not yet initialized
Current configuration : 2920 bytes
VTP configuration looks good to me, it's in Client mode and the information displayed from "show vtp status" looks the same as from another switch in the same VTP domain. I switched over to Transparent mode with no luck!
Note II: I've also tried copying the configuration file from TFTP to startup-config and get the same message (No space available)
Never tried this . see if you can do a "dir nvram: and see if something is in there that shouldn't be that may be taking up space. Maybe someone saved something in there by mistake. you could be running into something like this.
CSCeb45692 Bug Details
Headline Free space in NVRAM is decreasing each time config is saved
Feature OTHERS Components Duplicate of
Severity 3 Severity help Status Verified Status help
First Found-in Version 12.1(13)EA1b All affected versions First Fixed-in Version 12.1(20)EA1 Version help
Basic Description :
Free NVRAM decreases every time the configuration is saved.
It is reproducable with the version c2950-i6q4l2-mz.121-13.EA1b on
The symptoms occur only when the snmp engine is running - that is
only if there is some snmp configuration on the switch.
When the config is saved using the "write mem" command, free space in NVRAM
decreases continuously (seen by issuing the "dir nvram:" command).
1024 bytes are lost every time the command is issued. If this is repeated
to the point where there is no more free NVRAM left, the following warning
is displayed by the switch
% Warning: Saving this config to nvram may corrupt any network management or
security files stored at the end of nvram. Continue? [no]:
When hitting this error statement, choose "yes"
The user-config will be saved, and there will be an internal cleanup.
Now if the "dir nvram:" command is issued, the original free NVRAM value
That's certainly pretty darn close to what's happening to me except I don't get the warning and option to save, rather I just get the error message. My IOS falls within the "range" of the bug and when it was first fixed.
Here's the results of dir nvram:
Directory of nvram:/
%Error opening nvram:/ (Unknown error 89)
32768 bytes total (25147 bytes free)
Gotta love the "Unknown error" message.
I've removed any references to snmp strings in my configuration:
%SNMP agent not enabled
Switch#sh snmp engineID
%SNMP agent not enabled
So far it's looking like an IOS upgrade may be my only option. It looks like there's 8MB of memory on the switch. I've deleted the html directory and contents, so now I have 4MB free, I can probably leave the old IOS on the switch. Which IOS version would be the most current that this switch will accept? Currently It's running the "Enhanced Image". Will it accept the "Enterprise Image"? I don't want to get burnt, been down that road before. :-(
Also, how about configuring the system:boot command to get it's config from a tftp server?
Rather then replying with a YES go this route, I'd still rather try and fix it. Stop some processes in memory perhaps? I viewed a similar switch, same type/model and configuration, and its memory processes weren't as utilized, so I think we're on the right track suspecting a memory process/utilization issue.
mahmoodmkl, Thanks for replying! I had to go out on family emergency all last week. Now that I'm back I've lost Telnetting capabilities to that switch. It's still up and running until power is lost. I'll have to replace the switch with a spare and try upgrading the IOS. This issue is now dead. Thanks all for trying to help. We were close! :-)
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...