[rancid] Re: Help on Cisco Devices with RO access. End of run not found.
john heasley
heas at shrubbery.net
Tue Nov 10 20:29:00 UTC 2009
Tue, Nov 10, 2009 at 10:49:48PM +0530, Sreekanth K:
> Hello John and all,
>
> Tried the same... Deleted the login banner altogether... still no luck...
> Note: I have used no enable in cloginrc and have hashed away all the
> commands and added show startup-config in the cwrancid file which I have
> created... No other changes :(
>
> ================ 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]$ ./cwlogin -t 90 -c"show startup-config" Testrouter.rou
>
> testrouter.rou
>
> spawn telnet testrouter.rou
>
> Trying 10.157.37.2...
>
> Connected to testrouter.rou.
>
> Escape character is '^]'.
>
>
>
> User Access Verification
>
> Username: rancid
>
> Password:
>
>
>
> Testrouter>
^ the rancid script looks for #. you'll ahve to change it.
More information about the Rancid-discuss
mailing list