[rancid] Re: Extreme Switches with Unsaved Configs

Hahues, Sven shahues at fgcu.edu
Wed Jan 28 14:41:36 UTC 2009


Mr. Heasley,

Attached, please find the output of clogin -d

I noticed that the script seems to stall out on the last line and never times our or finishes.  If I hit enter a few times I see these lines scroll by afterwards:

spawn id exp0 sent <\r>
spawn id exp4 sent <\r\n* 300e48-0.45-HH-IDF:2 # >

* 300e48-0.45-HH-IDF:2 # spawn id exp0 sent <\r>
spawn id exp4 sent <\r\n* 300e48-0.45-HH-IDF:2 # >

Thanks for your help, I really appreciate it.

Sven

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

Tue, Jan 27, 2009 at 08:19:16AM -0500, Hahues, Sven:
> 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 #

Does it clogin login (interactive) successfully?  Please send the output of
clogin -d hostname.

> 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clogin-output.txt
Url: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090128/784a2c57/attachment.txt 


More information about the Rancid-discuss mailing list