[rancid] Issue with rancid and Juniper devices
Agustin Roca
agustin.roca at globant.com
Mon Jan 14 14:36:00 UTC 2013
Getting Timeout after login.
rancid]$ jlogin -d -c 'get system version' ar-device
expect: does "Telmex:AR-BADC-FS140-01(M)-> " (spawn_id exp6) match regular
expression "(\r\n|\n)"? no
"^[^ ]+>"? yes
expect: set expect_out(0,string) "Telmex:AR-BADC-FS140-01(M)->"
expect: set expect_out(spawn_id) "exp6"
expect: set expect_out(buffer) "Telmex:AR-BADC-FS140-01(M)->"
send: sending "set cli complete-on-space off\r" to { exp6 }
expect: does " " (spawn_id exp6) match regular expression
"Telmex:AR-BADC-FS140-01(M)-[#>]"? no
set cli complete-on-space off
^------unknown keyword cli
Telmex:AR-BADC-FS140-01(M)->
expect: does " set cli complete-on-space
off\r\n ^------unknown keyword
cli\r\nTelmex:AR-BADC-FS140-01(M)-> " (spawn_id exp6) match regular
expression "Telmex:AR-BADC-FS140-01(M)-[#>]"? no
expect: timed out
Error: TIMEOUT reached
write() failed to write anything - will sleep(1) and retry...
My cloginrc for that device is:
add user ar-* rancid
add password ar-* {passwd}
add method * ssh
add autoenable ar-* 1
Any hint will be aprreciated.
[image: http://www.globant.com/images/globant_130x25.gif]<http://www.globant.com/>
*Agustin Roca*
GIST Information Security Analyst
CEHv7
AR: +54 11 4109 1700 ext. 8098
Mobile: +15 5022 3042
agustin.roca at globant.com
[image: http://www.globant.com/images/pxtransp.gif]
*Having the right people is more important than having the right tools.
“Having the right people” requires hiring the right people, investing in
them, and retaining them – three processes we often get wrong.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130114/3606675b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 168 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130114/3606675b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1960 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130114/3606675b/attachment.gif>
More information about the Rancid-discuss
mailing list