Problem with Cisco 4000 with CatOS 7.6

Len lists at lowside.org
Wed Sep 8 15:19:29 UTC 2004


Cisco Cat OS 7.6 does not use write mem, all commands are written 
immediately,  you can see write mem isn't in the command reference guide 
for that relase.


http://www.cisco.com/en/US/products/hw/switches/ps4324/products_command_reference_chapter09186a00801fd92d.html#wp999860

_L

Peter Yardley wrote:
> Hi,
> 
> I have a Cisco 4000 which I recently upgraded to CatOS 7.6. after the 
> upgrade rancid stopped
> working.  The problem seems to be that it misses the "write term" command.
> 
> bash-2.05a$ cat5rancid -d cisco-4003
> executing clogin -t 90 -c"show version;show boot;show flash;dir 
> bootflash:;dir slot0:;dir slot1:;dir sup-bootflash:;dir 
> sup-microcode:;show module;show port ifindex;write term all;write term" 
> cisco-4003-1-1709-1
> PROMPT MATCH: cisco-4003-1-1709-1>
> HIT COMMAND:cisco-4003-1-1709-1> (enable) show version
>    In ShowVersion: cisco-4003-1-1709-1> (enable) show version
> ...
> HIT COMMAND:cisco-4003-1-1709-1> (enable) write term all
>    In WriteTerm: cisco-4003-1-1709-1> (enable) write term all
> cisco-4003-1-1709-1: missed cmd(s): write term
> cisco-4003-1-1709-1: missed cmd(s): write term
> 
> **** If I use clogin to issue the write term command it is often not 
> echoed on the console.
> 
> bash-2.05a$ clogin -c"write term" cisco-4003
> cisco-4003
> spawn telnet cisco-4003
> Trying X.X.X.X...
> Connected to cisco-4003
> Escape character is '^]'.
> 
> Cisco Systems, Inc. Console
> 
> Unauthorised access is prohibited and will be prosecuted
> 
> User Access Verification
> 
> Username: rancid
> Password:
> cisco-4003> (enable)
> cisco-4003> (enable) set length 0
> Screen length for this session set to 0.
> cisco-4003> (enable)  set logging session disable
> System logging messages will not be sent to the current login session.
> cisco-4003> (enable)
> cisco-4003> (enable)..............
> 
> ..........................
> ..........................
> ..
> 
> begin
> 
> **** If I use clogin interactively ....
> 
> bash-2.05a$ clogin  cisco-4003
> cisco-4003
> spawn telnet cisco-4003
> Trying X.X.X.X...
> Connected to cisco-4003.
> Escape character is '^]'.
> 
> Cisco Systems, Inc. Console
> 
> Unauthorised access is prohibited and will be prosecuted
> 
> User Access Verification
> 
> Username: rancid
> Password:
> cisco-4003> (enable)
> cisco-4003> (enable) write term
> This command shows non-default configurations only.
> Use 'write terminal all' to show both default and non-default 
> configurations.
> ...............
> 
> ..........................
> ..........................
> ..
> 
> begin
> 
> **** It looks clogin is not recognising the output from write term 
> correctly, could this be so?
> 
> Thanks,
> Peter.
> 





More information about the Rancid-discuss mailing list