CatOS Problem

darren kruse darren at adam.com.au
Tue Oct 5 00:52:24 UTC 2004


John
thanks !! - works for me ...

%less coreswitches.20041005.101429
starting: Tue Oct 5 10:14:29 CST 2004
Trying to get all of the configs.
All routers sucessfully completed.
cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs
Checking in configs/c55k-2;
/usr/local/rancid/var/CVS/coreswitches/configs/c55k-2,v  <--  c55k-2
new revision: 1.13; previous revision: 1.12
done
Checking in configs/c55k-3;
/usr/local/rancid/var/CVS/coreswitches/configs/c55k-3,v  <--  c55k-3
new revision: 1.27; previous revision: 1.26
done
ending: Tue Oct 5 10:15:17 CST 2004

I had been running clogin v.177, I'm now running..

%less /usr/local/libexec/rancid/clogin
## $Id: clogin.in,v 1.79 2004/05/27 21:57:52 heas

cheers,
darren.


john heasley wrote:

>Could you all please try this version of clogin.in?
>	ftp://ftp.shrubbery.net/pub/rancid/clogin.in
>
>I believe Christopher (in a private email) hit on the bug that is triggering
>at least some of these issues.  It was fixed, but we've have not been able
>release a 2.3.2.
>
>Fri, Oct 01, 2004 at 11:47:18AM +0930, darren kruse:
>  
>
>>I tried your suggestion re autoenable ...
>>
>>ferret# less .cloginrc
>>add autoenable c55k-2 0
>>add password c55k-1  userpass enablepass
>>add password c55k-2  userpass enablepass
>>add password c55k-3 userpass enablepass
>>
>>But, it's still doing the same thing , since the upgrade to 2.3.1
>>it works for the first cat (c55k-1) , then chokes on the second and third.
>>
>>Trying to get all of the configs.
>>write(spawn_id=3): I/O error
>>   while executing
>>"send "exit\r""
>>   invoked from within
>>"expect -nobrace -re {^[^
>>^M *]*c55k2> \(enable\)} {
>>etc.. as previously advised..
>>                              
>>darren
>>
>>
>>Christopher E. Brown wrote:
>>
>>    
>>
>>>I noticed that for whatever reason there is an issue with prompt 
>>>parsing on CatOS devices.
>>>
>>>I had to set login/enable passwords and autoenable = 0 in cloginrc for 
>>>my Cat)S devices.
>>>
>>>Coupe, Mark (ITD) wrote:
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>I've got a Cisco network of 1900s (haven't dealt with yet), IOS and 
>>>>CatOS.  I've got all the IOS and CatOS devices in a single router.db 
>>>>file.  The manufacturer entry is set for each to either 'cisco' or 
>>>>'cat5' as appropriate.  The problem that I'm having is that while all 
>>>>of the IOS devices have their config pulled without issue, none of 
>>>>the CatOS devices do.
>>>>
>>>>I have successfully logged into and run commands on the CatOS devices 
>>>>by using 'clogin' and specifying the hostname and commands.  When I 
>>>>use 'rancid-run' I get the following error message (or similar) in 
>>>>the logs for each of the devices:
>>>>
>>>>
>>>>"<hostname> clogin error: Error: TIMEOUT reached
>>>><hostname>: missed cmd(s): write term all,show port ifindex,show 
>>>>module,dir sup-microcode:,dir sup-bootflash:,dir bootflash:,dir 
>>>>slot0:,showversion,show flash,write term,show boot,dir slot1:
>>>><hostname>: End of run not found"
>>>>
>>>>Can anyone point me in the right direction at least because while I 
>>>>realize that the "End of run not found" is the bigger issue than the 
>>>>"missed cmd(s)" (according to stuff I've read in the archives) I'm 
>>>>not really sure where I should be looking.
>>>>
>>>>
>>>>Thanks,
>>>>
>>>>Mark
>>>>        
>>>>
>>>
>>>      
>>>
>>-- 
>>Darren Kruse
>>Network Operations Centre
>>Adam Internet
>>mob 0404 034 773
>>ph (08) 8423 4000
>>fax(08) 8231 0223
>>Office Address: 117 King William St, Adelaide 5000 Postal Address:
>>G.P.O. Box 121, Adelaide 5001
>>
>>
>>
>>    
>>


-- 
Darren Kruse
Network Operations Centre
Adam Internet
mob 0404 034 773
ph (08) 8423 4000
fax(08) 8231 0223
Office Address: 117 King William St, Adelaide 5000 Postal Address:
G.P.O. Box 121, Adelaide 5001





More information about the Rancid-discuss mailing list