[rancid] How to configure rancid for stacked switches ?

doug.hughes at keystonenap.com doug.hughes at keystonenap.com
Thu Mar 1 18:09:44 UTC 2018

try hrancid -d -t hp <device>

Then we'd be able to tell a little more about what's going on.

Sent from my android device.

-----Original Message-----
From: "DELOISON, Clement" <cdeloison at cora.fr>
To: rancid-discuss at shrubbery.net
Sent: Thu, 01 Mar 2018 13:04
Subject: [rancid] How to configure rancid for stacked switches ?


Can you help me with my problem ? I can't make RANCID works with my stacked
HP switches. When I check logs, I have this :

Trying to get all of the configs.
couldn't compile regular expression pattern: parentheses () not balanced
    while executing
"expect {
        -re $reprompt   {}
        -re "\[\n\r]+"  { exp_continue }
    (procedure "run_commands" line 12)
    invoked from within
"run_commands $prompt $command"
    ("foreach" body line 160)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"

    # device timeout
    set timeout [find t..."
    (file "/usr/local/rancid/bin/hlogin" line 654)
xx.xxx.xxx.xxx: missed cmd(s): all commands
xx.xxx.xxx.xxx: End of run not found

I don't really understand what is the problem and what I can do to fix that.

Best regards,
Clément Deloison
Apprenti Réseau
cdeloison at cora.fr
Cora Informatique
12 rue Joseph Cugnot - BP35049
57072 Metz CEDEX 3
Tel :
Fax :
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180301/2b1d3c6b/attachment.html>

More information about the Rancid-discuss mailing list