Sreekanth K
2009-11-04 12:11:14 UTC
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 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 bin]$
[***@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 bin]$
================ Logs from RANCID ================
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 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 bin]$
[***@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 bin]$
================ Logs from RANCID ================