[c-nsp] "sh run" bug

Arie Vayner (avayner) avayner at cisco.com
Thu Feb 28 02:56:48 EST 2008


Dmitry,

You are most likely hitting CSCsd45386 "write mem generates error %
String too long to write to nvram" 

Symptoms: When you enter the write memory command, the 
following error message and a traceback are generated:

Router#wr Building configuration...
% String too long to write to nvram (2578):Compressed configuration from

3452120 bytes to 786685 bytes[OK] Uncompressed configuration from 786685

bytes to 3452120 bytes

Conditions: This symptom is observed on a Cisco router when the
configuration 
is saved after you have entered the parser config cache 
interface command.

Workaround: Disable the no parser config cache interface 
command.

It is fixed in the current versions of 12.2SB, 12.4 and 12.4T trains.

Arie

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Dmitry Kiselev
Sent: Monday, February 18, 2008 11:20 AM
To: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] "sh run" bug

Hello!

On Mon, Feb 18, 2008 at 11:13:35AM +0200, Dmitry Kiselev wrote:

In few minutes I fix problem by myself by disabling IOS parser
interfaces cache. Sorry for my noise in the list. :(

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#no parser config cache interface Router(config)#end
Router#clear parser cache Clearing parser cache...

Router#sh run interface GigabitEthernet0/1.101 Building configuration...

Current configuration : 2101 bytes
!
interface GigabitEthernet0/1.101
 encapsulation dot1Q 101
 ip address X.X.X.1 255.255.255.0
...



> Hello!
> 
> Does anybody see such problems with running configuration building?
> Subject router is 7200-NPE-G1 under 12.2(25)S14, uptime about 17
weeks.
> Contact TAC? No other solutions?
> 
> 
> Router#sh run
> % String too long to write to nvram (2098):
> Current configuration : 124735 bytes
> !
> ! Last configuration change at 01:08:53 EET Mon Feb 18 2008 ! NVRAM 
> config last updated at 01:08:53 EET Mon Feb 18 2008 !
> version 12.2
> parser config cache interface
> ...
> 
> Router#sh run interface GigabitEthernet0/1.101 Building 
> configuration...
> 
> % String too long to write to nvram (2098):
> Current configuration : 5 bytes
> end
> 
> Router#
> Router#sh startup-config | beg interface_GigabitEthernet0/1.101 
> interface GigabitEthernet0/1.101  encapsulation dot1Q 101  ip address 
> X.X.X.1 255.255.255.0 ...
> 
> Router#copy run start
> Building configuration...
> 
> % String too long to write to nvram (2098):[OK] Router#sh 
> startup-config | beg interface_GigabitEthernet0/1.101 Router#


-- 
Dmitry Kiselev
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list