[rancid] Extreme Switches with Unsaved Configs

Hahues, Sven shahues at fgcu.edu
Fri Jan 23 14:27:53 UTC 2009


Hi everyone,

I'm running rancid-2.3.2a9 and I'm having a problem with our Extreme switches.  Whenever the config is not saved on an Extreme switch and I run rancid-run I only get a bunch of errors in the log and no config is retrieved and diffed. (It appears as if the * that gets put in front of the cli prompt causes this, since that seems to be the only difference between a saved and an unsaved config.)

I searched through this archive and found a patch for 2.3.2a6 by Tore Anderson (thank you for this) (link: http://www.shrubbery.net/pipermail/rancid-discuss/2007-May/002218.html) but even reverting back to the older version and patching it, I still encountered the same problem.

I am just wondering if anyone has a solution for this, for either 2a9 or 2a6.  Any help would be greatly appreciated.

The output is as follows:
-------------------------------------------------------------------------------------
Trying to get all of the configs.
couldn't compile regular expression pattern: quantifier operand invalid
    while executing
"expect -nobrace -re {* 300e48-x.([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[
^M]+} { exp_continue }"
    invoked from within 
"expect {
            -re $reprompt       {}
            -re "\[\n\r]+"      { exp_continue }
        }"
    (procedure "run_commands" line 23)
    invoked from within 
"run_commands $prompt $command"
    ("foreach" body line 152)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    # attempt at platform switching.
    set platform ""
    send_user ..."
    (file "/home/rancid/bin/clogin" line 715)^M
172.x.x.x: missed cmd(s): show configuration detail,show slot,show configuration,show version,show diag,show memory,show switch
172.x.x.x: End of run not found

-----------------------------------------------------------------------------------------

This repeats a few times.

Thanks in advance, I really appreciate your assistance.


Sven Hahues
FGCU Computing Services
E-Mail: shahues at fgcu.edu


More information about the Rancid-discuss mailing list