From ler762 at gmail.com Mon Nov 1 18:34:27 2010 From: ler762 at gmail.com (Lee) Date: Mon, 1 Nov 2010 14:34:27 -0400 Subject: [rancid] anyone have rancid working for a nexus 5000? In-Reply-To: References: Message-ID: On 10/27/10, Lee wrote: > rancid log says > > write(spawn_id=1): broken pipe > while executing > "send_user -- "$expect_out(buffer)"" > invoked from within > > when trying to get the config from a nexus 5000. The problem turned out to be "show version build-info all" - ie: nexus5000-1# show version build-info all ^ % Invalid command at '^' marker. nexus5000-1# Comment out the "{'show version build-info all' => 'ShowVersionBuild'}," line and rancid (actually nxrancid - I spent more time than I'd like to admit looking at rancid) is able to grab the config. So all's fine with that box now, but the next n5k is still failing; log file shows Trying to get all of the configs. nexus5000-2: missed cmd(s): show license ===================================== Getting missed routers: round 1. nexus5000-2: missed cmd(s): show license ssh into the box & typing in the command doesn't give any output: nexus5000-2# show license nexus5000-2# Help getting around this one would be appreciated. Lee From heas at shrubbery.net Mon Nov 1 21:11:52 2010 From: heas at shrubbery.net (john heasley) Date: Mon, 1 Nov 2010 21:11:52 +0000 Subject: [rancid] anyone have rancid working for a nexus 5000? In-Reply-To: References: Message-ID: <20101101211152.GE14619@shrubbery.net> Mon, Nov 01, 2010 at 02:34:27PM -0400, Lee: > On 10/27/10, Lee wrote: > > rancid log says > > > > write(spawn_id=1): broken pipe > > while executing > > "send_user -- "$expect_out(buffer)"" > > invoked from within > > > > when trying to get the config from a nexus 5000. > > The problem turned out to be "show version build-info all" - ie: > > nexus5000-1# show version build-info all > ^ > % Invalid command at '^' marker. > nexus5000-1# plz report that to cisco. running a command that isnt supported on the platform should not cause it to disconnect the client. > Comment out the "{'show version build-info all' => > 'ShowVersionBuild'}," line and rancid (actually nxrancid - I spent > more time than I'd like to admit looking at rancid) is able to grab > the config. So all's fine with that box now, but the next n5k is > still failing; log file shows > > Trying to get all of the configs. > nexus5000-2: missed cmd(s): show license > ===================================== > Getting missed routers: round 1. > nexus5000-2: missed cmd(s): show license > > > ssh into the box & typing in the command doesn't give any output: > > nexus5000-2# show license > nexus5000-2# > > Help getting around this one would be appreciated. set NOPIPE=YES in your environment and run nxrancid -d hostname. look in hostname.raw for this command and it's output. can also run nxrancid -d -f hostname.raw to help trace it. From ler762 at gmail.com Mon Nov 1 23:40:37 2010 From: ler762 at gmail.com (Lee) Date: Mon, 1 Nov 2010 19:40:37 -0400 Subject: [rancid] anyone have rancid working for a nexus 5000? In-Reply-To: <20101101211152.GE14619@shrubbery.net> References: <20101101211152.GE14619@shrubbery.net> Message-ID: On 11/1/10, john heasley wrote: > Mon, Nov 01, 2010 at 02:34:27PM -0400, Lee: >> On 10/27/10, Lee wrote: >> > rancid log says >> > >> > write(spawn_id=1): broken pipe >> > while executing >> > "send_user -- "$expect_out(buffer)"" >> > invoked from within >> > >> > when trying to get the config from a nexus 5000. >> >> The problem turned out to be "show version build-info all" - ie: >> >> nexus5000-1# show version build-info all >> ^ >> % Invalid command at '^' marker. >> nexus5000-1# > > plz report that to cisco. running a command that isnt supported on the > platform should not cause it to disconnect the client. I don't think it's a cisco problem. In the above example I did a "clogin nexus5000-1" and then typed in "show version build-info all" at the prompt. Got the error msg & new prompt - no disconnect. & I just noticed that doing an "export NOPIPE=YES" before the "rancid-run -r nexus5000-1" doesn't have the 'broken pipe' msg. I don't get a new config since it complains about missing commands, but if it was cisco ending the ssh session wouldn't I still be getting the broken pipe error message? >> Comment out the "{'show version build-info all' => >> 'ShowVersionBuild'}," line and rancid (actually nxrancid - I spent >> more time than I'd like to admit looking at rancid) is able to grab >> the config. So all's fine with that box now, but the next n5k is >> still failing; log file shows >> >> Trying to get all of the configs. >> nexus5000-2: missed cmd(s): show license >> ===================================== >> Getting missed routers: round 1. >> nexus5000-2: missed cmd(s): show license >> >> >> ssh into the box & typing in the command doesn't give any output: >> >> nexus5000-2# show license >> nexus5000-2# >> >> Help getting around this one would be appreciated. > > set NOPIPE=YES in your environment and run nxrancid -d hostname. look > in hostname.raw for this command and it's output. can also run nxrancid > -d -f hostname.raw to help trace it. I must be especially slow today - what am I looking for? Looking in nexus5000-2.raw shows some extra "^M"s, but it's still the same as my earlier example - no output: plugin^M Core Plugin, Ethernet Plugin^Mnexus5000-2# show license^M^M ^Mnexus5000-2# show license usage^M^M Feature Ins Lic Status Expiry Date Comments^M Count^M and the last few lines in my terminal window are: HIT COMMAND:nexus5000-2# show running-config In WriteTerm: nexus5000-2# show running-config nexus5000-2: found exit nexus5000-2: missed cmd(s): show license nexus5000-2: missed cmd(s): show license Thank you - I really appreciate the help. Lee From heas at shrubbery.net Tue Nov 2 01:59:17 2010 From: heas at shrubbery.net (john heasley) Date: Tue, 2 Nov 2010 01:59:17 +0000 Subject: [rancid] anyone have rancid working for a nexus 5000? In-Reply-To: References: <20101101211152.GE14619@shrubbery.net> Message-ID: <20101102015917.GN14619@shrubbery.net> Mon, Nov 01, 2010 at 07:40:37PM -0400, Lee: > On 11/1/10, john heasley wrote: > > Mon, Nov 01, 2010 at 02:34:27PM -0400, Lee: > >> On 10/27/10, Lee wrote: > >> > rancid log says > >> > > >> > write(spawn_id=1): broken pipe > >> > while executing > >> > "send_user -- "$expect_out(buffer)"" > >> > invoked from within > >> > > >> > when trying to get the config from a nexus 5000. > >> > >> The problem turned out to be "show version build-info all" - ie: > >> > >> nexus5000-1# show version build-info all > >> ^ > >> % Invalid command at '^' marker. > >> nexus5000-1# > > > > plz report that to cisco. running a command that isnt supported on the > > platform should not cause it to disconnect the client. > > I don't think it's a cisco problem. In the above example I did a > "clogin nexus5000-1" and then typed in "show version build-info all" > at the prompt. Got the error msg & new prompt - no disconnect. you will have to try it with all of the preceeding commands too. > & I just noticed that doing an "export NOPIPE=YES" before the > "rancid-run -r nexus5000-1" doesn't have the 'broken pipe' msg. I > don't get a new config since it complains about missing commands, but > if it was cisco ending the ssh session wouldn't I still be getting the > broken pipe error message? so maybe it doesnt like the TERM. > >> Comment out the "{'show version build-info all' => > >> 'ShowVersionBuild'}," line and rancid (actually nxrancid - I spent > >> more time than I'd like to admit looking at rancid) is able to grab > >> the config. So all's fine with that box now, but the next n5k is > >> still failing; log file shows > >> > >> Trying to get all of the configs. > >> nexus5000-2: missed cmd(s): show license > >> ===================================== > >> Getting missed routers: round 1. > >> nexus5000-2: missed cmd(s): show license > >> > >> > >> ssh into the box & typing in the command doesn't give any output: > >> > >> nexus5000-2# show license > >> nexus5000-2# > >> > >> Help getting around this one would be appreciated. > > > > set NOPIPE=YES in your environment and run nxrancid -d hostname. look > > in hostname.raw for this command and it's output. can also run nxrancid > > -d -f hostname.raw to help trace it. > > I must be especially slow today - what am I looking for? Looking in > nexus5000-2.raw shows some extra "^M"s, but it's still the same as my > earlier example - no output: > > plugin^M > Core Plugin, Ethernet Plugin^Mnexus5000-2# show license^M^M ^ where the newline? so, show version is missing a newline at the end of it's output. > ^Mnexus5000-2# show license usage^M^M > Feature Ins Lic Status Expiry Date Comments^M > Count^M > > and the last few lines in my terminal window are: > > HIT COMMAND:nexus5000-2# show running-config > In WriteTerm: nexus5000-2# show running-config > nexus5000-2: found exit > nexus5000-2: missed cmd(s): show license > nexus5000-2: missed cmd(s): show license > > > Thank you - I really appreciate the help. > Lee From ler762 at gmail.com Tue Nov 2 06:26:24 2010 From: ler762 at gmail.com (Lee) Date: Tue, 2 Nov 2010 02:26:24 -0400 Subject: [rancid] anyone have rancid working for a nexus 5000? In-Reply-To: <20101102015917.GN14619@shrubbery.net> References: <20101101211152.GE14619@shrubbery.net> <20101102015917.GN14619@shrubbery.net> Message-ID: I've got a work-around :) On 11/1/10, john heasley wrote: > Mon, Nov 01, 2010 at 07:40:37PM -0400, Lee: >> On 11/1/10, john heasley wrote: >> > Mon, Nov 01, 2010 at 02:34:27PM -0400, Lee: >> >> On 10/27/10, Lee wrote: >> >> > rancid log says >> >> > >> >> > write(spawn_id=1): broken pipe >> >> > while executing >> >> > "send_user -- "$expect_out(buffer)"" >> >> > invoked from within >> >> > >> >> > when trying to get the config from a nexus 5000. >> >> >> >> The problem turned out to be "show version build-info all" - ie: >> >> >> >> nexus5000-1# show version build-info all >> >> ^ >> >> % Invalid command at '^' marker. >> >> nexus5000-1# >> > >> > plz report that to cisco. running a command that isnt supported on the >> > platform should not cause it to disconnect the client. >> >> I don't think it's a cisco problem. In the above example I did a >> "clogin nexus5000-1" and then typed in "show version build-info all" >> at the prompt. Got the error msg & new prompt - no disconnect. > > you will have to try it with all of the preceeding commands too. did - no problems. Then I remembered that clogin adds a "term len 0" when you give it a list of commands, so did that, repeated the commands again & got the missing newline at the end out the 'show version' output. But no disconnect. ... snip ... >> I must be especially slow today - what am I looking for? Looking in >> nexus5000-2.raw shows some extra "^M"s, but it's still the same as my >> earlier example - no output: >> >> plugin^M >> Core Plugin, Ethernet Plugin^Mnexus5000-2# show license^M^M > ^ where the newline? > so, show version is missing a newline at the end of it's output. Yes & that's the problem - thanks!! Adding a "term len 60" before the "show version" and a "term len 0" after fixes it. So my commandtable now looks like this: @commandtable = ( {'term no monitor-force' => 'RunCommand'}, {'term len 60' => 'RunCommand'}, # -LR- {'show version' => 'ShowVersion'}, {'term len 0' => 'RunCommand'}, # -LR- {'show version build-info all' => 'ShowVersionBuild'}, Thank you! Lee From drich at employees.org Fri Nov 5 16:49:26 2010 From: drich at employees.org (Daniel Rich) Date: Fri, 05 Nov 2010 09:49:26 -0700 Subject: [rancid] Rancid for other types of devices Message-ID: <4CD43596.3070607@employees.org> I have been a rancid user for several years, mostly on Cisco and Foundry devices. One of our admins walked into my cube this morning and asked about using it on other types of devices and I wanted to see if anyone had beat me to it before I spent the next few weeks fiddling with the code to make it do what I want... :-) Has anyone attempted (or more importantly succeeded) in getting rancid working with any of the following? * HP On-Board Administrator (controller for their blade chassis, also contains the switch configs) * HP ILO * Network Appliance Filers All of the above have a CLI interface that is similar to a routers, it's just a matter of getting the right commands into the scripts - I hope. Thanks! -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jethro.binks at strath.ac.uk Fri Nov 5 17:12:26 2010 From: jethro.binks at strath.ac.uk (Jethro R Binks) Date: Fri, 5 Nov 2010 17:12:26 +0000 (GMT) Subject: [rancid] Rancid for other types of devices In-Reply-To: <4CD43596.3070607@employees.org> References: <4CD43596.3070607@employees.org> Message-ID: On Fri, 5 Nov 2010, Daniel Rich wrote: > I have been a rancid user for several years, mostly on Cisco and Foundry > devices. One of our admins walked into my cube this morning and asked > about using it on other types of devices and I wanted to see if anyone > had beat me to it before I spent the next few weeks fiddling with the > code to make it do what I want... :-) > > Has anyone attempted (or more importantly succeeded) in getting rancid > working with any of the following? > > * HP On-Board Administrator (controller for their blade chassis, > also contains the switch configs) Which product do you mean exactly here? We have c7000 blade chassis, although the server team chose the bladenetworks GbE switches rather than the real Cisco blade switch offering, but it is managed completely separately from the blade chassis. I vaguely looked at the bladenetworks switches; it has two versions of the CLI, the default AOS one, for which alogin/arancid might work (Alteon WebOS), and the cisco-ish one you can use instead (which we do), which isn't cisco-enough to be clogin and would probably need something new writing. > * HP ILO What configuration does the iLO have that it is worth rancid pulling? Jethro. > * Network Appliance Filers > > All of the above have a CLI interface that is similar to a routers, it's > just a matter of getting the right commands into the scripts - I hope. > > Thanks! > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" "Are you sure, sir? > | It means changing the bulb in the sign..." > | - Red Dwarf (BBC) > > . . . . . . . . . . . . . . . . . . . . . . . . . Jethro R Binks, Network Manager, Information Services Directorate, University Of Strathclyde, Glasgow, UK The University of Strathclyde is a charitable body, registered in Scotland, number SC015263. From mcmyst at hotmail.fr Mon Nov 8 12:18:34 2010 From: mcmyst at hotmail.fr (matthieu flye) Date: Mon, 8 Nov 2010 13:18:34 +0100 Subject: [rancid] Nortel and CTRL+Y menu Message-ID: Hi, I first apologize for my poor english, I'm french. I never used mailing lists, so I hope I'm using the good mailing adress... Here is my problem: Im using rancid in order to configure Cisco switches and it works pretty well, but recently we received some Nortel switches like MESU 1860. My problem is that I can't login on those switch because rancid can't pass this page : ### ### ########### ########## ############# ########### ### #### ### ############# ############ ############# ########### ### ##### ### ### ### ### ### ### ### ### ###### ### ### ### ### ### ### ### ### ### ### ### ### ### ############ ### ######### ### ### ### ### ### ### ########### ### ######### ### ### ###### ### ### ### ### ### ### ### ### ##### ### ### ### ### ### ### ### ### #### ############# ### ### ### ########### ########### ### ### ########### ### ### ### ########### ########### Enter Ctrl-Y to begin. *************************************************************** *** Metro Ethernet Services Unit 1860B *** *** Nortel Networks, Inc. *** *** Copyright (c) 1996-2009, All Rights Reserved *** *** SW:REL3.7.0.0 *** *** (General Availability) *** *************************************************************** After this I have to enter my login and password, and it should be fine because it's CLI and not a menu with use of arrow keys like I saw on other mailing list. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From mickael.garnier-prestataire at labanquepostale.fr Mon Nov 8 15:17:27 2010 From: mickael.garnier-prestataire at labanquepostale.fr (mickael.garnier-prestataire at labanquepostale.fr) Date: Mon, 8 Nov 2010 16:17:27 +0100 Subject: [rancid] Nortel and CTRL+Y menu Message-ID: Hi, we use this patch for backuping nortel baystack routers : http://www.shrubbery.net/pipermail/rancid-discuss/2009-October/004292.html http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091008/5435d62a/attachment.obj However, we found that it doesn't backup all the config from the router and we are planning to implement a backup with TFTP in order to have a complete backup. Has someone already tried to backup a nortel baystack with TFTP ? Do you have a script to share ? Hope this will help you. Mickael GARNIER De : matthieu flye A : Date : 08/11/2010 13:19 Objet : [rancid] Nortel and CTRL+Y menu Envoy? par : rancid-discuss-bounces at shrubbery.net Hi, I first apologize for my poor english, I'm french. I never used mailing lists, so I hope I'm using the good mailing adress... Here is my problem: Im using rancid in order to configure Cisco switches and it works pretty well, but recently we received some Nortel switches like MESU 1860. My problem is that I can't login on those switch because rancid can't pass this page : ### ### ########### ########## ############# ########### ### #### ### ############# ############ ############# ########### ### ##### ### ### ### ### ### ### ### ### ###### ### ### ### ### ### ### ### ### ### ### ### ### ### ############ ### ######### ### ### ### ### ### ### ########### ### ######### ### ### ###### ### ### ### ### ### ### ### ### ##### ### ### ### ### ### ### ### ### #### ############# ### ### ### ########### ########### ### ### ########### ### ### ### ########### ########### Enter Ctrl-Y to begin. *************************************************************** *** Metro Ethernet Services Unit 1860B *** *** Nortel Networks, Inc. *** *** Copyright (c) 1996-2009, All Rights Reserved *** *** SW:REL3.7.0.0 *** *** (General Availability) *** *************************************************************** After this I have to enter my login and password, and it should be fine because it's CLI and not a menu with use of arrow keys like I saw on other mailing list. Thank you_______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document que si vous en avez vraiment besoin ! Ce message est confidentiel. Sous reserve de tout accord conclu par ecrit entre vous et La Banque Postale, son contenu ne represente en aucun cas un engagement de la part de La Banque Postale. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement. Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drraisyatim at sify.com Mon Nov 1 19:43:54 2010 From: drraisyatim at sify.com (ECONOMIC AND FINANCIAL CRIME COMMISSION) Date: Mon, 1 Nov 2010 20:43:54 +0100 Subject: [rancid] [SPAM] Your new communication code: NG/ .CCUF -HFCR-/RLPHJ/ Message-ID: The attached message from ECONOMIC AND FINANCIAL CRIME COMMISSION () was determined by the Spam Blocker to be spam based on a score of 25.8 where anything above 4.3 is spam. -------------- next part -------------- An embedded message was scrubbed... From: "ECONOMIC AND FINANCIAL CRIME COMMISSION" Subject: Your new communication code: NG/ .CCUF -HFCR-/RLPHJ/ Date: Mon, 1 Nov 2010 20:43:54 +0100 Size: 1978 URL: From mickael.garnier-prestataire at labanquepostale.fr Mon Nov 8 14:17:31 2010 From: mickael.garnier-prestataire at labanquepostale.fr (mickael.garnier-prestataire at labanquepostale.fr) Date: Mon, 8 Nov 2010 15:17:31 +0100 Subject: [rancid] Nortel and CTRL+Y menu In-Reply-To: References: Message-ID: Hi, we use this patch for backuping nortel baystack routers : http://www.shrubbery.net/pipermail/rancid-discuss/2009-October/004292.html http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091008/5435d62a/attachment.obj However, we found that it doesn't backup all the config from the router and we are planning to implement a backup with TFTP in order to have a complete backup. As someone already tried to backup a nortel baystack with TFTP ? Do you have a script to share ? Hope this will help you. Mickael GARNIER De : matthieu flye A : Date : 08/11/2010 13:19 Objet : [rancid] Nortel and CTRL+Y menu Envoy? par : rancid-discuss-bounces at shrubbery.net Hi, I first apologize for my poor english, I'm french. I never used mailing lists, so I hope I'm using the good mailing adress... Here is my problem: Im using rancid in order to configure Cisco switches and it works pretty well, but recently we received some Nortel switches like MESU 1860. My problem is that I can't login on those switch because rancid can't pass this page : ### ### ########### ########## ############# ########### ### #### ### ############# ############ ############# ########### ### ##### ### ### ### ### ### ### ### ### ###### ### ### ### ### ### ### ### ### ### ### ### ### ### ############ ### ######### ### ### ### ### ### ### ########### ### ######### ### ### ###### ### ### ### ### ### ### ### ### ##### ### ### ### ### ### ### ### ### #### ############# ### ### ### ########### ########### ### ### ########### ### ### ### ########### ########### Enter Ctrl-Y to begin. *************************************************************** *** Metro Ethernet Services Unit 1860B *** *** Nortel Networks, Inc. *** *** Copyright (c) 1996-2009, All Rights Reserved *** *** SW:REL3.7.0.0 *** *** (General Availability) *** *************************************************************** After this I have to enter my login and password, and it should be fine because it's CLI and not a menu with use of arrow keys like I saw on other mailing list. Thank you_______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document que si vous en avez vraiment besoin ! Ce message est confidentiel. Sous reserve de tout accord conclu par ecrit entre vous et La Banque Postale, son contenu ne represente en aucun cas un engagement de la part de La Banque Postale. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement. Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drich at employees.org Mon Nov 8 17:11:07 2010 From: drich at employees.org (Daniel Rich) Date: Mon, 08 Nov 2010 09:11:07 -0800 Subject: [rancid] Rancid for other types of devices In-Reply-To: References: <4CD43596.3070607@employees.org> Message-ID: <4CD82F2B.5040300@employees.org> Jethro R Binks wrote: > On Fri, 5 Nov 2010, Daniel Rich wrote: > > >> I have been a rancid user for several years, mostly on Cisco and Foundry >> devices. One of our admins walked into my cube this morning and asked >> about using it on other types of devices and I wanted to see if anyone >> had beat me to it before I spent the next few weeks fiddling with the >> code to make it do what I want... :-) >> >> Has anyone attempted (or more importantly succeeded) in getting rancid >> working with any of the following? >> >> * HP On-Board Administrator (controller for their blade chassis, >> also contains the switch configs) >> > > Which product do you mean exactly here? We have c7000 blade chassis, > although the server team chose the bladenetworks GbE switches rather than > the real Cisco blade switch offering, but it is managed completely > separately from the blade chassis. > HP Onboard Administrator is the chassis administrator interface. It allows you to manage and configure the enclosed blades, switches, SAN hardware, etc. It has an ssh interface that allows you to access the configuration that would be well suited for use with rancid. http://h18000.www1.hp.com/products/blades/components/onboard/index.html I should mention, I don't deal with OA or ILO myself, I'm just going to be the one attempting to build a rancid interface to it if I can't find anyone else who has already tried. >> * HP ILO >> > > What configuration does the iLO have that it is worth rancid pulling? > I believe the big thing for us is the user authentication config. But I know that there are other bits that we would like to both track and be able to update using some sort of config management system, rancid being one possibility. >> * Network Appliance Filers >> >> All of the above have a CLI interface that is similar to a routers, it's >> just a matter of getting the right commands into the scripts - I hope. >> >> Thanks! >> > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) -------------- next part -------------- An HTML attachment was scrubbed... URL: From hohockjim at gmail.com Tue Nov 9 03:44:04 2010 From: hohockjim at gmail.com (Hock Jim) Date: Tue, 9 Nov 2010 11:44:04 +0800 Subject: [rancid] small patch to rancid for Cisco WAE/ACNS Message-ID: We've had to make a small change to RANCID for it to run with our Cisco WAEs running ACNS software. /bin/rancid uses the following string matching in "show version" to detect Cisco Content Engines: if (/^Application and Content Networking Software/) { $type = "CE"; } but our presumably more recent ACNS version (5.5.1x) returns the following, with an extra word "System" breaking the string matching: [rancid at RANCID configs]$ clogin -c "show ver" acns | grep -i acns Application and Content Networking System Software (ACNS) We patched the string matching to the following, and it all works well. if (/^Application and Content Networking.*Software/) { $type = "CE"; } Wondering if the maintainers can commit this (or whatever is similar/more appropriate). Thanks! -- Hock Jim HO ps. Thanks for an Really Awesome program. -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.serwe at gmail.com Tue Nov 9 05:30:56 2010 From: peter.serwe at gmail.com (Peter Serwe) Date: Mon, 8 Nov 2010 21:30:56 -0800 Subject: [rancid] Rancid for other types of devices In-Reply-To: <4CD82F2B.5040300@employees.org> References: <4CD43596.3070607@employees.org> <4CD82F2B.5040300@employees.org> Message-ID: Without mentioning the fact that rancid can sort of be used as centralized auth, I'd make a strong recommendation to use some sort of central auth with the HP OA/ILO. Personally, I'm forklifting my last one out fairly shortly. Peter 2010/11/8 Daniel Rich > Jethro R Binks wrote: > > On Fri, 5 Nov 2010, Daniel Rich wrote: > > > > I have been a rancid user for several years, mostly on Cisco and Foundry > devices. One of our admins walked into my cube this morning and asked > about using it on other types of devices and I wanted to see if anyone > had beat me to it before I spent the next few weeks fiddling with the > code to make it do what I want... :-) > > Has anyone attempted (or more importantly succeeded) in getting rancid > working with any of the following? > > * HP On-Board Administrator (controller for their blade chassis, > also contains the switch configs) > > > Which product do you mean exactly here? We have c7000 blade chassis, > although the server team chose the bladenetworks GbE switches rather than > the real Cisco blade switch offering, but it is managed completely > separately from the blade chassis. > > > > HP Onboard Administrator is the chassis administrator interface. It allows > you to manage and configure the enclosed blades, switches, SAN hardware, > etc. It has an ssh interface that allows you to access the configuration > that would be well suited for use with rancid. > > http://h18000.www1.hp.com/products/blades/components/onboard/index.html > > I should mention, I don't deal with OA or ILO myself, I'm just going to be > the one attempting to build a rancid interface to it if I can't find anyone > else who has already tried. > > > * HP ILO > > > What configuration does the iLO have that it is worth rancid pulling? > > > > I believe the big thing for us is the user authentication config. But I > know that there are other bits that we would like to both track and be able > to update using some sort of config management system, rancid being one > possibility. > > > * Network Appliance Filers > > All of the above have a CLI interface that is similar to a routers, it's > just a matter of getting the right commands into the scripts - I hope. > > Thanks! > > > > > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" "Are you sure, sir? > | It means changing the bulb in the sign..." > | - Red Dwarf (BBC) > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > -- Peter Serwe http://truthlightway.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.serwe at gmail.com Tue Nov 9 05:33:53 2010 From: peter.serwe at gmail.com (Peter Serwe) Date: Mon, 8 Nov 2010 21:33:53 -0800 Subject: [rancid] Nortel and CTRL+Y menu In-Reply-To: References: Message-ID: Oddly enough for really rare platforms that require specialized methods like that, (i.e.: Log in, execute a backup to a variable file name, then yank it down with ftp/s/scp), I've been doing something more along the lines of building an expect script on the fly and triggering it to run against $targets. Remarkably similar to what rancid would do, but modifying rancid other than relatively minimally challenges my perl skills. Peter 2010/11/8 > Hi, > > we use this patch for backuping nortel baystack routers : > http://www.shrubbery.net/pipermail/rancid-discuss/2009-October/004292.html > > http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091008/5435d62a/attachment.obj > > However, we found that it doesn't backup all the config from the router and > we are planning to implement a backup with TFTP in order to have a complete > backup. > As someone already tried to backup a nortel baystack with TFTP ? Do you > have a script to share ? > > Hope this will help you. > > Mickael GARNIER > > > > > De : matthieu flye > A : > Date : 08/11/2010 13:19 > Objet : [rancid] Nortel and CTRL+Y menu > Envoy? par : rancid-discuss-bounces at shrubbery.net > ------------------------------ > > > > Hi, > > I first apologize for my poor english, I'm french. > I never used mailing lists, so I hope I'm using the good mailing adress... > Here is my problem: > Im using rancid in order to configure Cisco switches and it works pretty > well, but recently we received some Nortel switches like MESU 1860. My > problem is that I can't login on those switch because rancid can't pass this > page : > > ### ### ########### ########## ############# ########### ### > #### ### ############# ############ ############# ########### ### > ##### ### ### ### ### ### ### ### ### > ###### ### ### ### ### ### ### ### ### > ### ### ### ### ### ############ ### ######### ### > ### ### ### ### ### ########### ### ######### ### > ### ###### ### ### ### ### ### ### ### > ### ##### ### ### ### ### ### ### ### > ### #### ############# ### ### ### ########### > ########### > ### ### ########### ### ### ### ########### > ########### > > > Enter Ctrl-Y to begin. > > *************************************************************** > *** Metro Ethernet Services Unit 1860B *** > *** Nortel Networks, Inc. *** > *** Copyright (c) 1996-2009, All Rights Reserved *** > *** SW:REL3.7.0.0 *** > *** (General Availability) *** > *************************************************************** > > After this I have to enter my login and password, and it should be fine > because it's CLI and not a menu with use of arrow keys like I saw on other > mailing list. > > Thank you_______________________________________________ > > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > > > > > > > Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document > que si vous en avez vraiment besoin ! > > > Ce message est confidentiel. > > Sous reserve de tout accord conclu par ecrit entre vous et La Banque > Postale, son contenu ne represente en aucun cas un engagement de la part de > La Banque Postale. > Toute publication, utilisation ou diffusion, meme partielle, doit etre > autorisee prealablement. > > Si vous n'etes pas destinataire de ce message, merci d'en avertir > immediatement l'expediteur. > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > -- Peter Serwe http://truthlightway.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at johnsemail.org Wed Nov 10 19:40:10 2010 From: john at johnsemail.org (John Biederstedt) Date: Wed, 10 Nov 2010 13:40:10 -0600 Subject: [rancid] nslogin for netscaler version 9.x Message-ID: <1289418010.4867.1404639999@webmail.messagingengine.com> I've patched nslogin so it works with netscaler 9.x software. I think it may also work with version 8.x, but I can't really test it. Patch is: 436a437 > -re "$prompt" { break; } 531c532 < set prompt "#" --- > set prompt "#|>" 632c633 < -re "^.+$prompt" { set junk $expect_out(0,string); --- > -re "^.*$prompt" { set junk $expect_out(0,string); I'm running rancid 2.3.3-1 (ubuntu distro) This basically adds the ">" character as the starting point for the system prompt. That's the default prompt when ssh-ing into the netscaler. By leaving the "#" in, commands can be sent the the UNIX shell as well. I'm new to submitting patches to open source software. If there's a better way, I'm all ears (eyes). John -- "We are all geniuses when we dream" - E.M. Cioran -------------- next part -------------- An HTML attachment was scrubbed... URL: From seraor at helenhayeshosp.org Fri Nov 12 16:52:06 2010 From: seraor at helenhayeshosp.org (Serao, Ron) Date: Fri, 12 Nov 2010 11:52:06 -0500 Subject: [rancid] Rancid stopped sending email, almost Message-ID: Good Morning All, I am having a problem with my rancid install and I could use some help with trouble shooting. I have about 20 Cisco switches that it monitors. All but one of these switches is in a 172 subnet. The one odd ball is in a 192 subnet. We noticed that Rancid stopped sending mail notification of changes about three weeks ago. Nothing changed in the switch environment or the rancid box. The switch in the 192 subnet is very seldom changed and much to our surprise when a change was made we got an email from Rancid. We made a change in the 172 subnet as a test to see if an email would follow but none did. We also get emails if we make a change to router.db. Postfix is obviously working. Router.db contains all the hosts, all of which are listed as UP. The CloginRC has all the correct usernames and passwords. I can tell that Rancid is collecting the changes because there is log data in /var/log/rancid. So in summary notification works for the switch in the 192 subnet, and changes to router.db, but not for any of the switches in the 172 subnet. Any thoughts would be welcomed as I have no clue where to go from here. Thank you, Ronald Serao Director, Information Technology Helen Hayes Hospital 845-786-4755 Voice 845-947-4102 Fax IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information, which is, or may be legally privileged or otherwise protected by law from further disclosure.%CRLF%It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute copy or use it or any attachments.%CRLF% Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From iannai29 at gmail.com Fri Nov 12 18:20:04 2010 From: iannai29 at gmail.com (Ian Narcisi) Date: Fri, 12 Nov 2010 12:20:04 -0600 Subject: [rancid] Rancid and Subversion Message-ID: Rancid version: 2.3.4 OS: CentOS 5.5 base (updated) Solution req: To have all router/switch config files from Rancid sent automatically to our centralized svn server ( https://our.svn.server.com/repo(s)). Hello, I have just complied Rancid ./configure --with-svn and have changed the RCSSYS=cvs; export RCSSYS to RCSSYS=svn; export RCSSYS. The question is: how would I go about adding the https://our.svn.server.com/repos path into the rancid.conf? Any hints, suggestions, etc. would be very helpful! Thank you in advance.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From iannai29 at gmail.com Fri Nov 12 18:24:35 2010 From: iannai29 at gmail.com (Ian Narcisi) Date: Fri, 12 Nov 2010 12:24:35 -0600 Subject: [rancid] Fwd: Rancid and Subversion In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Ian Narcisi Date: Fri, Nov 12, 2010 at 12:20 PM Subject: Rancid and Subversion To: rancid-discuss at shrubbery.net Rancid version: 2.3.4 OS: CentOS 5.5 base (updated) Solution req: To have all router/switch config files from Rancid sent automatically to our centralized svn server ( https://our.svn.server.com/repo(s) ). Hello, I have just complied Rancid ./configure --with-svn and have changed the RCSSYS=cvs; export RCSSYS to RCSSYS=svn; export RCSSYS. The question is: how would I go about adding the https://our.svn.server.com/repos path into the rancid.conf? Any hints, suggestions, etc. would be very helpful! Thank you in advance.... -- Ian Narcisi Progressive Rock indie musician Singer/songwriter, drummer, keyboardist www.ianmusic.com http://iannarcisi.blogspot.com/ www.myspace.com/ianmuzic http://www.facebook.com/ian.narcisi?v=info&viewas=703476662 http://twitter.com/IanNarcisi www.last.fm/music/Ian+Narcisi/Weight+Of+The+Words www.last.fm/music/Ian+Narcisi/Feel+No+Evil http://iannarcisi.posterous.com http://www.sonicbids.com/IanNarcisi http://www.networkingmusician.com/profile/IanNarcisi http://www.coloredpeople.net/profile/IanNarcisi http://www.artition.com/profil.php?user=iannai29 http://cyberprmastermind.ning.com/profile/IanNarcisi Reviews: http://www.reviewyou.com/cdreviewblog/ian-narcisi-weight-of-the-words/ http://www.progarchives.com/artist.asp?id=4918#discography http://www.reviewyou.com/cdreviewblog/ian-narcisi-feel-no-evil/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam.korab at gmail.com Fri Nov 12 17:22:57 2010 From: adam.korab at gmail.com (Adam Korab) Date: Fri, 12 Nov 2010 11:22:57 -0600 Subject: [rancid] Rancid stopped sending email, almost In-Reply-To: References: Message-ID: <4CDD77F1.8080806@gmail.com> On 11/12/2010 10:52 AM, Serao, Ron wrote: > Good Morning All, Hello! > So in summary notification works for the switch in the 192 subnet, and > changes to router.db,but not for any of the switchesin the 172 subnet. Are the routers part of the same rancid group? --Adam From heas at shrubbery.net Fri Nov 12 19:24:55 2010 From: heas at shrubbery.net (john heasley) Date: Fri, 12 Nov 2010 19:24:55 +0000 Subject: [rancid] Rancid and Subversion In-Reply-To: References: Message-ID: <20101112192455.GK5680@shrubbery.net> Fri, Nov 12, 2010 at 12:20:04PM -0600, Ian Narcisi: > Rancid version: 2.3.4 > > OS: CentOS 5.5 base (updated) > > Solution req: To have all router/switch config files from Rancid sent > automatically to our centralized svn server ( > https://our.svn.server.com/repo(s)). > > Hello, > > I have just complied Rancid ./configure --with-svn and have changed the > RCSSYS=cvs; export RCSSYS to RCSSYS=svn; export RCSSYS. The question is: how > would I go about adding the https://our.svn.server.com/repos path into the > rancid.conf? it should work by setting rancid.conf:CVSROOT to this path. From adam.korab at gmail.com Fri Nov 12 19:55:03 2010 From: adam.korab at gmail.com (Adam Korab) Date: Fri, 12 Nov 2010 13:55:03 -0600 Subject: [rancid] Rancid stopped sending email, almost In-Reply-To: References: Message-ID: <4CDD9B97.2080408@gmail.com> On 11/12/2010 1:16 PM, Serao, Ron wrote: [answered affirmatively that both routers were in the same rancid group] Ron, first off you'll probably want to reply to the rancid list instead of me directly. Second, can you manually send mail to the alias using sendmail -v or a manual telnet to your SMTP port? What does your maillog report? Assuming it's not a MTA problem, have you looked at what the active rancid log says resulting from a rancid-run after you've made changes to the router(s) you don't get emailed about? Is rancid even picking up the change and bumping the revision number? Can you login to the failing routers with clogin as the rancid user? --Adam From seraor at helenhayeshosp.org Fri Nov 12 19:58:34 2010 From: seraor at helenhayeshosp.org (Serao, Ron) Date: Fri, 12 Nov 2010 14:58:34 -0500 Subject: [rancid] Rancid stopped sending email, almost Message-ID: Hi Adam, Yes we can send mail manually... Rancid is picking up the changes and bumping the rev number. Clogin seems to be working fine as well. It's just very bizarre that it sends email for the 192 subnet, and for changes to router.db, and not the 172 subnet. Ron... -----Original Message----- From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Adam Korab Sent: Friday, November 12, 2010 2:55 PM To: rancid-discuss at shrubbery.net Subject: Re: [rancid] Rancid stopped sending email, almost On 11/12/2010 1:16 PM, Serao, Ron wrote: [answered affirmatively that both routers were in the same rancid group] Ron, first off you'll probably want to reply to the rancid list instead of me directly. Second, can you manually send mail to the alias using sendmail -v or a manual telnet to your SMTP port? What does your maillog report? Assuming it's not a MTA problem, have you looked at what the active rancid log says resulting from a rancid-run after you've made changes to the router(s) you don't get emailed about? Is rancid even picking up the change and bumping the revision number? Can you login to the failing routers with clogin as the rancid user? --Adam _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information, which is, or may be legally privileged or otherwise protected by law from further disclosure.%CRLF%It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute copy or use it or any attachments.%CRLF% Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation. IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information, which is, or may be legally privileged or otherwise protected by law from further disclosure.%CRLF%It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute copy or use it or any attachments.%CRLF% Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation. From heas at shrubbery.net Fri Nov 12 21:14:48 2010 From: heas at shrubbery.net (john heasley) Date: Fri, 12 Nov 2010 21:14:48 +0000 Subject: [rancid] Trouble compiling expect / expect hack In-Reply-To: <329761.55059.qm@web110307.mail.gq1.yahoo.com> References: <329761.55059.qm@web110307.mail.gq1.yahoo.com> Message-ID: <20101112211448.GR5680@shrubbery.net> Thu, Oct 28, 2010 at 02:28:02PM -0700, Adam Coven: > I'm running CentOS 2.6.18-194.17.1.el5PAE > > I downloaded the files from the ftp site: > expect-5.43.0_hack.tar.bz2 > tcl8.3.4.tar.gz > > TCL compiled fine but when I try to compile expect I get: > > exp_chan.c: In function ?ExpInputProc?: > exp_chan.c:193: error: array type has incomplete element type > exp_chan.c:204: error: ?POLLIN? undeclared (first use in this function) > exp_chan.c:204: error: (Each undeclared identifier is reported only once > exp_chan.c:204: error: for each function it appears in.) > exp_chan.c:204: error: ?POLLERR? undeclared (first use in this function) > exp_chan.c:204: error: ?POLLHUP? undeclared (first use in this function) > exp_chan.c:204: error: ?POLLNVAL? undeclared (first use in this function) > exp_chan.c: In function ?expWaitOnAny?: > exp_chan.c:538: warning: passing argument 2 of ?waitpid? from incompatible > pointer type > make: *** [exp_chan.o] Error 1 > > Has anyone come across this and / or knows how I could fix it? this would be caused by a missing include. i've updated the expect tar file to explicitly add the include file in exp_chan.c; i didnt bother to figure out why it worked when I created the tarfile but now fails on linux. From nick at buraglio.com Tue Nov 16 20:59:05 2010 From: nick at buraglio.com (Nick Buraglio) Date: Tue, 16 Nov 2010 14:59:05 -0600 Subject: [rancid] anyone have rancid working for a nexus 5000? Message-ID: I had some issues with the nexus as well and had to make some small changes. I also cleaned out some of the stuff that was causing it to diff every time (mostly flash related stuff). I had to do some similar stuff to the xrrancid script for use with the CRS we had at SuperComputing 2010. Diffs and stuff can be found at http://buraglio.com/dev/viewvc.cgi/ if anyone wants them. nb On Nov 2, 2010, at 1:26 AM, Lee wrote: I've got a work-around :) On 11/1/10, john heasley wrote: Mon, Nov 01, 2010 at 07:40:37PM -0400, Lee: On 11/1/10, john heasley wrote: Mon, Nov 01, 2010 at 02:34:27PM -0400, Lee: On 10/27/10, Lee wrote: rancid log says write(spawn_id=1): broken pipe while executing "send_user -- "$expect_out(buffer)"" invoked from within when trying to get the config from a nexus 5000. The problem turned out to be "show version build-info all" - ie: nexus5000-1# show version build-info all ^ % Invalid command at '^' marker. nexus5000-1# plz report that to cisco. running a command that isnt supported on the platform should not cause it to disconnect the client. I don't think it's a cisco problem. In the above example I did a "clogin nexus5000-1" and then typed in "show version build-info all" at the prompt. Got the error msg & new prompt - no disconnect. you will have to try it with all of the preceeding commands too. did - no problems. Then I remembered that clogin adds a "term len 0" when you give it a list of commands, so did that, repeated the commands again & got the missing newline at the end out the 'show version' output. But no disconnect. ... snip ... I must be especially slow today - what am I looking for? Looking in nexus5000-2.raw shows some extra "^M"s, but it's still the same as my earlier example - no output: plugin^M Core Plugin, Ethernet Plugin^Mnexus5000-2# show license^M^M ^ where the newline? so, show version is missing a newline at the end of it's output. Yes & that's the problem - thanks!! Adding a "term len 60" before the "show version" and a "term len 0" after fixes it. So my commandtable now looks like this: @commandtable = ( {'term no monitor-force' => 'RunCommand'}, {'term len 60' => 'RunCommand'}, # -LR- {'show version' => 'ShowVersion'}, {'term len 0' => 'RunCommand'}, # -LR- {'show version build-info all' => 'ShowVersionBuild'}, Thank you! Lee _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From nick at buraglio.com Tue Nov 16 21:01:20 2010 From: nick at buraglio.com (Nick Buraglio) Date: Tue, 16 Nov 2010 15:01:20 -0600 Subject: [rancid] Alcatel Lucent RANCID In-Reply-To: References: Message-ID: I have cobbled together support (with input/help from several others) for the Alcatel Lucent 77xx platform if anyone is interested. SVN repo can be found here: http://buraglio.com/dev/viewvc.cgi/alurancid/ and the raw scripts that I'm currently using can be found http://buraglio.com/scripts/alurancid/ This can obviously be extended but for now it will grab the config ("admin display-config") and a few environmental details like "show chassis power-supply", "show redundancy synchronization" and "show system information". Please feel free to add this to the RANCID distribution if it's deemed useful. Thanks! nb From nick at buraglio.com Tue Nov 16 20:33:11 2010 From: nick at buraglio.com (Nick Buraglio) Date: Tue, 16 Nov 2010 14:33:11 -0600 Subject: [rancid] Alcatel Lucent RANCID Message-ID: I have cobbled together support (with input/help from several others) for the Alcatel Lucent 77xx platform if anyone is interested. SVN repo can be found here: http://buraglio.com/dev/viewvc.cgi/alurancid/ and the raw scripts that I'm currently using can be found http://buraglio.com/scripts/alurancid/ This can obviously be extended but for now it will grab the config ("admin display-config") and a few environmental details like "show chassis power-supply", "show redundancy synchronization" and "show system information". Please feel free to add this to the RANCID distribution if it's deemed useful. Thanks! nb From gmourani at prival.ca Tue Nov 16 21:44:44 2010 From: gmourani at prival.ca (Gerhard Mourani) Date: Tue, 16 Nov 2010 16:44:44 -0500 Subject: [rancid] Alcatel Lucent RANCID In-Reply-To: References: Message-ID: <4CE2FB4C.2030000@prival.ca> How can we download from your CVS? On 10-11-16 04:01 PM, Nick Buraglio wrote: > I have cobbled together support (with input/help from several others) > for the Alcatel Lucent 77xx platform if anyone is interested. SVN > repo can be found here: http://buraglio.com/dev/viewvc.cgi/alurancid/ > and the raw scripts that I'm currently using can be found > http://buraglio.com/scripts/alurancid/ > This can obviously be extended but for now it will grab the config > ("admin display-config") and a few environmental details like "show > chassis power-supply", "show redundancy synchronization" and "show > system information". Please feel free to add this to the RANCID > distribution if it's deemed useful. > > Thanks! > > nb > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From nick at buraglio.com Tue Nov 16 23:00:29 2010 From: nick at buraglio.com (Nick Buraglio) Date: Tue, 16 Nov 2010 17:00:29 -0600 Subject: [rancid] Alcatel Lucent RANCID In-Reply-To: <4CE2FB4C.2030000@prival.ca> References: <4CE2FB4C.2030000@prival.ca> Message-ID: My first pass guess is that I'll have to enable/configure mod_dav_svn for that to work. I'm likely not going to get to that today but you can get the current scripts from http://buraglio.com/scripts/alurancid/ nb On Tue, Nov 16, 2010 at 3:44 PM, Gerhard Mourani wrote: > How can we download from your CVS? > > On 10-11-16 04:01 PM, Nick Buraglio wrote: >> >> I have cobbled together support (with input/help from several others) >> for the Alcatel Lucent 77xx platform if anyone is interested. ?SVN >> repo can be found here: http://buraglio.com/dev/viewvc.cgi/alurancid/ >> and the raw scripts that I'm currently using can be found >> http://buraglio.com/scripts/alurancid/ >> This can obviously be extended but for now it will grab the config >> ("admin display-config") and a few environmental details like "show >> chassis power-supply", "show redundancy synchronization" and "show >> system information". ?Please feel free to add this to the RANCID >> distribution if it's deemed useful. >> >> Thanks! >> >> nb >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at shrubbery.net >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss > From nabila.lefeuvre at fr.clara.net Wed Nov 17 11:35:22 2010 From: nabila.lefeuvre at fr.clara.net (Nabila Lefeuvre) Date: Wed, 17 Nov 2010 11:35:22 -0000 Subject: [rancid] rancid dell switch Message-ID: <3F1B2849D4466C4382B22A916710D1A30267396C@EXVS02.claranet.local> Hello First sorry for my english witch isn't very good J So I'm using Switch : dell 5316M rancid : 2.3.2 dlogin ( http://www.rickyninja.net/rancid/ ) half the time we have "[0mMore: , Quit: q, One line: " On all the configuration file ( ever line) Have you already met this problem ? Regards Nabila -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Tiarnaigh at imaginegroup.ie Wed Nov 17 11:52:20 2010 From: Michael.Tiarnaigh at imaginegroup.ie (Michael Tiarnaigh) Date: Wed, 17 Nov 2010 11:52:20 -0000 Subject: [rancid] Rancid not collecting for ExtremeXOS switches Message-ID: <0B4E432C64EA8B45A001DD6E1F0E1D72071BB532@dubexc01.imagine.local> Hi all. My apologies if this has been asked before, but I have not as yet found an answer for it if so. I have seen some others with similar issues from trawling through Google searches, but as yet can't find a fix...... I have a bunch of new Extreme XOS switches (250's & 450's) which we're currently adding to our network, and simply cannot get Rancid to poll for them successfully: TowercomTuam.1 # show version Switch : 800216-00-01 0950G-80375 Rev 1.0 BootROM: 1.0.3.5 IMG: 12.3.3.6 Image : ExtremeXOS version 12.3.3.6 v1233b6 by release-manager on Fri Oct 16 20:01:57 PDT 2009 BootROM : 1.0.3.5 We also have a few hundred of the older Summit-48si's which work just fine. The issues I'm seeing with the new ExtremeXos switches are either that I get constant "end of run not found" errors, or the Expect process hangs indefinitely and consumes more and more resources on the server. I have played around with my .cloginrc file and have added the following entries for one switch: add autoenable tctuam-switch.internal.nw 1 add method tctuam-switch.internal.nw ssh add passprompt tctuam-switch.internal.nw "rancidadmin:" add user tctuam-switch.internal.nw rancidadmin add password tctuam-switch.internal.nw ****** I added the add passprompt tctuam-switch.internal.nw "rancidadmin:" part, as it was hanging before this. When I run this through clogin from the command line, it does appear to connect to the switch as normal and I can then interact with it as expected: [rancid at cron /usr/local/libexec/rancid]$ ./clogin tctuam-switch.internal.nw tctuam-switch.internal.nw spawn ssh -c 3des -x -l rancidadmin tctuam-switch.internal.nw Keyboard-interactive authentication Enter password for rancidadmin: ExtremeXOS Copyright (C) 2000-2009 Extreme Networks. All rights reserved. Protected by US Patent Nos: 6,678,248; 6,104,700; 6,766,482; 6,618,388; 6,034,957; 6,859,438; 6,912,592; 6,954,436; 6,977,891; 6,980,550; 6,981,174; 7,003,705; 7,017,082; 7,046,665; 7,126,923; 7,142,509; 7,149,217; 7,152,124; 7,154,861; 7,245,619; 7,245,629; 7,269,135. ======================================================================== ====== Press the or '?' key at any time for completions. Remember to save your configuration changes. TowercomTuam.1 # TowercomTuam.1 # show version Switch : 800216-00-01 0950G-80375 Rev 1.0 BootROM: 1.0.3.5 IMG: 12.3.3.6 Image : ExtremeXOS version 12.3.3.6 v1233b6 by release-manager on Fri Oct 16 20:01:57 PDT 2009 BootROM : 1.0.3.5 TowercomTuam.2 # q Connection to tctuam-switch.internal.nw closed. The issue is however, getting this to run via the rancid-run scripts. Any time I enable this switch to collect via my router.db file, Rancid seems to crumble! Does anyone have any ideas on what I'm missing here? I'm sure others have been through this before and have hit the same frustrations as myself. Thanks in advance for any help offered, Michael. -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Wed Nov 17 22:17:19 2010 From: heas at shrubbery.net (john heasley) Date: Wed, 17 Nov 2010 22:17:19 +0000 Subject: [rancid] Rancid not collecting for ExtremeXOS switches In-Reply-To: <0B4E432C64EA8B45A001DD6E1F0E1D72071BB532@dubexc01.imagine.local> References: <0B4E432C64EA8B45A001DD6E1F0E1D72071BB532@dubexc01.imagine.local> Message-ID: <20101117221718.GX17442@shrubbery.net> Wed, Nov 17, 2010 at 11:52:20AM -0000, Michael Tiarnaigh: > I have a bunch of new Extreme XOS switches (250's & 450's) which we're > currently adding to our network, and simply cannot get Rancid to poll > for them successfully: which version of rancid on what O/S with which version of expect? > TowercomTuam.1 # show version > > Switch : 800216-00-01 0950G-80375 Rev 1.0 BootROM: 1.0.3.5 IMG: > 12.3.3.6 > > > > Image : ExtremeXOS version 12.3.3.6 v1233b6 by release-manager > > on Fri Oct 16 20:01:57 PDT 2009 > > BootROM : 1.0.3.5 > > > > We also have a few hundred of the older Summit-48si's which work just > fine. The issues I'm seeing with the new ExtremeXos switches are either > that I get constant "end of run not found" errors, or the Expect process > hangs indefinitely and consumes more and more resources on the server. > > > > I have played around with my .cloginrc file and have added the following > entries for one switch: > > > > add autoenable tctuam-switch.internal.nw 1 > > add method tctuam-switch.internal.nw ssh > > add passprompt tctuam-switch.internal.nw "rancidadmin:" > > add user tctuam-switch.internal.nw rancidadmin > > add password tctuam-switch.internal.nw ****** > > > > I added the add passprompt tctuam-switch.internal.nw "rancidadmin:" > part, as it was hanging before this. When I run this through clogin from > the command line, it does appear to connect to the switch as normal and > I can then interact with it as expected: > > > > > > [rancid at cron /usr/local/libexec/rancid]$ ./clogin > tctuam-switch.internal.nw > > tctuam-switch.internal.nw > > spawn ssh -c 3des -x -l rancidadmin tctuam-switch.internal.nw > > Keyboard-interactive authentication > > Enter password for rancidadmin: > > ExtremeXOS > > Copyright (C) 2000-2009 Extreme Networks. All rights reserved. > > Protected by US Patent Nos: 6,678,248; 6,104,700; 6,766,482; 6,618,388; > 6,034,957; 6,859,438; 6,912,592; 6,954,436; 6,977,891; 6,980,550; > 6,981,174; 7,003,705; 7,017,082; 7,046,665; 7,126,923; 7,142,509; > 7,149,217; 7,152,124; 7,154,861; 7,245,619; 7,245,629; 7,269,135. > > ======================================================================== > ====== > > > > Press the or '?' key at any time for completions. > > Remember to save your configuration changes. > > > > TowercomTuam.1 # > > TowercomTuam.1 # show version > > Switch : 800216-00-01 0950G-80375 Rev 1.0 BootROM: 1.0.3.5 IMG: > 12.3.3.6 > > > > Image : ExtremeXOS version 12.3.3.6 v1233b6 by release-manager > > on Fri Oct 16 20:01:57 PDT 2009 > > BootROM : 1.0.3.5 > > TowercomTuam.2 # q > > > > Connection to tctuam-switch.internal.nw closed. > > > > > > The issue is however, getting this to run via the rancid-run scripts. > Any time I enable this switch to collect via my router.db file, Rancid > seems to crumble! > > > > > > Does anyone have any ideas on what I'm missing here? I'm sure others > have been through this before and have hit the same frustrations as > myself. > > > > Thanks in advance for any help offered, > > > > Michael. > > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From heas at shrubbery.net Wed Nov 17 23:02:08 2010 From: heas at shrubbery.net (john heasley) Date: Wed, 17 Nov 2010 23:02:08 +0000 Subject: [rancid] rancid dell switch In-Reply-To: <3F1B2849D4466C4382B22A916710D1A30267396C@EXVS02.claranet.local> References: <3F1B2849D4466C4382B22A916710D1A30267396C@EXVS02.claranet.local> Message-ID: <20101117230208.GL17442@shrubbery.net> Wed, Nov 17, 2010 at 11:35:22AM -0000, Nabila Lefeuvre: > half the time we have "[0mMore: , Quit: q, One line: " > > On all the configuration file ( ever line) > > Have you already met this problem ? not on Dell, but i've seen some devices be very confused by "terminal length" of 0 and procduce results like you describe. the terminal length will likely be exchanged when the client connects. From me at falz.net Thu Nov 18 18:39:53 2010 From: me at falz.net (Chris Wopat) Date: Thu, 18 Nov 2010 12:39:53 -0600 Subject: [rancid] RANCID + Mikrotik - request to add to Message-ID: Just wanted to chime in that the patch for Mikrotik support for RANCID discussed here works great: * http://www.shrubbery.net/pipermail/rancid-discuss/2009-April/003817.html However it doesn't patch cleanly against the current rancid version. What's the procedure to get this added to RANCID officially? I put up a page that shows how to manually install it which is simple (add two files, modify rancid-fe): * http://falz.net/tech/rancid-mikrotik The files from the patch here (shebangs are from a FreeBSD system): * http://falz.net/static/rancid/ From chris.kilian at seccomglobal.com Mon Nov 22 02:56:06 2010 From: chris.kilian at seccomglobal.com (Chris Kilian) Date: Mon, 22 Nov 2010 02:56:06 +0000 Subject: [rancid] Rancid + Fortigate Message-ID: <7E954E0B2F4C5B409194643A738074087D1A9A@SG-Exchange.seccom.local> Hi all I am having some issues getting Rancid to work with Fortigate Firewalls, I have done some reading and it looks like some kind of patch has been released but I cant seem to get it sorted, any info you may need to get to help let me know Thanks CK -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.kilian at seccomglobal.com Tue Nov 23 05:24:44 2010 From: chris.kilian at seccomglobal.com (Chris Kilian) Date: Tue, 23 Nov 2010 05:24:44 +0000 Subject: [rancid] Ongoing Issues With Forigate Message-ID: <7E954E0B2F4C5B409194643A738074087D2207@SG-Exchange.seccom.local> Hi all I have successfully managed to get Rancid working with all Cisco and Extreme equipment on the network as well as with SVN etc, I am however still having some ongoing issues with getting it to work with Fortinet, have installed and running Rancid-2.3.6 which I am led to believe is the version with the patch applied already, when running rancid on the Fortigate's I am getting the below in the log files. x.x.x.x fnlogin error: Error: TIMEOUT reached x.x.x.x: missed cmd(s): show full-configuration,get system status 0: found end x.x.x.x End of run not found Looking through the FAQ they are talking about various debugs to try, which I have done as per below. clogin x.x.x.x When doing this it appears that its using telnet to connect, however I need SSH , if I run it with the -d option I receive this error eventually. rancid at syd-nms001:~/bin$ ./clogin -d xxxxxxxxx xxxxxxxx spawn telnet xxxxxxxxxxxxxxxx parent: waiting for sync byte parent: telling child to go ahead parent: now unsynchronized from child spawn: returns {3532} expect: does "" (spawn_id exp6) match regular expression "(Connection refused|Secure connection [^\n\r]+ refused)"? no "(Connection closed by|Connection to [^\n\r]+ closed)"? no expect: does "" (spawn_id exp6) match glob pattern "unknown host\r"? no expect: does "" (spawn_id exp6) match glob pattern "Host is unreachable"? no "No address associated with name"? no "(Host key not found |The authenticity of host .* be established).*(yes/no)?"? no "HOST IDENTIFICATION HAS CHANGED.* (yes/no)?"? no "Offending key for .* (yes/no)?"? no "(denied|Sorry)"? no "Login failed"? no "% (Bad passwords|Authentication failed)"? no "Press any key to continue"? no "Enter Selection: "? no "Last login:"? no "@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no "Enter passphrase.*: "? no "(Username|Login|login|user name|User):"? no "([Pp]assword|passwd|Enter password for [^ :]+):"? no "(>|#| \(enable\))"? no "Login invalid"? no Trying xxxxxxxxxxxxx... expect: does "Trying xxxxxxxxxx...\r\n" (spawn_id exp6) match regular expression "(Connection refused|Secure connection [^\n\r]+ refused)"? no "(Connection closed by|Connection to [^\n\r]+ closed)"? no expect: does "Trying xxxxxxxxxx...\r\n" (spawn_id exp6) match glob pattern "unknown host\r"? no expect: does "Trying xxxxxxxxxx...\r\n" (spawn_id exp6) match glob pattern "Host is unreachable"? no "No address associated with name"? no "(Host key not found |The authenticity of host .* be established).*(yes/no)?"? no "HOST IDENTIFICATION HAS CHANGED.* (yes/no)?"? no "Offending key for .* (yes/no)?"? no "(denied|Sorry)"? no "Login failed"? no "% (Bad passwords|Authentication failed)"? no "Press any key to continue"? no "Enter Selection: "? no "Last login:"? no "@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no "Enter passphrase.*: "? no "(Username|Login|login|user name|User):"? no "([Pp]assword|passwd|Enter password for [^ :]+):"? no "(>|#| \(enable\))"? no "Login invalid"? no expect: timed out Error: TIMEOUT reached I am guessing that this means that the expect is not getting what it is meant to see, however I cant seem to resolve this no matter what I do. If I ssh direct to the host's the following is the output. rancid at rancid-server:~/bin$ ssh admin at hostname The authenticity of host 'hostname (hostname)' can't be established. RSA key fingerprint is xxxxxxxxxxxxxxxxxxxxxxxx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'hostname'(RSA) to the list of known hosts. admin@ hostname's password: hostname # I am really batteling to try and resolve this and any help that anyone can provide would be hugely appreciated. Thanks in advance, also if you need any further information just shout and I will provide. Kind Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From ler762 at gmail.com Tue Nov 23 12:12:21 2010 From: ler762 at gmail.com (Lee) Date: Tue, 23 Nov 2010 08:12:21 -0400 Subject: [rancid] Ongoing Issues With Forigate In-Reply-To: <7E954E0B2F4C5B409194643A738074087D2207@SG-Exchange.seccom.local> References: <7E954E0B2F4C5B409194643A738074087D2207@SG-Exchange.seccom.local> Message-ID: you need ssh and you're getting telnet, so add a add method {theDeviceName} {ssh} at the beginning of your .cloginrc & see if that fixes it. Lee On 11/23/10, Chris Kilian wrote: > Hi all > > I have successfully managed to get Rancid working with all Cisco and Extreme > equipment on the network as well as with SVN etc, I am however still having > some ongoing issues with getting it to work with Fortinet, have installed > and running Rancid-2.3.6 which I am led to believe is the version with the > patch applied already, when running rancid on the Fortigate's I am getting > the below in the log files. > > x.x.x.x fnlogin error: Error: TIMEOUT reached > x.x.x.x: missed cmd(s): show full-configuration,get system status > 0: found end > x.x.x.x End of run not found > > Looking through the FAQ they are talking about various debugs to try, which > I have done as per below. > clogin x.x.x.x > When doing this it appears that its using telnet to connect, however I need > SSH , if I run it with the -d option I receive this error eventually. > > rancid at syd-nms001:~/bin$ ./clogin -d xxxxxxxxx > xxxxxxxx > spawn telnet xxxxxxxxxxxxxxxx > parent: waiting for sync byte > parent: telling child to go ahead > parent: now unsynchronized from child > spawn: returns {3532} > expect: does "" (spawn_id exp6) match regular expression "(Connection > refused|Secure connection [^\n\r]+ refused)"? no > "(Connection closed by|Connection to [^\n\r]+ closed)"? no > expect: does "" (spawn_id exp6) match glob pattern "unknown host\r"? no > expect: does "" (spawn_id exp6) match glob pattern "Host is unreachable"? no > "No address associated with name"? no > "(Host key not found |The authenticity of host .* be > established).*(yes/no)?"? no > "HOST IDENTIFICATION HAS CHANGED.* (yes/no)?"? no > "Offending key for .* (yes/no)?"? no > "(denied|Sorry)"? no > "Login failed"? no > "% (Bad passwords|Authentication failed)"? no > "Press any key to continue"? no > "Enter Selection: "? no > "Last login:"? no > "@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no > "Enter passphrase.*: "? no > "(Username|Login|login|user name|User):"? no > "([Pp]assword|passwd|Enter password for [^ :]+):"? no > "(>|#| \(enable\))"? no > "Login invalid"? no > Trying xxxxxxxxxxxxx... > expect: does "Trying xxxxxxxxxx...\r\n" (spawn_id exp6) match regular > expression "(Connection refused|Secure connection [^\n\r]+ refused)"? no > "(Connection closed by|Connection to [^\n\r]+ closed)"? no > expect: does "Trying xxxxxxxxxx...\r\n" (spawn_id exp6) match glob pattern > "unknown host\r"? no > expect: does "Trying xxxxxxxxxx...\r\n" (spawn_id exp6) match glob pattern > "Host is unreachable"? no > "No address associated with name"? no > "(Host key not found |The authenticity of host .* be > established).*(yes/no)?"? no > "HOST IDENTIFICATION HAS CHANGED.* (yes/no)?"? no > "Offending key for .* (yes/no)?"? no > "(denied|Sorry)"? no > "Login failed"? no > "% (Bad passwords|Authentication failed)"? no > "Press any key to continue"? no > "Enter Selection: "? no > "Last login:"? no > "@[^\r\n]+ ([Pp]assword|passwd|Enter password for [^ :]+):"? no > "Enter passphrase.*: "? no > "(Username|Login|login|user name|User):"? no > "([Pp]assword|passwd|Enter password for [^ :]+):"? no > "(>|#| \(enable\))"? no > "Login invalid"? no > expect: timed out > Error: TIMEOUT reached > > I am guessing that this means that the expect is not getting what it is > meant to see, however I cant seem to resolve this no matter what I do. > > If I ssh direct to the host's the following is the output. > > rancid at rancid-server:~/bin$ ssh admin at hostname > The authenticity of host 'hostname (hostname)' can't be established. > RSA key fingerprint is xxxxxxxxxxxxxxxxxxxxxxxx. > Are you sure you want to continue connecting (yes/no)? yes > Warning: Permanently added 'hostname'(RSA) to the list of known hosts. > admin@ hostname's password: > hostname # > > I am really batteling to try and resolve this and any help that anyone can > provide would be hugely appreciated. > > Thanks in advance, also if you need any further information just shout and I > will provide. > > > Kind Regards > From Michael.Tiarnaigh at imaginegroup.ie Thu Nov 18 10:00:12 2010 From: Michael.Tiarnaigh at imaginegroup.ie (Michael Tiarnaigh) Date: Thu, 18 Nov 2010 10:00:12 -0000 Subject: [rancid] Rancid not collecting for ExtremeXOS switches In-Reply-To: <20101117221718.GX17442@shrubbery.net> References: <0B4E432C64EA8B45A001DD6E1F0E1D72071BB532@dubexc01.imagine.local> <20101117221718.GX17442@shrubbery.net> Message-ID: <0B4E432C64EA8B45A001DD6E1F0E1D72071BB8A8@dubexc01.imagine.local> Sorry, I should have included this with my original mail. Rancid is running on FreeBSD 7.0-STABLE with what appears to be v2.3.2 and expect v5.43.0 Thanks, M -----Original Message----- From: john heasley [mailto:heas at shrubbery.net] Sent: 17 November 2010 22:17 To: Michael Tiarnaigh Cc: rancid-discuss at shrubbery.net Subject: Re: [rancid] Rancid not collecting for ExtremeXOS switches Wed, Nov 17, 2010 at 11:52:20AM -0000, Michael Tiarnaigh: > I have a bunch of new Extreme XOS switches (250's & 450's) which we're > currently adding to our network, and simply cannot get Rancid to poll > for them successfully: which version of rancid on what O/S with which version of expect? > TowercomTuam.1 # show version > > Switch : 800216-00-01 0950G-80375 Rev 1.0 BootROM: 1.0.3.5 IMG: > 12.3.3.6 > > > > Image : ExtremeXOS version 12.3.3.6 v1233b6 by release-manager > > on Fri Oct 16 20:01:57 PDT 2009 > > BootROM : 1.0.3.5 > > > > We also have a few hundred of the older Summit-48si's which work just > fine. The issues I'm seeing with the new ExtremeXos switches are either > that I get constant "end of run not found" errors, or the Expect process > hangs indefinitely and consumes more and more resources on the server. > > > > I have played around with my .cloginrc file and have added the following > entries for one switch: > > > > add autoenable tctuam-switch.internal.nw 1 > > add method tctuam-switch.internal.nw ssh > > add passprompt tctuam-switch.internal.nw "rancidadmin:" > > add user tctuam-switch.internal.nw rancidadmin > > add password tctuam-switch.internal.nw ****** > > > > I added the add passprompt tctuam-switch.internal.nw "rancidadmin:" > part, as it was hanging before this. When I run this through clogin from > the command line, it does appear to connect to the switch as normal and > I can then interact with it as expected: > > > > > > [rancid at cron /usr/local/libexec/rancid]$ ./clogin > tctuam-switch.internal.nw > > tctuam-switch.internal.nw > > spawn ssh -c 3des -x -l rancidadmin tctuam-switch.internal.nw > > Keyboard-interactive authentication > > Enter password for rancidadmin: > > ExtremeXOS > > Copyright (C) 2000-2009 Extreme Networks. All rights reserved. > > Protected by US Patent Nos: 6,678,248; 6,104,700; 6,766,482; 6,618,388; > 6,034,957; 6,859,438; 6,912,592; 6,954,436; 6,977,891; 6,980,550; > 6,981,174; 7,003,705; 7,017,082; 7,046,665; 7,126,923; 7,142,509; > 7,149,217; 7,152,124; 7,154,861; 7,245,619; 7,245,629; 7,269,135. > > ======================================================================== > ====== > > > > Press the or '?' key at any time for completions. > > Remember to save your configuration changes. > > > > TowercomTuam.1 # > > TowercomTuam.1 # show version > > Switch : 800216-00-01 0950G-80375 Rev 1.0 BootROM: 1.0.3.5 IMG: > 12.3.3.6 > > > > Image : ExtremeXOS version 12.3.3.6 v1233b6 by release-manager > > on Fri Oct 16 20:01:57 PDT 2009 > > BootROM : 1.0.3.5 > > TowercomTuam.2 # q > > > > Connection to tctuam-switch.internal.nw closed. > > > > > > The issue is however, getting this to run via the rancid-run scripts. > Any time I enable this switch to collect via my router.db file, Rancid > seems to crumble! > > > > > > Does anyone have any ideas on what I'm missing here? I'm sure others > have been through this before and have hit the same frustrations as > myself. > > > > Thanks in advance for any help offered, > > > > Michael. > > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss From clarke at wardles.org Tue Nov 23 20:10:33 2010 From: clarke at wardles.org (Clarke Wardle) Date: Tue, 23 Nov 2010 20:10:33 -0000 Subject: [rancid] Problems retrieving configs with rancid-run Message-ID: <000001cb8b4a$7cf14ae0$76d3e0a0$@wardles.org> Hi Ronni I have just seen your rancid post about being able to log into a device using the testing script but not with rancid-run http://www.shrubbery.net/pipermail/rancid-discuss/2009-November/004424.html I am also having an issue but in my case its telling me that telnet is timing out Did you manage to get a solution to your problem? Thanks Clarke -------------- next part -------------- An HTML attachment was scrubbed... URL: From pluxton at antracnetworks.com Mon Nov 29 19:44:35 2010 From: pluxton at antracnetworks.com (Patty Luxton) Date: Mon, 29 Nov 2010 11:44:35 -0800 Subject: [rancid] Rancid 2.3.4 with Extreme XOS - Black Diamonds Message-ID: <008501cb8ffd$db195740$914c05c0$@antracnetworks.com> I've seen several posts regarding clogin not working correctly with the 8810s, however, I never saw a solution posted for this problem. So I apologize if this is a duplicate problem surfacing again that has already been solved. We are running rancid version 2.3.4 with expect version 5.43.0-5.1, and have rancid installed on Linux. We have successfully deployed rancid for Cisco, Netscreen, Netscaler, and a few others, including Extreme 48si's with Extremeware on it. However, I am unable to get clogin to work with the Black Diamonds with XOS. It seems as if an extra carriage return is getting submitted, causing nothing to be input for the password, but then the password gets used for the next login attempt: [rancid at lhr2-mgmt-net-01 ~]$ bin/clogin device.name device.name spawn telnet device.name Trying 172.26.15.101... Connected to device.name. Escape character is '^]'. telnet session telnet0 on /dev/ptyb0 login: rancid.user password: Login incorrect login: rancid.password password: Login incorrect login: rancid.password password: Login incorrect Maximum number of login attempts reached! Connection closed by foreign host. Error: Connection closed (telnet): device.name Since our passwords have characters in it, I've tried clearing those out, but it make no difference. I've tried multiple changes to the .cloginrc, including curly brackets around passwords, usernames, and have added the autoenable line. I've even tried to add the login and password prompt arguments to the .cloginrc, but no change. Is there a solution for this problem that I have not seen yet? Thank you, Patty -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.nesbitt at coastmountainbus.com Mon Nov 29 21:11:17 2010 From: kevin.nesbitt at coastmountainbus.com (Nesbitt, Kevin) Date: Mon, 29 Nov 2010 13:11:17 -0800 Subject: [rancid] Ommiting chatty configuration entries on Cisco WLC Message-ID: Hello Folks, I'm hoping one of you fine folks could point me in the direction of how to add a line into the ciscowlc5 script that will omit any lines in the configuration of a Cisco WLC starting with "rogue ap classify". I've added the following line into the ciscwlc5 script which clearly isn't working. Then again, I'm quite the perl noob :) /\s+rogue ap classify+$/ && next; Again, any help is greatly appreciated. Cheers, This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Tue Nov 30 19:49:15 2010 From: heas at shrubbery.net (john heasley) Date: Tue, 30 Nov 2010 19:49:15 +0000 Subject: [rancid] Rancid 2.3.4 with Extreme XOS - Black Diamonds In-Reply-To: <008501cb8ffd$db195740$914c05c0$@antracnetworks.com> References: <008501cb8ffd$db195740$914c05c0$@antracnetworks.com> Message-ID: <20101130194914.GA9994@shrubbery.net> Mon, Nov 29, 2010 at 11:44:35AM -0800, Patty Luxton: > I've seen several posts regarding clogin not working correctly with the > 8810s, however, I never saw a solution posted for this problem. So I > apologize if this is a duplicate problem surfacing again that has already > been solved. > > We are running rancid version 2.3.4 with expect version 5.43.0-5.1, and have > rancid installed on Linux. > > We have successfully deployed rancid for Cisco, Netscreen, Netscaler, and a > few others, including Extreme 48si's with Extremeware on it. > > However, I am unable to get clogin to work with the Black Diamonds with XOS. > > It seems as if an extra carriage return is getting submitted, causing > nothing to be input for the password, but then the password gets used for > the next login attempt: > > > > [rancid at lhr2-mgmt-net-01 ~]$ bin/clogin device.name try clogin -d to what is really being sent for the username. From pluxton at antracnetworks.com Tue Nov 30 22:07:25 2010 From: pluxton at antracnetworks.com (Patty Luxton) Date: Tue, 30 Nov 2010 14:07:25 -0800 Subject: [rancid] Rancid 2.3.4 with Extreme XOS - Black Diamonds In-Reply-To: <20101130194914.GA9994@shrubbery.net> References: <008501cb8ffd$db195740$914c05c0$@antracnetworks.com> <20101130194914.GA9994@shrubbery.net> Message-ID: <002c01cb90da$f8a1ba90$e9e52fb0$@antracnetworks.com> I've attached the output from the clogin -d. Note that the username is lax\blackd.user - radius had been set up on a windoze domain. I've tried using a local login and get the same results. This format is working okay for all our other devices, provided that I put {} around the username in the .cloginrc file, so I'm hoping it's not the username that's the problem. I've seen an online post where you may have seen this problem before - it seems the person having the problem decided to use jlogin instead of clogin. That works for logging in, but then it hangs after it logs in, as if it didn't see the final prompt that it expected. So if I go the jlogin route, I'll need to modify the jlogin script to accommodate this. Thanks in advance for any help you provide. Regards, Patty -----Original Message----- From: john heasley [mailto:heas at shrubbery.net] Sent: Tuesday, November 30, 2010 11:49 AM To: Patty Luxton Cc: rancid-discuss at shrubbery.net Subject: Re: [rancid] Rancid 2.3.4 with Extreme XOS - Black Diamonds Mon, Nov 29, 2010 at 11:44:35AM -0800, Patty Luxton: > I've seen several posts regarding clogin not working correctly with > the 8810s, however, I never saw a solution posted for this problem. > So I apologize if this is a duplicate problem surfacing again that has > already been solved. > > We are running rancid version 2.3.4 with expect version 5.43.0-5.1, > and have rancid installed on Linux. > > We have successfully deployed rancid for Cisco, Netscreen, Netscaler, > and a few others, including Extreme 48si's with Extremeware on it. > > However, I am unable to get clogin to work with the Black Diamonds with XOS. > > It seems as if an extra carriage return is getting submitted, causing > nothing to be input for the password, but then the password gets used > for the next login attempt: > > > > [rancid at lhr2-mgmt-net-01 ~]$ bin/clogin device.name try clogin -d to what is really being sent for the username. -------------- next part -------------- A non-text attachment was scrubbed... Name: lhr2-8810.log Type: application/octet-stream Size: 59739 bytes Desc: not available URL: