Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

Problem with switch HP Procurve 2610

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


imutsu at gmail

Jun 29, 2011, 6:47 PM

Post #1 of 2 (612 views)
Permalink
Problem with switch HP Procurve 2610

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

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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


imutsu at gmail

Jun 29, 2011, 10:59 PM

Post #2 of 2 (581 views)
Permalink
Re: Problem with switch HP Procurve 2610 [In reply to]

On Thu, Jun 30, 2011 at 1:06 PM, john heasley <heas [at] shrubbery> 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
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.