[rancid] Re: Not working rancid with Cisco without enable.

john heasley heas at shrubbery.net
Fri Jun 11 16:48:38 UTC 2010


Fri, Jun 11, 2010 at 12:45:53PM +0400, Aleksey P:
> Hello.
> In my rancid file i delete all commands, except "show configuration". This
> work fine with Juniper switches (becouse they don't have enable mode and

it must have show version.

> have '>' in command line (i think)).

the rancid script shouldnt care about which prompt it shows, but in
general, enable mode is required.

> I did as you say:
> In racid.conf i have:
> NOPIPE=YES; export NOPIPE
> 
> Then i did:
> 
> ]# /usr/local/libexec/rancid/rancid -d 172.16.2.2
> executing /usr/local/libexec/rancid/clogin -t 90 -c"show configuration"
> 172.16.2.2
> 172.16.2.2: missed cmd(s): show configuration
> 172.16.2.2: missed cmd(s): show configuration
> 172.16.2.2: End of run not found
> 172.16.2.2: End of run not found
> !
> ]# cat /usr/local/libexec/rancid/172.16.2.2.new
> !RANCID-CONTENT-TYPE: cisco
> !
> !
> !
> !
> and that is all that in this file.

and what is in the 172.16.2.2.raw file?


More information about the Rancid-discuss mailing list