<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>I am still having issues w/rancid backing up cisco IOS-XR. This is
version Cisco IOS XR Software, Version 3.9.0[00]. I using the patched
expect strait from the ftp on shrubbery site. I can run “xrrancid –d
myrouter” and the config is download completely to the current working
directory. However if I let rancid run it normally or do a “rancid-run
mygroup” only have the config is downloaded before I get “Connection closed by
foreign host.” right in the middle of the config. At the top of the config
I get “RANCID-CONTENT-TYPE: cisco-xr” and according to what commands are being
run I don’t understand why I can run it manually and it work but letting rancid
run it and it only downloads part of the config. Both runs manually and
automatically are using the same user and same ENV variables. When it
stops in the middle it doesn’t always stop at the same spot (same length).
I can “rancid-run ASR” 5 times and 3 of the times it stop in the same spot and 2
times it stop a few lines before or after. Any help would be
appreciated.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>From a normal run:</DIV>
<DIV> </DIV>
<DIV>rancid 409 30383 0 16:59
pts/1 00:00:00 /bin/sh /usr/local/rancid/bin/rancid-run
ASR</DIV>
<DIV>rancid 410 409 0 16:59
pts/1 00:00:00 /bin/sh /usr/local/rancid/bin/rancid-run
ASR</DIV>
<DIV>rancid 414 410 0 16:59
pts/1 00:00:00 /bin/sh /usr/local/rancid/bin/control_rancid
ASR</DIV>
<DIV>rancid 449 414 0 16:59
pts/1 00:00:00 /usr/bin/perl /usr/local/rancid/bin/par -q -n
10 -c rancid-fe {} /usr/local/rancid/var/ASR/routers.up</DIV>
<DIV>rancid 450 449 0 16:59
pts/1 00:00:00 sh -c (rancid-fe myrouter:cisco-xr)</DIV>
<DIV>rancid 451 449 0 16:59
pts/1 00:00:00 sh -c (rancid-fe myrouter2:cisco-xr)</DIV>
<DIV>rancid 452 450 0 16:59
pts/1 00:00:00 /usr/bin/perl /usr/local/rancid/bin/xrrancid
myrouter</DIV>
<DIV>rancid 453 451 0 16:59
pts/1 00:00:00 /usr/bin/perl /usr/local/rancid/bin/xrrancid
myrouter2</DIV>
<DIV>rancid 454 452 0 16:59
pts/1 00:00:00 sh -c clogin -t 90 -c "terminal exec prompt
no-timestamp;show running-config" myrouter </dev/null > myrouter.raw
2>&1</DIV>
<DIV>rancid 455 453 0 16:59
pts/1 00:00:00 sh -c clogin -t 90 -c "terminal exec prompt
no-timestamp;show running-config" myrouter2 </dev/null > myrouter2.raw
2>&1</DIV>
<DIV>rancid 457 454 0 16:59
pts/1 00:00:00 /usr/bin/expect -- /usr/local/rancid/bin/clogin
-t 90 -c terminal exec prompt no-timestamp;show running-config myrouter</DIV>
<DIV>rancid 458 455 1 16:59
pts/1 00:00:00 /usr/bin/expect -- /usr/local/rancid/bin/clogin
-t 90 -c terminal exec prompt no-timestamp;show running-config myrouter2</DIV>
<DIV>rancid 463 457 0 16:59
pts/3 00:00:00 telnet myrouter</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV></BODY></HTML>