From owner-rancid-discuss@shrubbery.net Wed May 1 16:36:51 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g41Gapp05954 for ; Wed, 1 May 2002 16:36:51 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g41GDB810846 for rancid-discuss-outgoing; Wed, 1 May 2002 16:13:11 GMT Received: from tsexch01.int.loudeye.com (nat.34.sea.activate.NET [209.221.170.34]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g41GD7b10830 for ; Wed, 1 May 2002 16:13:07 GMT Received: by tsexch01.int.loudeye.com with Internet Mail Service (5.5.2653.19) id ; Wed, 1 May 2002 09:12:06 -0700 Received: from chub.int.loudeye.com (CHUB [10.200.4.54]) by tsexch01.int.loudeye.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id JFB4QRZB; Wed, 1 May 2002 09:12:04 -0700 From: Fergus Roche To: john heasley Cc: rancid-discuss@shrubbery.net Subject: Re: blogin Timeout In-Reply-To: <20020430221849.K20617@shrubbery.net> References: <1020195721.3982.50.camel@chub.int.loudeye.com> <20020430221234.J20617@shrubbery.net> <20020430221849.K20617@shrubbery.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 01 May 2002 09:13:04 -0700 Message-Id: <1020269584.10552.48.camel@chub.int.loudeye.com> Mime-Version: 1.0 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, 2002-04-30 at 15:18, john heasley wrote: > Tue, Apr 30, 2002 at 10:12:34PM +0000, john heasley: > > > > please try attached. set for rancid-2.2.1 maint rel RSN. > > actually, scratch that comment. you probably want this version; but, > i think the problem is really the case of "Login". the user prompt > its looking for is the regex "(Username|login|user name):". if you > add to .cloginrc: > > add userprompt bay-nr1 {Login:} > > i think this will work. > > i'm interested to know if the case has changed or if we've made a mistake > somewhere along the line and inadvertently changed the regex. > Arrgh..Thanks for the help.I was using add userprompt bay-nr1 {"Login:"} {Login:} works. I also had to add autoenable bay-nr1 1 Once logged in, the older software version on my Accelar does not support most of the commands used in blogin and brancid - I substituted send "config cli more false\r" for send "more off\r" in blogin, and in brancid, bcc is not available and "show config -all" becomes "show config verbose" Unfortunately my troubles do not end there and I am experiencing the premature session termination described by Andrew Partan on Tue, 12 Mar 2002. The .raw file produced by brancid -d shows the output being terminated within 10-20 lines of where it should end. If there is a solution for this I'd love to hear about it. Thanks again, Fergus Roche Loudeye Technlogies From owner-rancid-discuss@shrubbery.net Wed May 1 18:54:06 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g41Is6p07915 for ; Wed, 1 May 2002 18:54:06 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g41IUMT26391 for rancid-discuss-outgoing; Wed, 1 May 2002 18:30:23 GMT Received: from notesmta.nspower.ns.ca (user.emera.com [142.67.28.35]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g41IUIb26383 for ; Wed, 1 May 2002 18:30:19 GMT Subject: Re: blogin Timeout To: rancid-discuss@shrubbery.net X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: andrew.reynolds@nspower.ca Date: Wed, 1 May 2002 15:30:23 -0300 X-MIMETrack: Serialize by Router on NSPNotesMTA/SRV/NSPower(Release 5.0.7 |March 21, 2001) at 05/01/2002 03:30:18 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'd also be interested in knowing if anyone has gotten this to work on a Nortel Passport (Accelar) 8600, with firmware 3.0.2. I can use blogin to run commands, but even after updating brancid to use the correct commands to turn off cli paging and to dump the config, I don't seem to be able to retrieve the config automatically. -- Andrew Reynolds, CCNA Senior Network Analyst Nova Scotia Power andrew.reynolds@nspower.ca (902)428-6508 I'm having problems logging into a Nortel (Accelar 1200) - blogin hangs and times out. I have had the same problem with 2.2b8 and 2.2 on 2 different machines. I am using expect-5.32.2-65, tcl/tk-8.3.3-65 on RH7.2 (2.4.9-31), but have also tried expect-5.24 on mandrake (2.2.14-15) I have tried various combinations of entries in .cloginrc, but always with the same result. Any help would be much appreciated. Thanks, Fergus Roche Loudeye Technologies From owner-rancid-discuss@shrubbery.net Thu May 2 01:57:53 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g421vrp22149 for ; Thu, 2 May 2002 01:57:53 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g421WvB18767 for rancid-discuss-outgoing; Thu, 2 May 2002 01:32:57 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g421Wlv18745; Thu, 2 May 2002 01:32:47 GMT Date: Thu, 2 May 2002 01:32:46 +0000 From: "'john heasley'" To: =?iso-8859-1?Q?Juan_Jos=E9_Mu=F1oz_Martinez?= Cc: rancid-discuss@shrubbery.net Subject: Re: rancid & Procurve 2524 Message-ID: <20020502013246.T21399@shrubbery.net> References: <1D23DFB85346D3118CA400A0C9E9872201985A4C@ALHMAILSRV> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <1D23DFB85346D3118CA400A0C9E9872201985A4C@ALHMAILSRV>; from jmartine@alhsys.com on Wed, Apr 10, 2002 at 03:40:33PM +0200 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk thanks. i'll add this bug to the todo list. hlogin should be able to login to the switch and/or enable when the switch does not require a password. in the mean time, you have a workaround. Wed, Apr 10, 2002 at 03:40:33PM +0200, Juan José Muñoz Martinez: > Hello, sorry for the delay. > > the teo commands are typed in CLI mode through telnet or console, but you > can set the password for operator and administrator through menu options > through (first typing 'menu' command). > > the configuration loks like a cisco device, if you are in menu mode you must > go to CLI mode, if you enter with telnet and the prompt is '>' you must type > enable and enter password if defined to get privileged prompt '#'. > Then to start configuration you must enter comand 'config terminal', now you > get the configuration prompt (config)# and can enter configuration commands. > > password operator > > Here is the sequence of commands and inputs: > > HP ProCurve Switch 2524> en > HP ProCurve Switch 2524# alhambra. > Invalid input: alhambra. > HP ProCurve Switch 2524# pass > Invalid input: pass > HP ProCurve Switch 2524# conf term > HP ProCurve Switch 2524(config)# password operator > New password: ******** > Please retype new password: ********* > Retyped password differs from initially typed password. > HP ProCurve Switch 2524(config)# password manager > New password: ********* > Please retype new password: ********* > HP ProCurve Switch 2524(config)# exit > HP ProCurve Switch 2524# write mem > HP ProCurve Switch 2524# exit > HP ProCurve Switch 2524> exit > Do you want to log out (Y/N)?Y > > > For polling of the switch with rancid add the followin lines to .cloginrc > and router.db: > > .cloginrc > ============= > ... > add password 192.168.1.78 login-pass enable-pass > ... > > router.db > ============= > ... > 192.168.1.78:hp:up > ... > > I expect to learn more about procurve switches command line, I provide you > more information as I get it. > > Best Regards. > > > -----Mensaje original----- > > De: john heasley [mailto:heas@shrubbery.net] > > Enviado el: viernes, 05 de abril de 2002 20:17 > > Para: Juan José Muñoz Martinez > > CC: rancid-discuss@shrubbery.net > > Asunto: Re: rancid & Procurve 2524 > > > > > > Fri, Apr 05, 2002 at 01:53:07PM +0200, Juan José Muñoz Martinez: > > > I've got it. > > > > > > I've configured login password with "password operator" > > command and enable > > > password with "password manager", and then with the line > > "add password > > > > are those part of the configuration? what is their > > significance (so, i > > may make a note in the FAQ/manpage)? > > > > From owner-rancid-discuss@shrubbery.net Thu May 2 22:20:28 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g42MKSp26094 for ; Thu, 2 May 2002 22:20:28 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g42Ls6822710 for rancid-discuss-outgoing; Thu, 2 May 2002 21:54:06 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g42Ls1T22698; Thu, 2 May 2002 21:54:01 GMT Date: Thu, 2 May 2002 14:54:01 -0700 From: john heasley To: Fergus Roche Cc: rancid-discuss@shrubbery.net Subject: Re: blogin Timeout Message-ID: <20020502145401.A15096@shrubbery.net> References: <1020195721.3982.50.camel@chub.int.loudeye.com> <20020430221234.J20617@shrubbery.net> <20020430221849.K20617@shrubbery.net> <1020269584.10552.48.camel@chub.int.loudeye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1020269584.10552.48.camel@chub.int.loudeye.com>; from fergus.roche@loudeye.com on Wed, May 01, 2002 at 09:13:04AM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, May 01, 2002 at 09:13:04AM -0700, Fergus Roche: > > On Tue, 2002-04-30 at 15:18, john heasley wrote: > > Tue, Apr 30, 2002 at 10:12:34PM +0000, john heasley: > > > > > > please try attached. set for rancid-2.2.1 maint rel RSN. > > > > actually, scratch that comment. you probably want this version; but, > > i think the problem is really the case of "Login". the user prompt > > its looking for is the regex "(Username|login|user name):". if you > > add to .cloginrc: > > > > add userprompt bay-nr1 {Login:} > > > > i think this will work. > > > > i'm interested to know if the case has changed or if we've made a mistake > > somewhere along the line and inadvertently changed the regex. > > > > Arrgh..Thanks for the help.I was using add userprompt bay-nr1 {"Login:"} > {Login:} works. I also had to add autoenable bay-nr1 1 > Once logged in, the older software version on my Accelar does not > support most of the commands used in blogin and brancid - I substituted > send "config cli more false\r" for send "more off\r" in blogin, and in > brancid, bcc is not available and "show config -all" becomes "show > config verbose" > Unfortunately my troubles do not end there and I am experiencing the > premature session termination described by Andrew Partan on > Tue, 12 Mar 2002. The .raw file produced by brancid -d shows the output > being terminated within 10-20 lines of where it should end. If there is > a solution for this I'd love to hear about it. afraid i can't find the discussion you mention. can you provide an example collection from the router? like setenv NOPIPE=YES brancid -d router there should be a router.raw file left behind. > Thanks again, > > Fergus Roche > Loudeye Technlogies > > From owner-rancid-discuss@shrubbery.net Thu May 2 22:23:29 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g42MNTp26110 for ; Thu, 2 May 2002 22:23:29 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g42LxJI23365 for rancid-discuss-outgoing; Thu, 2 May 2002 21:59:19 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g42LxDr23351; Thu, 2 May 2002 21:59:13 GMT Date: Thu, 2 May 2002 14:59:13 -0700 From: john heasley To: andrew.reynolds@nspower.ca Cc: rancid-discuss@shrubbery.net Subject: Re: blogin Timeout Message-ID: <20020502145913.B15096@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from andrew.reynolds@nspower.ca on Wed, May 01, 2002 at 03:30:23PM -0300 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, May 01, 2002 at 03:30:23PM -0300, andrew.reynolds@nspower.ca: > > I'd also be interested in knowing if anyone has gotten this to work on a > Nortel Passport (Accelar) 8600, with firmware 3.0.2. I can use blogin to > run commands, but even after updating brancid to use the correct commands > to turn off cli paging and to dump the config, I don't seem to be able to > retrieve the config automatically. are these differences between the platforms or just the newer software? brancid currently runs 'bcc' => "RunCommand", 'show config' => "ShowConfig", 'show config -all' => "ShowConfig", what are the new equivalents? does the bay produce a consistent error for unknown commands like the cisco's "Invalid input detected" such that we could send both sets of commands? does blogin -c 'bcc;show config;show config -all' router work? where does it fail? > -- > Andrew Reynolds, CCNA > Senior Network Analyst > Nova Scotia Power > andrew.reynolds@nspower.ca > (902)428-6508 > > > > > > I'm having problems logging into a Nortel (Accelar 1200) - blogin hangs > and times out. I have had the same problem with 2.2b8 and 2.2 on 2 > different machines. I am using expect-5.32.2-65, tcl/tk-8.3.3-65 on > RH7.2 (2.4.9-31), but have also tried expect-5.24 on mandrake > (2.2.14-15) > I have tried various combinations of entries in .cloginrc, but always > with the same result. Any help would be much appreciated. > > > > > > Thanks, > Fergus Roche > Loudeye Technologies > > From owner-rancid-discuss@shrubbery.net Thu May 2 23:26:56 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g42NQup27662 for ; Thu, 2 May 2002 23:26:56 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g42N2VL01673 for rancid-discuss-outgoing; Thu, 2 May 2002 23:02:31 GMT Received: from unter.encoding.com (unter.loudeye.com [216.10.241.2]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g42N2Qb01655; Thu, 2 May 2002 23:02:26 GMT Received: from chub.int.loudeye.com (cerberus.loudeye.com [209.221.170.2]) by unter.encoding.com (8.10.1/8.10.1) with ESMTP id g42N2BX43851; Thu, 2 May 2002 16:02:11 -0700 (PDT) Subject: Re: blogin Timeout From: Fergus Roche To: john heasley Cc: rancid-discuss@shrubbery.net In-Reply-To: <20020502145401.A15096@shrubbery.net> References: <1020195721.3982.50.camel@chub.int.loudeye.com> <20020430221234.J20617@shrubbery.net> <20020430221849.K20617@shrubbery.net> <1020269584.10552.48.camel@chub.int.loudeye.com> <20020502145401.A15096@shrubbery.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.4.99 Date: 02 May 2002 16:02:11 -0700 Message-Id: <1020380531.2660.66.camel@chub.int.loudeye.com> Mime-Version: 1.0 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, 2002-05-02 at 14:54, john heasley wrote: > > afraid i can't find the discussion you mention. can you provide an > example collection from the router? like > setenv NOPIPE=YES > brancid -d router > there should be a router.raw file left behind. > Using these commands in brancid: %commands=( 'show config' => "ShowConfig", 'show config verbose' => "ShowConfig", 'exit' => "RunCommand" $ brancid -d bay-nr1 executing blogin -t 90 -c"show config;show config verbose;exit" bay-nr1 bay-nr1: missed cmd(s): show config,show config verbose,exit bay-nr1: missed cmd(s): show config,show config verbose,exit bay-nr1: End of run not found bay-nr1: End of run not found ! $ The .raw file contains the full output of show config and show config verbose, but ends approximately 22 lines prematurely: $ tail -20 bay-nr1.raw default-supply disable listen enable poison disable supply enable trigger disable back traffic-filter back back stg 1 faststart disable pathcost 10 priority 128 stp enable back unknown-mac-discard activation disable autolearn disable Connection closed by foreign host. $ $ cat bay-nr1.new !RANCID-CONTENT-TYPE: bay ! $ Let me know if you need the whole .raw file, just the last part seemed relevant. The discussion I was referring to goes as follows: Date: Tue, 12 Mar 2002 15:57:13 -0500 From: Andrew Partan To: Robert Klingsten Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie: Problems with Catalyst On Tue, Mar 12, 2002 at 03:32:27PM -0500, Robert Klingsten wrote: > ummu-cis6513-mr> (enable)Connection to ummu-cis6513-mr.ummu.umich.edu >closed > by remote host. > Connection to ummu-cis6513-mr.ummu.umich.edu closed. Looks like it could be another case of a router being too eager to drop the tcp session and not echoing back the 'quit' rancid sends it first. Rancid sends a 'quit' and then the router should echo that back & then close the tcp session (it should wait for the output to drain before doing the final tcp close). Some routers have bugs and don't do this. I know we had to do a fair amount of expect goo to work around this for the extreme (in xrancid). -asp Thanks, Fergus Roche From owner-rancid-discuss@shrubbery.net Fri May 3 00:25:06 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g430P6p10782 for ; Fri, 3 May 2002 00:25:06 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4300oY08841 for rancid-discuss-outgoing; Fri, 3 May 2002 00:00:51 GMT Received: from notesmta.nspower.ns.ca (user.emera.com [142.67.28.35]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4300eb08811 for ; Fri, 3 May 2002 00:00:40 GMT Subject: Re: blogin Timeout To: rancid-discuss@shrubbery.net X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: andrew.reynolds@nspower.ca Date: Thu, 2 May 2002 21:00:31 -0300 X-MIMETrack: Serialize by Router on NSPNotesMTA/SRV/NSPower(Release 5.0.7 |March 21, 2001) at 05/02/2002 09:00:37 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk >Wed, May 01, 2002 at 03:30:23PM -0300, andrew.reynolds@nspower.ca: >> >> I'd also be interested in knowing if anyone has gotten this to work on a >> Nortel Passport (Accelar) 8600, with firmware 3.0.2. I can use blogin to >> run commands, but even after updating brancid to use the correct commands >> to turn off cli paging and to dump the config, I don't seem to be able to >> retrieve the config automatically. > >are these differences between the platforms or just the newer software? >brancid currently runs > > 'bcc' => "RunCommand", > 'show config' => "ShowConfig", > 'show config -all' => "ShowConfig", > >what are the new equivalents? does the bay produce a consistent error >for unknown commands like the cisco's "Invalid input detected" such >that we could send both sets of commands? > >does blogin -c 'bcc;show config;show config -all' router work? where >does it fail? I had to modify brancid to 'show config' => "ShowConfig", 'show config verbose' => "ShowConfig", In order to get it to sort of run. If I set NOPIP=YES, and run brancid -d router, the .raw output file is complete, but the .new file only has the following text: !RANCID-CONTENT-TYPE: bay ! -- Andrew Reynolds, CCNA Senior Network Analyst Nova Scotia Power andrew.reynolds@nspower.ca (902)428-6508 From owner-rancid-discuss@shrubbery.net Fri May 3 20:28:26 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g43KSQp07815 for ; Fri, 3 May 2002 20:28:26 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43K20N10676 for rancid-discuss-outgoing; Fri, 3 May 2002 20:02:00 GMT Received: from ANLEXCH.CTD.ANL.GOV (anlexch.anl.gov [146.137.222.10]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g43K1tb10666 for ; Fri, 3 May 2002 20:01:56 GMT Received: by ANLEXCH.CTD.ANL.GOV with Internet Mail Service (5.5.2655.55) id ; Fri, 3 May 2002 15:01:50 -0500 Message-ID: From: "Poetzel, Christopher J." To: rancid-discuss@shrubbery.net Subject: Changing a router name Date: Fri, 3 May 2002 15:01:21 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1F2DD.4B6C2F80" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1F2DD.4B6C2F80 Content-Type: text/plain Hello all, I have recently taken the rancid system at my employment and have a question for the group. We are going to be changing the names of a few of our routers that have been monitored with rancid for about 2 months. What I would like to do is to change the name but retain the previous 2 month history for the routers. Has anyone attempted this or is they some easy way to do this that I am missing? The only thought I have had thus far is to rename the old routers base config and the routers cvs ,v file, then add the new router to .cloginrc and rerun rancid. Thanks for any help. Chris Poetzel Argonne National Labratory Network Engineer CCNA 630-252-7431 cpoetzel@anl.gov ------_=_NextPart_001_01C1F2DD.4B6C2F80 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hello all,

 

I have recently taken the rancid system at my = employment and have a question for the group.

We are going to be changing the names of a few of = our routers that have been monitored with rancid for about 2 = months.

What I would like to do is to change the name but = retain the previous 2 month history for the routers.

Has anyone attempted this or is they some easy way = to do this that I am missing?

 

The only thought I have had thus far is to rename = the old routers base config and the routers cvs ,v = file, then add the new

router= to .cloginrc and rerun rancid.

 

Thanks for any help.

 

Chris Poetzel

Argonne National Labratory

Network Engineer

CCNA

 

630-252-7431

cpoetzel@anl.gov<= /o:p>

 

------_=_NextPart_001_01C1F2DD.4B6C2F80-- From owner-rancid-discuss@shrubbery.net Fri May 3 20:47:12 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g43KlCp08646 for ; Fri, 3 May 2002 20:47:12 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43KM4i13137 for rancid-discuss-outgoing; Fri, 3 May 2002 20:22:04 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43KM0B13127; Fri, 3 May 2002 20:22:00 GMT Date: Fri, 3 May 2002 13:22:00 -0700 From: john heasley To: "Poetzel, Christopher J." Cc: rancid-discuss@shrubbery.net Subject: Re: Changing a router name Message-ID: <20020503132159.V10636@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from cpoetzel@anl.gov on Fri, May 03, 2002 at 03:01:21PM -0500 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, May 03, 2002 at 03:01:21PM -0500, Poetzel, Christopher J.: > Hello all, > > I have recently taken the rancid system at my employment and have a question > for the group. > We are going to be changing the names of a few of our routers that have been > monitored with rancid for about 2 months. > What I would like to do is to change the name but retain the previous 2 > month history for the routers. > Has anyone attempted this or is they some easy way to do this that I am > missing? > > The only thought I have had thus far is to rename the old routers base > config and the routers cvs ,v file, then add the new > router to .cloginrc and rerun rancid. this is the _only_ way i know of to retain the history. afaik, cvs provides no way to rename a file or remove/rename a directory. something like % echo "newname:type:up" >> /router.db % cp -p /CVS//configs/oldname,v \ /CVS//configs/newname,v rancid should do a cvs update before running, which will get the newname file fromt he respository. when the name change is complete, remove the old name from /router.db and let rancid clean-up. > Thanks for any help. > > Chris Poetzel > Argonne National Labratory > Network Engineer > CCNA > > 630-252-7431 > cpoetzel@anl.gov > From owner-rancid-discuss@shrubbery.net Sat May 4 00:12:56 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g440Ctp15130 for ; Sat, 4 May 2002 00:12:56 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43NlTS08971 for rancid-discuss-outgoing; Fri, 3 May 2002 23:47:29 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43NlOR08957; Fri, 3 May 2002 23:47:25 GMT Date: Fri, 3 May 2002 16:47:24 -0700 From: john heasley To: Fergus Roche Cc: john heasley , rancid-discuss@shrubbery.net Subject: Re: blogin Timeout Message-ID: <20020503164724.A5674@shrubbery.net> References: <1020195721.3982.50.camel@chub.int.loudeye.com> <20020430221234.J20617@shrubbery.net> <20020430221849.K20617@shrubbery.net> <1020269584.10552.48.camel@chub.int.loudeye.com> <20020502145401.A15096@shrubbery.net> <1020380531.2660.66.camel@chub.int.loudeye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1020380531.2660.66.camel@chub.int.loudeye.com>; from fergus.roche@loudeye.com on Thu, May 02, 2002 at 04:02:11PM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, May 02, 2002 at 04:02:11PM -0700, Fergus Roche: > On Thu, 2002-05-02 at 14:54, john heasley wrote: > > > > > afraid i can't find the discussion you mention. can you provide an > > example collection from the router? like > > setenv NOPIPE=YES > > brancid -d router > > there should be a router.raw file left behind. > > > > Using these commands in brancid: > > %commands=( > 'show config' => "ShowConfig", > 'show config verbose' => "ShowConfig", > 'exit' => "RunCommand" > > > $ brancid -d bay-nr1 > executing blogin -t 90 -c"show config;show config verbose;exit" bay-nr1 > bay-nr1: missed cmd(s): show config,show config verbose,exit > bay-nr1: missed cmd(s): show config,show config verbose,exit > bay-nr1: End of run not found > bay-nr1: End of run not found > ! > $ > > > The .raw file contains the full output of show config and show config > verbose, but ends approximately 22 lines prematurely: > > $ tail -20 bay-nr1.raw > default-supply disable > listen enable > poison disable > supply enable > trigger disable > back > traffic-filter > back > back > stg 1 > faststart disable > pathcost 10 > priority 128 > stp enable > back > unknown-mac-discard > activation disable > autolearn disable hmm. how many lines were cut? blogin is just writting to stdout which is redirected to this file. what i find odd is lack of an error, timeout specifically. could you telnet to the box, enter 'more off' (disable pager), then 'show config' and 'show config verbose', and finally exit. if it doesnt truncate; please send the portion from 'autolearn' on to the unix prompt. > Connection closed by foreign host. > $ > > > $ cat bay-nr1.new > !RANCID-CONTENT-TYPE: bay > ! > $ > > Let me know if you need the whole .raw file, just the last part seemed > relevant. > The discussion I was referring to goes as follows: > > > Date: Tue, 12 Mar 2002 15:57:13 -0500 > From: Andrew Partan > To: Robert Klingsten > Cc: rancid-discuss@shrubbery.net > Subject: Re: Newbie: Problems with Catalyst > On Tue, Mar 12, 2002 at 03:32:27PM -0500, Robert Klingsten wrote: > > ummu-cis6513-mr> (enable)Connection to ummu-cis6513-mr.ummu.umich.edu > >closed > > by remote host. > > Connection to ummu-cis6513-mr.ummu.umich.edu closed. > > Looks like it could be another case of a router being too eager to > drop the tcp session and not echoing back the 'quit' rancid sends > it first. > > Rancid sends a 'quit' and then the router should echo that back & > then close the tcp session (it should wait for the output to drain > before doing the final tcp close). Some routers have bugs and > don't do this. > > I know we had to do a fair amount of expect goo to work around this > for the extreme (in xrancid). > -asp > > Thanks, > > Fergus Roche > > > From owner-rancid-discuss@shrubbery.net Sat May 4 00:20:44 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g440Kip15292 for ; Sat, 4 May 2002 00:20:44 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43Ntm510029 for rancid-discuss-outgoing; Fri, 3 May 2002 23:55:48 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g43NtgK10015; Fri, 3 May 2002 23:55:43 GMT Date: Fri, 3 May 2002 16:55:42 -0700 From: john heasley To: andrew.reynolds@nspower.ca Cc: rancid-discuss@shrubbery.net Subject: Re: blogin Timeout Message-ID: <20020503165542.D5674@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from andrew.reynolds@nspower.ca on Thu, May 02, 2002 at 09:00:31PM -0300 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, May 02, 2002 at 09:00:31PM -0300, andrew.reynolds@nspower.ca: > > > > > >Wed, May 01, 2002 at 03:30:23PM -0300, andrew.reynolds@nspower.ca: > >> > >> I'd also be interested in knowing if anyone has gotten this to work on a > >> Nortel Passport (Accelar) 8600, with firmware 3.0.2. I can use blogin to > >> run commands, but even after updating brancid to use the correct > commands > >> to turn off cli paging and to dump the config, I don't seem to be able > to > >> retrieve the config automatically. > > > >are these differences between the platforms or just the newer software? > >brancid currently runs > > > > 'bcc' => "RunCommand", > > 'show config' => "ShowConfig", > > 'show config -all' => "ShowConfig", > > > >what are the new equivalents? does the bay produce a consistent error > >for unknown commands like the cisco's "Invalid input detected" such > >that we could send both sets of commands? > > > >does blogin -c 'bcc;show config;show config -all' router work? where > >does it fail? > > I had to modify brancid to > > 'show config' => "ShowConfig", > 'show config verbose' => "ShowConfig", > > In order to get it to sort of run. If I set NOPIP=YES, and run brancid -d > router, the .raw output file is complete, but the .new file only has the > following text: > > !RANCID-CONTENT-TYPE: bay > ! i'd guess that this is a login problem or that blogin is failing to run the commands properly. try blogin -c 'bcc;show config;show config verbose' router it should run all three commands (whatever bcc is/does). From owner-rancid-discuss@shrubbery.net Sat May 4 00:39:13 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g440dDp16463 for ; Sat, 4 May 2002 00:39:13 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g440ENB12403 for rancid-discuss-outgoing; Sat, 4 May 2002 00:14:23 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g440DjP12318; Sat, 4 May 2002 00:13:45 GMT Date: Fri, 3 May 2002 17:13:44 -0700 From: john heasley To: rancid-announce@guelah.shrubbery.net, rancid-discuss@guelah.shrubbery.net Subject: rancid 2.2.1 Message-ID: <20020503171344.B10636@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk i've made rancid-2.2.1 available for ftp from ftp.shrubbery.net:/pub/rancid *** if you make use of the looking glass (lg) scripts that come with rancid, PLEASE upgrade. with some versions of solaris' bourne shell, someone with access to the looking glass could run arbitrary commands. i know that this is not a problem under netbsd, but do not know about any other operating systems whose bourne shell might be from source similar to solaris. 2.2.1 rancid: npe400 cpu eeprom info o/p format changed in 12.0.21S1 - spotted by tom campbell fix problem in *login where if there was a login failure we would try to disconnect gracefully (albeit incorrectly). writing to the half-closed socket would not return an error (at least on some platform/expect combinations or even consistently) and expect would hang. add device name to diff mail subject when -r is specified add -m option to do-diffs and control_rancid to allow specific mail recipient. intended for use with -r to trigger diffs off specific events. router.db(5): note that PIX is a 'cisco' - thank kris gulka *login: match openssh prompt for host key to ip key mismatch rancid: add disk/slot2 rancid: 12.2 show c7200 o/p for midplane changed lg: use table inet.0 terse for sh ip route on juniper instead of forwarding-table destination rancid: 12.0S(21) added "FRU" field in show diagbus output. Also look for a couple more things in some show diag output and sort the output a bit better. Also look for 'controler' (cisco can't always spell - thanks to Terry Kennedy for spotting the misspelling). lg: filter ["`'] from args rancid: fix username secret filtering alogin: misplaced brace caused improper return from proc login relax the check ping and traceroute check of hostname arguments such that non-fqdn hosts are allowed. ie: just check that arg chars are valid dns chars and leave the resolve errors to the router. Add initial support for Force10. From owner-rancid-discuss@shrubbery.net Sat May 4 00:41:05 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g440f4p16672 for ; Sat, 4 May 2002 00:41:04 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g440G8b12648 for rancid-discuss-outgoing; Sat, 4 May 2002 00:16:09 GMT Received: from tsexch01.int.loudeye.com (nat.34.sea.activate.NET [209.221.170.34]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g440G3b12632; Sat, 4 May 2002 00:16:03 GMT Received: by tsexch01.int.loudeye.com with Internet Mail Service (5.5.2653.19) id ; Fri, 3 May 2002 17:15:05 -0700 Message-ID: From: Fergus Roche To: "'john heasley '" Cc: "'rancid-discuss@shrubbery.net '" Subject: RE: blogin Timeout Date: Fri, 3 May 2002 17:15:03 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > > On Thu, 2002-05-02 at 14:54, john heasley wrote: > > > > > > > > afraid i can't find the discussion you mention. can you provide an > > > example collection from the router? like > > > setenv NOPIPE=YES > > > brancid -d router > > > there should be a router.raw file left behind. > > > > > > > Using these commands in brancid: > > > > %commands=( > > 'show config' => "ShowConfig", > > 'show config verbose' => "ShowConfig", > > 'exit' => "RunCommand" > > > > > > $ brancid -d bay-nr1 > > executing blogin -t 90 -c"show config;show config verbose;exit" bay-nr1 > > bay-nr1: missed cmd(s): show config,show config verbose,exit > > bay-nr1: missed cmd(s): show config,show config verbose,exit > > bay-nr1: End of run not found > > bay-nr1: End of run not found > > ! > > $ > > > > > > The .raw file contains the full output of show config and show config > > verbose, but ends approximately 22 lines prematurely: > > > > $ tail -20 bay-nr1.raw > > default-supply disable > > listen enable > > poison disable > > supply enable > > trigger disable > > back > > traffic-filter > > back > > back > > stg 1 > > faststart disable > > pathcost 10 > > priority 128 > > stp enable > > back > > unknown-mac-discard > > activation disable > > autolearn disable > >hmm. how many lines were cut? blogin is just writting to stdout which >is redirected to this file. what i find odd is lack of an error, >timeout >specifically. > >could you telnet to the box, enter 'more off' (disable pager), then >'show config' and 'show config verbose', and finally exit. if it >doesnt truncate; please send the portion from 'autolearn' on to the >unix prompt. > It doesn't truncate when I log in and run the commands manually. Heres the end part that is missed when using brancid. autolearn disable autolearn-mode one-shot default-autolearn-monitor monitor default-autolearn-priority high lock-autolearn-mac disable violation-downport disable violation-logging enable violation-sendtrap disable back back ethernet 7/14 high-priority false linktrap enable lock false state enable auto-negotiate enable perform-tagging disable tagged-frames-discard disable ip proxy disable arp-response enable l3-igmp last-memb-query-int 1 bay-nr1# exit Connection closed by foreign host. $ From owner-rancid-discuss@shrubbery.net Sat May 4 01:01:02 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g44112p17236 for ; Sat, 4 May 2002 01:01:02 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g440a9d15166 for rancid-discuss-outgoing; Sat, 4 May 2002 00:36:09 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g440a4U15152; Sat, 4 May 2002 00:36:04 GMT Date: Fri, 3 May 2002 17:36:04 -0700 From: "'john heasley '" To: Fergus Roche Cc: rancid-discuss@shrubbery.net Subject: Re: blogin Timeout Message-ID: <20020503173604.C12329@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from fergus.roche@loudeye.com on Fri, May 03, 2002 at 05:15:03PM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, May 03, 2002 at 05:15:03PM -0700, Fergus Roche: > > > On Thu, 2002-05-02 at 14:54, john heasley wrote: > >hmm. how many lines were cut? blogin is just writting to stdout which > >is redirected to this file. what i find odd is lack of an error, > >timeout > >specifically. > > > >could you telnet to the box, enter 'more off' (disable pager), then > >'show config' and 'show config verbose', and finally exit. if it > >doesnt truncate; please send the portion from 'autolearn' on to the > >unix prompt. > > > > It doesn't truncate when I log in and run the commands manually. Heres the > end part that is missed when using brancid. > > autolearn disable > autolearn-mode one-shot > default-autolearn-monitor monitor > default-autolearn-priority high > lock-autolearn-mac disable > violation-downport disable > violation-logging enable > violation-sendtrap disable > back > back > ethernet 7/14 > high-priority false > linktrap enable > lock false > state enable > auto-negotiate enable > perform-tagging disable > tagged-frames-discard disable > ip > proxy disable > arp-response enable > l3-igmp > last-memb-query-int 1 > > bay-nr1# exit > Connection closed by foreign host. > $ something must be buggered in blogin's matching. please grab a local copy of blogin, edit it; in 'proc run_commands' just before the line send "more off\r" add 'exp_internal 1; log_user 1;' then run blogin blogin -c 'bcc;show config;show config verbose' >& log and send the log file to me. if you can give me telnet access to the/a box, that would be much easier. From owner-rancid-discuss@shrubbery.net Thu May 9 01:25:02 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g491P2p09105 for ; Thu, 9 May 2002 01:25:02 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g490qWu19133 for rancid-discuss-outgoing; Thu, 9 May 2002 00:52:32 GMT Received: from ANLEXCH.CTD.ANL.GOV (anlexch.anl.gov [146.137.222.10]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g490qSb19129 for ; Thu, 9 May 2002 00:52:28 GMT Received: by ANLEXCH.CTD.ANL.GOV with Internet Mail Service (5.5.2655.55) id ; Wed, 8 May 2002 19:52:07 -0500 Message-ID: From: "Poetzel, Christopher J." To: rancid-discuss@shrubbery.net Subject: Status Locally Modified Date: Wed, 8 May 2002 19:52:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1F6F3.BBC23F80" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1F6F3.BBC23F80 Content-Type: text/plain I am having an issue where every time rancid runs(do-diffs) I get messages saying that my router.db file has changed, and it hasn't. I ran the cvs status command on it and got the following. [rancid@athena Switches]$ cvs status router.db =================================================================== File: router.db Status: Locally Modified I recently changed the names of some of my routers when this happened. If anyone has any thoughts of how to get the status back to UP-to-Date I would really appreciate it. thanks, chris poetzel ------_=_NextPart_001_01C1F6F3.BBC23F80 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

I am having an issue where every = time rancid runs(do-diffs) I get messages saying that my router.db = file

has changed, and it hasn't.  I ran the cvs status command on it = and got the following.

 

=

 

=

[rancid@athena Switches]$ cvs = status router.db

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

File: router.db       &nb= sp; Status: Locally Modified

 

=

 

=

I recently changed the names of = some of my routers when this happened.  = If anyone has any thoughts of how to get the status = back

to= UP-to-Date I would really appreciate = it.

 

=

 

=

thanks,

 

=

chris poetzel

 

------_=_NextPart_001_01C1F6F3.BBC23F80-- From owner-rancid-discuss@shrubbery.net Thu May 9 01:45:40 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g491jdp13015 for ; Thu, 9 May 2002 01:45:39 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g491H1i19666 for rancid-discuss-outgoing; Thu, 9 May 2002 01:17:01 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g491Gvg19661; Thu, 9 May 2002 01:16:57 GMT Date: Thu, 9 May 2002 01:16:56 +0000 From: john heasley To: "Poetzel, Christopher J." Cc: rancid-discuss@shrubbery.net Subject: Re: Status Locally Modified Message-ID: <20020509011656.A19270@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from cpoetzel@anl.gov on Wed, May 08, 2002 at 07:52:03PM -0500 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, May 08, 2002 at 07:52:03PM -0500, Poetzel, Christopher J.: > I am having an issue where every time rancid runs(do-diffs) I get messages > saying that my router.db file > has changed, and it hasn't. I ran the cvs status command on it and got the > following. > > > [rancid@athena Switches]$ cvs status router.db > =================================================================== > File: router.db Status: Locally Modified > > > I recently changed the names of some of my routers when this happened. If > anyone has any thoughts of how to get the status back > to UP-to-Date I would really appreciate it. > > > thanks, > > chris poetzel if this file gets modified (add/delete/rename a device), rancid should commit the file after it show you the diff of the file. if it isnt committed when rancid runs, then its having some sort of problem with the commit which should appear in the log file. if nothing appears there, please see the CVS section of the FAQ. From owner-rancid-discuss@shrubbery.net Thu May 9 14:49:27 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49EnRp18090 for ; Thu, 9 May 2002 14:49:27 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49EK6F09722 for rancid-discuss-outgoing; Thu, 9 May 2002 14:20:07 GMT Received: from triton.xo.com (triton.nextlink.net [208.234.218.106]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49EJxb09681; Thu, 9 May 2002 14:19:59 GMT Received: from txplanex401.internal.nextlink.net (formal.nextlink.net [208.234.219.192]) by triton.xo.com (Switch-2.0.1/8.9.3) with ESMTP id g49EJoR21531; Thu, 9 May 2002 09:19:50 -0500 (CDT) Received: by txplanex401.internal.nextlink.net with Internet Mail Service (5.5.2653.19) id ; Thu, 9 May 2002 09:19:47 -0500 Message-ID: <1F78ED058E0BD611B71400508BCF9F890197B69A@txplanexch4.internal.nextlink.net> From: "Elliott, Andrew" To: "'john heasley'" , "Poetzel, Christopher J." Cc: rancid-discuss@shrubbery.net Subject: RE: Status Locally Modified Date: Thu, 9 May 2002 09:19:45 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk [rancid@athena Switches]$ cvs commit router.db -andrew -----Original Message----- From: john heasley [mailto:heas@shrubbery.net] Sent: Wednesday, May 08, 2002 9:17 PM To: Poetzel, Christopher J. Cc: rancid-discuss@shrubbery.net Subject: Re: Status Locally Modified Wed, May 08, 2002 at 07:52:03PM -0500, Poetzel, Christopher J.: > I am having an issue where every time rancid runs(do-diffs) I get messages > saying that my router.db file > has changed, and it hasn't. I ran the cvs status command on it and got the > following. > > > [rancid@athena Switches]$ cvs status router.db > =================================================================== > File: router.db Status: Locally Modified > > > I recently changed the names of some of my routers when this happened. If > anyone has any thoughts of how to get the status back > to UP-to-Date I would really appreciate it. > > > thanks, > > chris poetzel if this file gets modified (add/delete/rename a device), rancid should commit the file after it show you the diff of the file. if it isnt committed when rancid runs, then its having some sort of problem with the commit which should appear in the log file. if nothing appears there, please see the CVS section of the FAQ. From owner-rancid-discuss@shrubbery.net Thu May 9 19:30:08 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49JU8p01320 for ; Thu, 9 May 2002 19:30:08 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49J0lS22917 for rancid-discuss-outgoing; Thu, 9 May 2002 19:00:47 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49J0XQ22704; Thu, 9 May 2002 19:00:33 GMT Date: Thu, 9 May 2002 12:00:33 -0700 From: "'john heasley'" To: "Elliott, Andrew" Cc: "Poetzel, Christopher J." , rancid-discuss@shrubbery.net Subject: Re: Status Locally Modified Message-ID: <20020509120032.O23317@shrubbery.net> References: <1F78ED058E0BD611B71400508BCF9F890197B69A@txplanexch4.internal.nextlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1F78ED058E0BD611B71400508BCF9F890197B69A@txplanexch4.internal.nextlink.net>; from AElliott@xo.com on Thu, May 09, 2002 at 09:19:45AM -0500 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, May 09, 2002 at 09:19:45AM -0500, Elliott, Andrew: > [rancid@athena Switches]$ cvs commit router.db > > > -andrew i guess i'm interested in how it got to this state. only way it should be possible is if the file were modified between runs. that is, given folks' confusion with cvs, i'd prefer that rancid take of it and it should have. so, if i've buggered it, i would like to know what happened so i can fix it. > -----Original Message----- > From: john heasley [mailto:heas@shrubbery.net] > Sent: Wednesday, May 08, 2002 9:17 PM > To: Poetzel, Christopher J. > Cc: rancid-discuss@shrubbery.net > Subject: Re: Status Locally Modified > > > Wed, May 08, 2002 at 07:52:03PM -0500, Poetzel, Christopher J.: > > I am having an issue where every time rancid runs(do-diffs) I get messages > > saying that my router.db file > > has changed, and it hasn't. I ran the cvs status command on it and got > the > > following. > > > > > > [rancid@athena Switches]$ cvs status router.db > > =================================================================== > > File: router.db Status: Locally Modified > > > > > > I recently changed the names of some of my routers when this happened. If > > anyone has any thoughts of how to get the status back > > to UP-to-Date I would really appreciate it. > > > > > > thanks, > > > > chris poetzel > > if this file gets modified (add/delete/rename a device), rancid should > commit the file after it show you the diff of the file. if it isnt > committed when rancid runs, then its having some sort of problem with > the commit which should appear in the log file. > > if nothing appears there, please see the CVS section of the FAQ. From owner-rancid-discuss@shrubbery.net Thu May 9 19:36:20 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49JaJp02577 for ; Thu, 9 May 2002 19:36:19 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49J7Pp24542 for rancid-discuss-outgoing; Thu, 9 May 2002 19:07:25 GMT Received: from triton.xo.com (triton.nextlink.net [208.234.218.106]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49J7Kb24533; Thu, 9 May 2002 19:07:20 GMT Received: from txplanex402.internal.nextlink.net (formal.nextlink.net [208.234.219.192]) by triton.xo.com (Switch-2.0.1/8.9.3) with ESMTP id g49J7JR11819; Thu, 9 May 2002 14:07:19 -0500 (CDT) Received: by txplanex402.internal.nextlink.net with Internet Mail Service (5.5.2653.19) id ; Thu, 9 May 2002 14:07:17 -0500 Message-ID: <1F78ED058E0BD611B71400508BCF9F890197B6A3@txplanexch4.internal.nextlink.net> From: "Elliott, Andrew" To: "'john heasley'" , "Elliott, Andrew" Cc: "Poetzel, Christopher J." , rancid-discuss@shrubbery.net Subject: RE: Status Locally Modified Date: Thu, 9 May 2002 14:07:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk >i guess i'm interested in how it got to this state. only way >it should be possible is if the file were modified between runs. > >that is, given folks' confusion with cvs, i'd prefer that rancid >take of it and it should have. so, if i've buggered it, i would >like to know what happened so i can fix it. I have had the same problem and the same question. Numerous times I have had rancid report various problems, and the files are always showing a "Locally Modified" status. I have ranted to the others (only a small handful of admins) about how to use cvs, and everyone claims that they have always done it the right way. It remains a mystery to this day... (I still think it is human error :-P ) -andrew From owner-rancid-discuss@shrubbery.net Thu May 9 19:36:29 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49JaSp02603 for ; Thu, 9 May 2002 19:36:28 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49J7Zc24555 for rancid-discuss-outgoing; Thu, 9 May 2002 19:07:35 GMT Received: from mailhost2.reliant.com (201.RELIANT.COM [158.81.251.201]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49J7Ub24548; Thu, 9 May 2002 19:07:30 GMT Received: from rriexcon01.services.reinternal.com (mailhost.NORAM.COM [10.51.107.25]) by mailhost2.reliant.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g49J7OW24600; Thu, 9 May 2002 14:07:24 -0500 (CDT) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Thu, 9 May 2002 14:07:24 -0500 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Status Locally Modified X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Thu, 9 May 2002 14:07:23 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Status Locally Modified Thread-Index: AcH3jEHTGGW6TjkUT32QkQEnRkyr9AAACeBw From: "Zhang, Anchi" To: "john heasley" , "Elliott, Andrew" Cc: "Poetzel, Christopher J." , X-OriginalArrivalTime: 09 May 2002 19:07:24.0044 (UTC) FILETIME=[C083F4C0:01C1F78C] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g49J7Vb24549 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I run do-diffs once a day and I modify router.db whenever a new device is added to the network. I have never had the need to run cvs commit router.db. Anchi -----Original Message----- From: 'john heasley' [mailto:heas@shrubbery.net] Sent: Thursday, May 09, 2002 2:01 PM To: Elliott, Andrew Cc: Poetzel, Christopher J.; rancid-discuss@shrubbery.net Subject: Re: Status Locally Modified Thu, May 09, 2002 at 09:19:45AM -0500, Elliott, Andrew: > [rancid@athena Switches]$ cvs commit router.db > > > -andrew i guess i'm interested in how it got to this state. only way it should be possible is if the file were modified between runs. that is, given folks' confusion with cvs, i'd prefer that rancid take of it and it should have. so, if i've buggered it, i would like to know what happened so i can fix it. > -----Original Message----- > From: john heasley [mailto:heas@shrubbery.net] > Sent: Wednesday, May 08, 2002 9:17 PM > To: Poetzel, Christopher J. > Cc: rancid-discuss@shrubbery.net > Subject: Re: Status Locally Modified > > > Wed, May 08, 2002 at 07:52:03PM -0500, Poetzel, Christopher J.: > > I am having an issue where every time rancid runs(do-diffs) I get messages > > saying that my router.db file > > has changed, and it hasn't. I ran the cvs status command on it and got > the > > following. > > > > > > [rancid@athena Switches]$ cvs status router.db > > =================================================================== > > File: router.db Status: Locally Modified > > > > > > I recently changed the names of some of my routers when this happened. If > > anyone has any thoughts of how to get the status back > > to UP-to-Date I would really appreciate it. > > > > > > thanks, > > > > chris poetzel > > if this file gets modified (add/delete/rename a device), rancid should > commit the file after it show you the diff of the file. if it isnt > committed when rancid runs, then its having some sort of problem with > the commit which should appear in the log file. > > if nothing appears there, please see the CVS section of the FAQ. From owner-rancid-discuss@shrubbery.net Thu May 9 19:52:05 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g49Jq5p05363 for ; Thu, 9 May 2002 19:52:05 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49JNEj28407 for rancid-discuss-outgoing; Thu, 9 May 2002 19:23:14 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g49JMgG28393; Thu, 9 May 2002 19:22:42 GMT Date: Thu, 9 May 2002 12:22:42 -0700 From: "'john heasley'" To: "Elliott, Andrew" Cc: "Poetzel, Christopher J." , rancid-discuss@shrubbery.net Subject: Re: Status Locally Modified Message-ID: <20020509122242.Q23317@shrubbery.net> References: <1F78ED058E0BD611B71400508BCF9F890197B6A3@txplanexch4.internal.nextlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1F78ED058E0BD611B71400508BCF9F890197B6A3@txplanexch4.internal.nextlink.net>; from AElliott@xo.com on Thu, May 09, 2002 at 02:07:16PM -0500 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, May 09, 2002 at 02:07:16PM -0500, Elliott, Andrew: > > >i guess i'm interested in how it got to this state. only way > >it should be possible is if the file were modified between runs. > > > >that is, given folks' confusion with cvs, i'd prefer that rancid > >take of it and it should have. so, if i've buggered it, i would > >like to know what happened so i can fix it. > > I have had the same problem and the same question. > > Numerous times I have had rancid report various problems, and the files are > always showing a "Locally Modified" status. I have ranted to the others > (only a small handful of admins) about how to use cvs, and everyone claims > that they have always done it the right way. It remains a mystery to this > day... (I still think it is human error :-P ) > > -andrew ok, human error it may be. in the future if folks run into this and can recall the series of events that led up to it, i'd like to hear about it. thanks. From owner-rancid-discuss@shrubbery.net Fri May 10 17:53:41 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4AHrep21157 for ; Fri, 10 May 2002 17:53:40 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4AHKtd09089 for rancid-discuss-outgoing; Fri, 10 May 2002 17:20:55 GMT Received: from netservice.netcom.utah.edu (netservice.netcom.utah.edu [155.99.46.16]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4AHKlb08997; Fri, 10 May 2002 17:20:47 GMT X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Router/Switch name globbing? Date: Fri, 10 May 2002 11:16:07 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Router/Switch name globbing? Thread-Index: AcH3js5rcEeyI9u1TpW4zotd8AdoAAAt/pYQ From: "Dave Packham" To: "john heasley" Cc: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g4AHKmb09009 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Can I glob the -r "devicename" Ex: -r ds1* Dave Packham From owner-rancid-discuss@shrubbery.net Fri May 10 18:00:20 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4AI0Jp21243 for ; Fri, 10 May 2002 18:00:19 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4AHUi111322 for rancid-discuss-outgoing; Fri, 10 May 2002 17:30:45 GMT Received: from netservice.netcom.utah.edu (netservice.netcom.utah.edu [155.99.46.16]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4AHUbb11256; Fri, 10 May 2002 17:30:37 GMT X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Easy way? Date: Fri, 10 May 2002 11:26:13 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Easy way? Thread-Index: AcH3js5rcEeyI9u1TpW4zotd8AdoAAAt/pYQAABTxcA= From: "Dave Packham" To: "Dave Packham" , "john heasley" Cc: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g4AHUbb11258 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Is there an easy way to eliminate the "show flash" "show dir" etc commands so I only get the IOS conf changes? And not the file date updates time or other less useful info? Dave Packham From owner-rancid-discuss@shrubbery.net Fri May 10 20:41:45 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4AKfjp25866 for ; Fri, 10 May 2002 20:41:45 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4AKBrS22780 for rancid-discuss-outgoing; Fri, 10 May 2002 20:11:53 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4AKBnN22775; Fri, 10 May 2002 20:11:49 GMT Date: Fri, 10 May 2002 13:11:49 -0700 From: john heasley To: Dave Packham Cc: rancid-discuss@shrubbery.net Subject: Re: Router/Switch name globbing? Message-ID: <20020510131148.B20208@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from dave.packham@utah.edu on Fri, May 10, 2002 at 11:16:07AM -0600 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, May 10, 2002 at 11:16:07AM -0600, Dave Packham: > Can I glob the -r "devicename" > > Ex: -r ds1* yes and no. the shell will expand it, so yes. but, the -r option only takes 1 argument. so, control_rancid will return an error (probably unknown group) if the glob expands to more than one device. also, it does not handle paths, eg: group/configs/device, just a device name. From owner-rancid-discuss@shrubbery.net Fri May 10 20:46:22 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g4AKkMp26099 for ; Fri, 10 May 2002 20:46:22 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4AKGim24075 for rancid-discuss-outgoing; Fri, 10 May 2002 20:16:44 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g4AKGeN24070; Fri, 10 May 2002 20:16:41 GMT Date: Fri, 10 May 2002 13:16:40 -0700 From: john heasley To: Dave Packham Cc: rancid-discuss@shrubbery.net Subject: Re: Easy way? Message-ID: <20020510131640.C20208@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from dave.packham@utah.edu on Fri, May 10, 2002 at 11:26:13AM -0600 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, May 10, 2002 at 11:26:13AM -0600, Dave Packham: > Is there an easy way to eliminate the "show flash" "show dir" etc > commands so I only get the IOS conf changes? And not the file date > updates time or other less useful info? > > > Dave Packham no, but this (mods of this type in general) is something i am looking into. if you wish to do this, comment the pair of lines for each of those commands in bin/rancid. each appear twice, eg: 1114 'dir /all slot0:' => "DirSlotN", 1145 "dir /all slot0:",