[rancid] Re: Extreme Switches with Unsaved Configs

Hahues, Sven shahues at fgcu.edu
Tue Jan 27 13:19:16 UTC 2009


Mr. Heasley,

Thanks for your reply.  The complete prompt upon logging in is this:


Extremeware
Copyright (C) 1996-2006 Extreme Networks.  All rights reserved.
Protected by U.S Patent Nos 6,678,248; 6,104,700; 6,766,482; 6,618,388; 6,034,957; 6,859,438; 6,912,592; 6,914,905; 5,694,436
=============================================================================================================================

Press the <tab> key at any time for completions.
Remember to save your configuration changes.
* 300e48-0.45-HH-IDF:1 #

The * signifies that the config has changed, and if I save the config Rancid is able to go through and grab the config and diff it without any problems.

Thanks in advance for your assistance.

Regards,

Sven

-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net] 
Sent: Tuesday, January 27, 2009 12:41 AM
To: Hahues, Sven
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Extreme Switches with Unsaved Configs

Fri, Jan 23, 2009 at 09:27:53AM -0500, Hahues, Sven:
> 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.)

what is the complete prompt?

> 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
> _______________________________________________
> 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