[rancid] Help on Cisco Devices with RO access. End of run not found.
Sreekanth K
sreekanth.krishna at gmail.com
Wed Nov 4 12:11:14 UTC 2009
Dear All,
I am facing a problem while using RANCID for certain set of Cisco devices.
I have a set of devices to which I have only limited access and do not have
the enable passwords.
I have created new rancid and clogin scripts named cwrancid and cwlogin.
I am not able to run rancid for these devices; I have hashed all the
commands on cwrancid except "show startup-config".
When I use cwlogin to directly attempt on my TestRouter, I am able to
complete successfully.
Logs appended below.
Appreciate help from the fraternity since I have exhausted my skills. :)
Cheers!!!
Sreekanth.
================ Logs from RANCID ================
[rancid at rancid bin]$ ./cwrancid -d Testrouter.rou
executing cwlogin -t 90 -c"show startup-config" Testrouter.rou
Testrouter.rou: missed cmd(s): show startup-config
Testrouter.rou: missed cmd(s): show startup-config
Testrouter.rou: End of run not found
Testrouter.rou: End of run not found
!
[rancid at rancid bin]$
[rancid at rancid bin]$ ./cwlogin -t 90 -c"show startup-config" Testrouter.rou
testrouter.rou
spawn telnet testrouter.rou
Trying 192.168.2.4...
Connected to testrouter.rou.
Escape character is '^]'.
CCCCC
########################################################################
### ###
### * WARNING * WARNING * WARNING * WARNING * ###
### ** FOR AUTHORISED NETWORK PERSONNEL ONLY ** ###
### ============================== ============= ###
< ---- Truncated Output ------ >
ntp server 192.168.2.240
end
Testrouter >exit
Connection closed by foreign host.
[rancid at rancid bin]$
================ Logs from RANCID ================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091104/e82125d6/attachment.html
More information about the Rancid-discuss
mailing list