[rancid] Problem with switch HP Procurve 2610

izumi mutsu imutsu at gmail.com
Thu Jun 30 01:47:58 UTC 2011


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.


More information about the Rancid-discuss mailing list