[rancid] Login to Juniper J-series work, commands do not.

Andrei Sabau fanachos at gmail.com
Thu Apr 17 11:47:51 UTC 2014


I have an issue where jlogin works when connecting to a juniper device, but
if i run rancid-run or jrancid -c 'command' it gets stuck after the prompt.

The last lines are :

expect: does "rancid at BGP-CORE-0> " (spawn_id exp4) match regular expression
"(\r\n|\n)"? (No Gate, RE only) gate=yes re=no
"^[^ ]+>"? Gate "*>"? gate=yes re=yes
expect: set expect_out(0,string) "rancid at BGP-CORE-0>"
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "rancid at BGP-CORE-0>"
Gate keeper glob pattern for 'rancid at BGP-CORE-0[#>]' is 'rancid at BGP-CORE-0?'.
Activating booster.

expect: does " " (spawn_id exp4) match regular expression
"rancid at BGP-CORE-0[#>]"?
Gate "rancid at BGP-CORE-0?"? gate=no
expect: timed out

Error: TIMEOUT reached

I set the timeout to 20 seconds so it'll die. The command was 'show
version'. But if i run jlogin without command i can do anything on the
device.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140417/4670a8a3/attachment.html>


More information about the Rancid-discuss mailing list