[rancid] Problem with switch HP Procurve 2610
izumi mutsu
imutsu at gmail.com
Thu Jun 30 05:59:52 UTC 2011
On Thu, Jun 30, 2011 at 1:06 PM, john heasley <heas at shrubbery.net> wrote:
> Thu, Jun 30, 2011 at 08:47:58AM +0700, izumi mutsu:
>> Hi,
>>
>> I just installing RANCID 2.3.6 and making backup for Juniper, Cisco
>> and Netscreen was working good. Unfortunately it won't work with
>> switch HP Procurve 2610.
>> I'm was trying like this :
>>
>> $ clogin -c 'sh run' 10.10.10.2
>
> you have to use hlogin for HP procurves. it uses to hpuifilter.
>
hlogin works
hlogin -autoenable 10.12.3.241
10.12.3.241
spawn hpuifilter -- telnet 10.12.3.241
Trying 10.12.3.241...
Connected to 10.12.3.241 (10.12.3.241).
Escape character is '^]'.
ProCurve J9085A Switch 2610-24
Software revision R.11.30
Copyright (C) 1991-2009 Hewlett-Packard Co. All Rights Reserved.
RESTRICTED RIGHTS LEGEND
but rancid won't make config file for this switch as the size of file was 0
>> and here's the result
>>
>> SW1-RXM# couldn't compile regular expression pattern: parentheses () not balancd
>> while executing
>> "expect -nobrace -re { [24;1H([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[
>> ]+} { exp_continue }"
>> invoked from within
>> "expect {
>> -re $reprompt {}
>> -re "\[\n\r]+" { exp_continue }
>> }"
>> (procedure "run_commands" line 21)
>> invoked from within
>> "run_commands $prompt $command"
>> ("foreach" body line 166)
>> invoked from within
>> "foreach router [lrange $argv $i end] {
>> set router [string tolower $router]
>> # attempt at platform switching.
>> set platform ""
>> send_user ..."
>> (file "/usr/local/rancid/bin/clogin" line 743)
>>
>> How do to fix this ?, thanks.
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
More information about the Rancid-discuss
mailing list