[rancid] Fwd: netscreen back up

Benoit Moeremans abeneuneu at gmail.com
Mon May 21 07:27:14 UTC 2007


Hi John,

I tried with the nlogin, and it works.

rantanplan-test:/usr/local/rancid/bin# ./nlogin -f
/usr/local/rancid/.cloginrc 10.150.0.253
10.150.0.253
spawn ssh -c 3des -x -l rancid 10.150.0.253
rancid at 10.150.0.253's password:
Remote Management Console
Charon->

Any idea?

Regards,

Ben


On 5/16/07, john heasley <heas at shrubbery.net> wrote:
>
> Wed, May 16, 2007 at 01:53:19PM +0200, Benoit Moeremans:
> > Hi Guys,
> >
> > Like a lot of people, i installed rancid to backup my cisco & netscren
> > devices (in this case this is a juniper ssg 520 - screen os5)
> > It's perfect for the cisco devices, but i get some errors when i try to
> > backup the juniper.
> > I can use the jlogin without any problems:
>
> nrancid uses nlogin, not jlogin.  try nlogin -c 'get conf' host
>
> > rancid at rantanplan-test:~/bin$ ./jlogin -f /usr/local/rancid/.cloginrc
> > 10.150.0.253
> > 10.150.0.253
> > spawn ssh -c 3des -x -l rancid 10.150.0.253
> > rancid at 10.150.0.253's password:
> > Remote Management Console
> > Charon->
> > Charon->
> >
> >
> > rancid   14830  0.0  0.5   3100  1380 pts/0    S+   13:38   0:00 sh -c
> > (rancid-fe \10.150.0.253:netscreen)
> > rancid   14831   0.6  0.7   3808  1892 pts/0    S+   13:38   0:00
> > /usr/bin/perl /usr/local/rancid//bin/nrancid 10.150.0.253
> > rancid   14832  0.1  0.5   3100  1420 pts/0    S+   13:38   0:00 sh -c
> > nlogin -t 90 -c "get system;get conf" 10.150.0.253 </dev/null
> > rancid   15762  0.0  0.5   3100  1420 pts/0    S+   13:41   0:00 sh -c
> > nlogin -t 90 -c "get system;get conf" 10.150.0.253 </dev/null
> > rancid   15763  0.0  0.8   5836  2116 pts/0    S+   13:41   0:00
> > /usr/bin/expect -- /usr/local/rancid//bin/nlogin -t 90 -c get system;get
> > conf 10.150.0.253
> > rancid   15764  0.0  0.8   5836  2116 pts/0    S+   13:41   0:00
> > /usr/bin/expect -- /usr/local/rancid//bin/nlogin -t 90 -c get system;get
> > conf 10.150.0.253
> > rancid   15765  0.0  0.8   5836  2116 pts/0    S+   13:41   0:00
> > /usr/bin/expect -- /usr/local/rancid//bin/nlogin -t 90 -c get system;get
> > conf 10.150.0.253
> > rancid   15766  0.1  0.9   5232  2456 pts/3    Ss+  13:41   0:00 ssh -c
> 3des
> > -x -l rancid 10.150.0.253
> >
> >
> > rancid at rantanplan-test:~/var/logs$ cat networking.20070516.133649
> > starting: Wed May 16 13:36:49 CEST 2007
> >
> > Trying to get all of the configs.
> > 10.150.0.253: missed cmd(s): get conf
> > 0: found end
> > 10.150.0.253: End of run not found
> > !
> > =====================================
> > Getting missed routers: round 1.
> >
> > Any idea?
> >
> > Regards,
> >
> > Benoit
>
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070521/4f0a76e4/attachment.html 


More information about the Rancid-discuss mailing list