From owner-rancid-discuss-outgoing@shrubbery.net Wed Aug 6 12:32:08 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h76CW8x08690 for ; Wed, 6 Aug 2003 12:32:08 GMT Received: by guelah.shrubbery.net (Postfix) id D730217D318; Wed, 6 Aug 2003 12:32:07 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B4B0E17D31B; Wed, 6 Aug 2003 12:32:07 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from phl-fw-dmz.susq.com (phl-dmz-fw.susq.com [141.162.101.251]) by guelah.shrubbery.net (Postfix) with SMTP id 2E92817D318 for ; Wed, 6 Aug 2003 12:32:06 +0000 (UTC) Received: from gemini.dev.susq.com by phl-fw-dmz.susq.com via smtpd (for guelah.shrubbery.net [198.58.5.1]) with SMTP; 6 Aug 2003 12:32:05 UT Received: from wink.phl-firewall-net.susq.com (wink.phl-firewall-net.susq.com [141.162.100.9]) by gemini.dev.susq.com (8.12.9/8.12.9) with ESMTP id h76CW4Vi008734 for ; Wed, 6 Aug 2003 08:32:04 -0400 (EDT) Received: from msgbal510.server.susq.com (localhost [127.0.0.1]) by wink.phl-firewall-net.susq.com (8.12.9/8.12.9) with ESMTP id h76CW3LA014821 for ; Wed, 6 Aug 2003 08:32:04 -0400 (EDT) Received: by msgbal510.server.susq.com with Internet Mail Service (5.5.2656.59) id ; Wed, 6 Aug 2003 08:32:03 -0400 Message-ID: From: "Temkin, David" To: "'rancid-discuss@shrubbery.net'" Subject: Problem with CatOS logins Date: Wed, 6 Aug 2003 08:32:02 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C35C16.5147904A" 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_01C35C16.5147904A Content-Type: text/plain I'm sure this question has been asked a million times, but I've tried all of the suggested fixes and haven't been able to figure it out. I have a freshly compiled/patched version of expect and tcl, so I don't think that's the issue... Cat5login appears to log into the switches correctly, but then it just hangs thinking that it's waiting for something else. Autoenable is enabled (the username goes straight to enable mode) so I don't think that's the issue either.. >From having clogin dump a raw file, here's what I see: User Access Verification Username: ServiceCW2k Password: xxx> (enable) Error: TIMEOUT reached And then it just dies. The logfile shows: Xxx.xxx.com clogin error: Error: TIMEOUT reached Xxx.xxx.com: missed cmd(s): show port ifindex,show module,dir sup-microcode:,dir sup-bootflash:,dir bootflash:,dir slot0:,show version,show flash,write term,show boot,dir slot1: Xxx.xxx.com: End of run not found Any help would be greatly appreciated... Thanks, -Dave ------_=_NextPart_001_01C35C16.5147904A Content-Type: text/html Content-Transfer-Encoding: quoted-printable Problem with CatOS logins

I'm sure this question has been asked = a million times, but I've tried all of the suggested fixes and haven't = been able to figure it out.  I have a freshly compiled/patched = version of expect and tcl, so I don't think that's the = issue...

Cat5login appears to log into the = switches correctly, but then it just hangs thinking that it's waiting = for something else.  Autoenable is enabled (the username goes = straight to enable mode) so I don't think that's the issue = either..

From having clogin dump a raw file, = here's what I see:

User Access Verification

Username: ServiceCW2k
Password:
xxx> (enable)
Error: TIMEOUT reached

And then it just dies. 

The logfile shows:

Xxx.xxx.com clogin error: Error: = TIMEOUT reached
Xxx.xxx.com: missed cmd(s): show port = ifindex,show module,dir sup-microcode:,dir sup-bootflash:,dir = bootflash:,dir slot0:,show version,show flash,write term,show boot,dir = slot1:

Xxx.xxx.com: End of run not = found

Any help would be greatly = appreciated...

Thanks,
-Dave

------_=_NextPart_001_01C35C16.5147904A-- From owner-rancid-discuss-outgoing@shrubbery.net Wed Aug 6 17:56:50 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h76Huox02670 for ; Wed, 6 Aug 2003 17:56:50 GMT Received: by guelah.shrubbery.net (Postfix) id F239317D318; Wed, 6 Aug 2003 17:56:50 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D1E8717D31B; Wed, 6 Aug 2003 17:56:49 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id E724E17D31A; Wed, 6 Aug 2003 17:56:48 +0000 (UTC) Date: Wed, 6 Aug 2003 17:56:48 +0000 From: john heasley To: "Temkin, David" Cc: "'rancid-discuss@shrubbery.net'" Subject: Re: Problem with CatOS logins Message-ID: <20030806175648.GZ803@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Aug 06, 2003 at 08:32:02AM -0400, Temkin, David: > I'm sure this question has been asked a million times, but I've tried all of > the suggested fixes and haven't been able to figure it out. I have a > freshly compiled/patched version of expect and tcl, so I don't think that's > the issue... > > Cat5login appears to log into the switches correctly, but then it just hangs > thinking that it's waiting for something else. Autoenable is enabled (the > username goes straight to enable mode) so I don't think that's the issue > either.. the problem is that the current clogin does not handle auto-enable catalysts correctly. afaik, auto-enable was not possible on CatOS until relatively recently. I just need to find the time to work on it. > >From having clogin dump a raw file, here's what I see: > > User Access Verification > > Username: ServiceCW2k > Password: > xxx> (enable) > Error: TIMEOUT reached > > And then it just dies. > > The logfile shows: > > Xxx.xxx.com clogin error: Error: TIMEOUT reached > Xxx.xxx.com: missed cmd(s): show port ifindex,show module,dir > sup-microcode:,dir sup-bootflash:,dir bootflash:,dir slot0:,show > version,show flash,write term,show boot,dir slot1: > Xxx.xxx.com: End of run not found > > Any help would be greatly appreciated... > > Thanks, > -Dave From a_samson2@canada.com Thu Aug 7 13:32:10 2003 Received: from server (CM-lcon5-149-230.cm.vtr.net [200.83.149.230]) by ni.shrubbery.net (8.11.6/8.11.6) with SMTP id h77DW9x18642 for ; Thu, 7 Aug 2003 13:32:09 GMT Message-Id: <200308071332.h77DW9x18642@ni.shrubbery.net> From: a_samson2@canada.com To: rancid-discuss-archive@ni.shrubbery.net Subject: help defend your PC against new viruses Sender: a_samson2@canada.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 7 Aug 2003 09:35:35 -0400 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) DONT BECOME ANOTHER STATISTIC - INSTALL VIRUS PROTECTION NOW most common viruses infect themselves through email! Norton Antivirus is a complete package that offers you TOTAL protection! btw, you look great today. Download Protection NOW. http://softwaresavings2you.biz/default.asp?id=3000 ps. dont want any more of this shit? http://softwaresavings2you.biz/remove/remove.html From tjenellnejh7m2g0@msn.com Sun Aug 10 09:26:55 2003 Received: from hotmail.com (bay3-dav62.bay3.hotmail.com [65.54.169.92]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7A9Qlx28134 for ; Sun, 10 Aug 2003 09:26:55 GMT Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 10 Aug 2003 02:26:37 -0700 Received: from 195.226.230.36 by bay3-dav62.bay3.hotmail.com with DAV; Sun, 10 Aug 2003 09:26:37 +0000 X-Originating-IP: [195.226.230.36] X-Originating-Email: [tjenellnejh7m2g0@msn.com] From: "Derfus Guzmdn" To: Subject: Gamble $272 with our Cash Date: Sun, 10 Aug 2003 04:30:02 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_8768t082AM0ExdXk2MlEwOC0xMEVZeTdjTU0xa0w=XbMD2GS6fey0C1gosImd6975" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Simeon for Win32 Version 4.1.5 Build (43) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: X-OriginalArrivalTime: 10 Aug 2003 09:26:37.0305 (UTC) FILETIME=[7F6F0E90:01C35F21] ------=_NextPart_8768t082AM0ExdXk2MlEwOC0xMEVZeTdjTU0xa0w=XbMD2GS6fey0C1gosImd6975 Content-Type: text/html; Charset="iso-8859-1" Content-Transfer-Encoding: 7bit
Bring The Excitement of Vegas Onto Computer!
The next big payout could be yours!

Join Now And Receive A FREE Deposit On Us!

Have fun and win big money of course!
Our loyal members love playing the more than 40 games and getting paid fast.

Be Set For Life With The Click Of A Mouse

Join Now And Receive A FREE Deposit On Us!

unsubscribe your email now here
0HdK270i71p206NMHh1lO1sK3S2Ipa
------=_NextPart_8768t082AM0ExdXk2MlEwOC0xMEVZeTdjTU0xa0w=XbMD2GS6fey0C1gosImd6975-- From zpcupqdxklqo@msn.com Tue Aug 12 06:37:58 2003 Received: from brian (pcp02407019pcs.waldlk01.mi.comcast.net [68.60.110.192]) by ni.shrubbery.net (8.11.6/8.11.6) with SMTP id h7C6bsx13878 for ; Tue, 12 Aug 2003 06:37:58 GMT Message-Id: <200308120637.h7C6bsx13878@ni.shrubbery.net> From: zpcupqdxklqo@msn.com To: rancid-discuss-archive@ni.shrubbery.net Subject: Dont let your loans kill you![]-32 Sender: zpcupqdxklqo@msn.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 12 Aug 2003 02:37:17 -0400 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) HEY YOU! :) Debt sucks. So does lining your bank managers pockets! We tear up your debt and give you and your family a fresh start .. - Save you a lot of money by eliminating late fees - Settle your accounts for a substantially reduced amount - Stop creditors calling you on the phone - Avoid bankruptcy ... and more! Why keep dealing with the stress, and headaches? Combine your debt into a low interest repayment and get on with your life today!! Come here and take a look at how we can help. http://srd.yahoo.com/drst/432890/*http://www.slashmonthlypayments.com/index.php?N=g for no more http://srd.yahoo.com/drst/11/*http://www.slashmonthlypayments.com/r.php From owner-rancid-discuss-outgoing@shrubbery.net Tue Aug 12 06:49:22 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7C6nMx15362 for ; Tue, 12 Aug 2003 06:49:22 GMT Received: by guelah.shrubbery.net (Postfix) id C06D717D31F; Tue, 12 Aug 2003 06:49:21 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A051E17D321; Tue, 12 Aug 2003 06:49:21 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from mel1.unite.net.au (mel1.uecomm.net.au [203.94.129.130]) by guelah.shrubbery.net (Postfix) with ESMTP id 90C3517D31F for ; Tue, 12 Aug 2003 06:49:04 +0000 (UTC) Received: from choqolat.org (uec-gw.uecomm.net.au [203.94.134.236] (may be forged)) by mel1.unite.net.au (8.9.3+Sun/8.9.3) with ESMTP id QAA24298 for ; Tue, 12 Aug 2003 16:48:46 +1000 (EST) Message-ID: <3F388DCA.20009@choqolat.org> Date: Tue, 12 Aug 2003 16:48:42 +1000 From: Andrew Fort User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030701 Thunderbird/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: patches and alternative enterasys/riverstone support Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi folks, I've recently found myself with some new devices to add to the repository, which didn't have some things handled as originally expected (thanks for the variance, cisco).. The following patch for 'rancid' does the following: - Identifies 4500s and 3550s as switches - Gathers System, Motherboard and Power Supply serial numbers from Cat3550 (and possibly others) (NOTE: on a 3550 the System S/N really is usable with TAC, which is a real bonus ;). - Gathers 3550 (and again, possibly other) redundant power supply status info from the "show env all" output. - Ignores "show vlan" output on 3550/4500 IOS switches(*). (*) This really needs to be on a per-device configurable basis, which I believe is coming to a future rancid release (i.e., different device [groups] have different parser configuration and commands to run). The reason is that this patch is suitable really only if you're using the extended VLAN support (i.e., you have "vlan" configuration inside your main running-configuration, rather than just stored in the flash:vlan.dat file), whereas the "show vlan" output was included by RANCID to allow for the 2900XL/3500XL switches where this info was not available via the main configuration. On the Enterasys/Riverstone front, I've had some luck patching "rscmd" from the 'Quartz' package at http://www.nmops.org so that the -c option allows multiple commands to be executed. Since it was originally derived from clogin and is GPL, it should be suitable for inclusion (except that it's been stripped back for a slightly different method of usage and has less functionality than the current clogin derived scripts). This works well, and appears to avoid the output buffering issues seen with the other variants by doing 'expect "*"' to flush the input before sending more back to the device. I still have some features to add (last-resort password handling), but would appreciate if I could get some folks to run my mods on their systems. It involves a modded "rscmd" (from Quartz) and a modified rivrancid (i.e., :%s/rivlogin/rscmd/g). --snip-- --- /home/afort/rancid-2.3.eft/bin/rancid.in Thu Jan 2 06:15:47 2003 +++ ./rancid Mon Aug 11 16:30:04 2003 @@ -1,4 +1,4 @@ -#!@PERLV_PATH@ +#!/usr/bin/perl ## ## ## Copyright (C) 1997-2001 by Henry Kilmer. @@ -173,6 +173,8 @@ } /^Serial Number:\s+(.*)$/ && ProcessHistory("COMMENTS","keysort","C1", "!$_") && next; + /^(System|Motherboard|Power supply) serial number:\s+(.*)$/ && + ProcessHistory("COMMENTS","keysort","C1", "!$_") && next; /^Activation Key:\s+(.*)$/ && ProcessHistory("COMMENTS","keysort","C2", "!$_") && next; /^ROM: \d+ Bootstrap .*(Version.*)$/ && @@ -242,9 +244,15 @@ } elsif ( $proc =~ /WS-C29/) { $type = "2900XL"; $device = "switch"; + } elsif ( $proc =~ /WS-C3550/) { + $type = "3550"; + $device = "switch"; } elsif ( $proc =~ /WS-C35/) { $type = "3500XL"; $device = "switch"; + } elsif ( $proc =~ /WS-C45/) { + $type = "4500"; + $device = "switch"; } elsif ( $proc =~ /6000/) { $type = "6000"; $device = "switch"; @@ -379,6 +387,8 @@ ProcessHistory("COMMENTS","keysort","E2","!Power: $1\n") && next; /^\s*(redundant .*)/i && ProcessHistory("COMMENTS","keysort","E2","!Power: $1\n") && next; + /^\s*(RPS is .*)/i && + ProcessHistory("COMMENTS","keysort","E2","!Power: $1\n") && next; } ProcessHistory("COMMENTS","","","!\n"); return(0); @@ -928,6 +938,7 @@ last if (/^$prompt/); next if (/^(\s*|\s*$cmd\s*)$/); return(1) if /(Invalid input detected|Type help or )/; + return(1) if ($type =~ /^(3550|4500)$/); #return(1) if ($type !~ /^(2900XL|3500XL|6000)$/); return(-1) if (/command authorization failed/i); # the pager can not be disabled per-session on the PIX --snip-- -afort From owner-rancid-discuss-outgoing@shrubbery.net Wed Aug 13 15:44:20 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7DFiKx15251 for ; Wed, 13 Aug 2003 15:44:20 GMT Received: by guelah.shrubbery.net (Postfix) id 1E6B417D322; Wed, 13 Aug 2003 15:44:20 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id EA38D17D327; Wed, 13 Aug 2003 15:44:19 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from hop.porksoda.com (dsl081-243-116.sfo1.dsl.speakeasy.net [64.81.243.116]) by guelah.shrubbery.net (Postfix) with ESMTP id 7B36017D322 for ; Wed, 13 Aug 2003 15:44:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hop.porksoda.com (8.12.8/8.12.5) with ESMTP id h7DFiC5B002152 for ; Wed, 13 Aug 2003 08:44:15 -0700 (PDT) Subject: missed cmds under redhat 9.0 From: Bug To: rancid-discuss@shrubbery.net Content-Type: text/plain Message-Id: <1060789450.2099.29.camel@blarg.porksoda.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 13 Aug 2003 08:44:10 -0700 Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I am trying to migrate my rancid collection machine from Solaris 2.8 to Redhat 9.0. The diffs are working, but rancid logs into each cisco router 4 times with the errors - svl0rtr00: missed cmd(s): show diag,show install active,show controllers cbus svl0rtr01: missed cmd(s): show diag,show install active,show controllers cbus svl0rtr02: missed cmd(s): show diag,show install active,show controllers cbus When I look at the raw dialog, I see the commands are there - Entry=13: Addr=FFFF.FFFF.FFFF^M Entry=14: Addr=FFFF.FFFF.FFFF^M Entry=15: Addr=0000.2100.0000^M ^M svl0rtr00#show controllers cbus^M ^^M % Invalid input detected at '^' marker.^M ^M svl0rtr00#show diagbus^M ^M svl0rtr00#show diag^M ^M svl0rtr00#show module^M % Incomplete command.^M ^M svl0rtr00#show c7200^M ^^M % Invalid input detected at '^' marker.^M ^M svl0rtr00#show vtp status^M ^^M % Invalid input detected at '^' marker.^M ^M svl0rtr00#show vlan^M % Incomplete command.^M ^M svl0rtr00#write term^M Building configuration...^M ^M Current configuration : 11485 bytes^M !^M ! Last configuration change at 17:12:12 PDT Tue Aug 12 2003^M ! NVRAM config last updated at 17:12:13 PDT Tue Aug 12 2003^M !^M version 12.1^M This setup worked great under solaris, and it still works well for the foundry and extreme gear. Here's the versions solaris redhat OS 5.8 9.0 rancid 2.2.2 2.2.2 perl v5.6.1 v5.8.0 expect 5.38.0 5.38.0 Any help would be appreciated. It looks like it's in the perl parsing the output, but I haven't been able to chase it down. Thanks -Mark From owner-rancid-discuss-outgoing@shrubbery.net Wed Aug 13 19:54:13 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7DJsDx01175 for ; Wed, 13 Aug 2003 19:54:13 GMT Received: by guelah.shrubbery.net (Postfix) id D517F17D322; Wed, 13 Aug 2003 19:54:12 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B2FB217D327; Wed, 13 Aug 2003 19:54:12 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from cgds1.osc.uscg.mil (cgds1.osc.uscg.mil [152.121.49.10]) by guelah.shrubbery.net (Postfix) with ESMTP id 3CABB17D322 for ; Wed, 13 Aug 2003 19:54:11 +0000 (UTC) Received: from tiscomex.tiscom.uscg.mil by CGDS1.osc.uscg.mil with ESMTP for rancid-discuss@shrubbery.net; Wed, 13 Aug 2003 15:53:45 -0400 Received: by tiscomex.tiscom.uscg.mil with Internet Mail Service (5.5.2653.19) id ; Wed, 13 Aug 2003 15:52:51 -0400 Message-Id: <34B5A8CD1EA62E49AFCD4B8AD1B465AD1EB61C@tiscomex.tiscom.uscg.mil> From: "King, David" To: rancid-discuss@shrubbery.net Subject: RE: missed cmds under redhat 9.0 Date: Wed, 13 Aug 2003 15:52:51 -0400 Importance: low X-Priority: 5 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 The perl "study" command appears to cause the problem in RedHat 9. What I have determined at this point is that study in a sub (like sub ShowVersion) causes the regexp not to match when it returns to "main". Therefore a line in the router config is skipped. Remove "study" from the subs that use it and the problem will go away. (An alternative is to move study after the "last" statement which is a few lines later. This only causes the last line before the next command not to be "studied".) If you notice, the commands being skipped all follow a command whose output is parsed by a sub that uses study. I haven't determined if this is something specific to the way study is used in rancid or a general RedHat 9/perl 5.8.0 problem. At least, that worked for me, YMMV, David King -----Original Message----- From: Bug [mailto:bugtraq@porksoda.com] Sent: Wednesday, August 13, 2003 11:44 AM To: rancid-discuss@shrubbery.net Subject: missed cmds under redhat 9.0 I am trying to migrate my rancid collection machine from Solaris 2.8 to Redhat 9.0. The diffs are working, but rancid logs into each cisco router 4 times with the errors - svl0rtr00: missed cmd(s): show diag,show install active,show controllers cbus svl0rtr01: missed cmd(s): show diag,show install active,show controllers cbus svl0rtr02: missed cmd(s): show diag,show install active,show controllers cbus When I look at the raw dialog, I see the commands are there - Entry=13: Addr=FFFF.FFFF.FFFF^M Entry=14: Addr=FFFF.FFFF.FFFF^M Entry=15: Addr=0000.2100.0000^M ^M svl0rtr00#show controllers cbus^M ^^M % Invalid input detected at '^' marker.^M ^M svl0rtr00#show diagbus^M ^M svl0rtr00#show diag^M ^M svl0rtr00#show module^M % Incomplete command.^M ^M svl0rtr00#show c7200^M ^^M % Invalid input detected at '^' marker.^M ^M svl0rtr00#show vtp status^M ^^M % Invalid input detected at '^' marker.^M ^M svl0rtr00#show vlan^M % Incomplete command.^M ^M svl0rtr00#write term^M Building configuration...^M ^M Current configuration : 11485 bytes^M !^M ! Last configuration change at 17:12:12 PDT Tue Aug 12 2003^M ! NVRAM config last updated at 17:12:13 PDT Tue Aug 12 2003^M !^M version 12.1^M This setup worked great under solaris, and it still works well for the foundry and extreme gear. Here's the versions solaris redhat OS 5.8 9.0 rancid 2.2.2 2.2.2 perl v5.6.1 v5.8.0 expect 5.38.0 5.38.0 Any help would be appreciated. It looks like it's in the perl parsing the output, but I haven't been able to chase it down. Thanks -Mark From owner-rancid-discuss-outgoing@shrubbery.net Wed Aug 13 21:23:05 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7DLN5x05979 for ; Wed, 13 Aug 2003 21:23:05 GMT Received: by guelah.shrubbery.net (Postfix) id D9E5E17D322; Wed, 13 Aug 2003 21:23:04 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B7C8F17D327; Wed, 13 Aug 2003 21:23:04 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from ran.psg.com (ip166.usw12.rb1.bel.nwlink.com [209.20.253.166]) by guelah.shrubbery.net (Postfix) with ESMTP id 9794317D322 for ; Wed, 13 Aug 2003 21:23:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=ran.psg.com) by ran.psg.com with esmtp (Exim 4.20) id 19n34w-000CV4-P5 for rancid-discuss@shrubbery.net; Wed, 13 Aug 2003 14:22:46 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 13 Aug 2003 14:22:46 -0700 To: rancid users Subject: config fetcher problems - cisco 1760 Message-Id: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk From: Randy Bush To: rancid-admin-psgnet@psg.com Subject: config fetcher problems - psgnet Date: Wed, 13 Aug 2003 21:15:26 +0000 The following routers have not been successfully contacted for more than 4 hours. -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com and yet, from the same host % rancid/bin/clogin -c 'show version;show version' blort.psg.com blort.psg.com spawn ssh -c 3des -x -l randy blort.psg.com randy@blort.psg.com's password: U N A U T H O R I Z E D A C C E S S P R O H I B I T E D blort>enable Password: blort# blort#term length 0 blort#show version Cisco Internetwork Operating System Software IOS (tm) C1700 Software (C1700-K9SV8Y7-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Thu 12-Jun-03 11:04 by eaarmas Image text-base: 0x80008120, data-base: 0x81656784 ROM: System Bootstrap, Version 12.2(4r)XL, RELEASE SOFTWARE (fc1) blort uptime is 2 hours, 41 minutes System returned to ROM by reload System restarted at 18:38:19 UTC Wed Aug 13 2003 System image file is "flash:c1700-k9sv8y7-mz.122-15.T5.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco 1760 (MPC860P) processor (revision 0x200) with 86184K/12120K bytes of memory. Processor board ID VMS05500QEE (2790806760), with hardware revision 0000 MPC860P processor: part number 5, mask 2 Bridging software. X.25 software, Version 3.0.0. 1 FastEthernet/IEEE 802.3 interface(s) 2 Voice FXO interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write) Configuration register is 0x2102 blort#show version Cisco Internetwork Operating System Software IOS (tm) C1700 Software (C1700-K9SV8Y7-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Thu 12-Jun-03 11:04 by eaarmas Image text-base: 0x80008120, data-base: 0x81656784 ROM: System Bootstrap, Version 12.2(4r)XL, RELEASE SOFTWARE (fc1) blort uptime is 2 hours, 41 minutes System returned to ROM by reload System restarted at 18:38:19 UTC Wed Aug 13 2003 System image file is "flash:c1700-k9sv8y7-mz.122-15.T5.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco 1760 (MPC860P) processor (revision 0x200) with 86184K/12120K bytes of memory. Processor board ID VMS05500QEE (2790806760), with hardware revision 0000 MPC860P processor: part number 5, mask 2 Bridging software. X.25 software, Version 3.0.0. 1 FastEthernet/IEEE 802.3 interface(s) 2 Voice FXO interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write) Configuration register is 0x2102 blort#exit Connection to blort.psg.com closed. From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 21:42:31 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7ELgVx04720 for ; Thu, 14 Aug 2003 21:42:31 GMT Received: by guelah.shrubbery.net (Postfix) id 0B5B117D323; Thu, 14 Aug 2003 21:42:31 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id DD61917D328; Thu, 14 Aug 2003 21:42:30 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from ran.psg.com (ip166.usw12.rb1.bel.nwlink.com [209.20.253.166]) by guelah.shrubbery.net (Postfix) with ESMTP id BBD8717D323 for ; Thu, 14 Aug 2003 21:42:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=ran.psg.com) by ran.psg.com with esmtp (Exim 4.20) id 19nPrJ-000Ot6-Rb for rancid-discuss@shrubbery.net; Thu, 14 Aug 2003 14:42:13 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 14 Aug 2003 14:42:13 -0700 To: rancid users Subject: config fetcher problems - cisco 1760 Message-Id: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk uh, any help with this, pleaae? The following routers have not been successfully contacted for more than 4 hours. -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com and yet, from the same host % rancid/bin/clogin -c 'show version;show version' blort.psg.com blort.psg.com spawn ssh -c 3des -x -l randy blort.psg.com randy@blort.psg.com's password: U N A U T H O R I Z E D A C C E S S P R O H I B I T E D blort>enable Password: blort# blort#term length 0 blort#show version Cisco Internetwork Operating System Software IOS (tm) C1700 Software (C1700-K9SV8Y7-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Thu 12-Jun-03 11:04 by eaarmas Image text-base: 0x80008120, data-base: 0x81656784 ROM: System Bootstrap, Version 12.2(4r)XL, RELEASE SOFTWARE (fc1) blort uptime is 2 hours, 41 minutes System returned to ROM by reload System restarted at 18:38:19 UTC Wed Aug 13 2003 System image file is "flash:c1700-k9sv8y7-mz.122-15.T5.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco 1760 (MPC860P) processor (revision 0x200) with 86184K/12120K bytes of memory. Processor board ID VMS05500QEE (2790806760), with hardware revision 0000 MPC860P processor: part number 5, mask 2 Bridging software. X.25 software, Version 3.0.0. 1 FastEthernet/IEEE 802.3 interface(s) 2 Voice FXO interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write) Configuration register is 0x2102 blort#show version Cisco Internetwork Operating System Software IOS (tm) C1700 Software (C1700-K9SV8Y7-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Thu 12-Jun-03 11:04 by eaarmas Image text-base: 0x80008120, data-base: 0x81656784 ROM: System Bootstrap, Version 12.2(4r)XL, RELEASE SOFTWARE (fc1) blort uptime is 2 hours, 41 minutes System returned to ROM by reload System restarted at 18:38:19 UTC Wed Aug 13 2003 System image file is "flash:c1700-k9sv8y7-mz.122-15.T5.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco 1760 (MPC860P) processor (revision 0x200) with 86184K/12120K bytes of memory. Processor board ID VMS05500QEE (2790806760), with hardware revision 0000 MPC860P processor: part number 5, mask 2 Bridging software. X.25 software, Version 3.0.0. 1 FastEthernet/IEEE 802.3 interface(s) 2 Voice FXO interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write) Configuration register is 0x2102 blort#exit Connection to blort.psg.com closed. From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 21:54:07 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7ELs7x06292 for ; Thu, 14 Aug 2003 21:54:07 GMT Received: by guelah.shrubbery.net (Postfix) id B41D417D328; Thu, 14 Aug 2003 21:54:06 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8BF4417D32A; Thu, 14 Aug 2003 21:54:06 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (p50842CD6.dip0.t-ipconnect.de [80.132.44.214]) by guelah.shrubbery.net (Postfix) with ESMTP id E88F717D328 for ; Thu, 14 Aug 2003 21:54:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2B0A319AFA; Thu, 14 Aug 2003 23:54:02 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24786-10; Thu, 14 Aug 2003 23:54:01 +0200 (CEST) Received: from Q10 (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 505EF19AF6; Thu, 14 Aug 2003 23:54:01 +0200 (CEST) Message-ID: <002f01c362ae$92384a60$6790a8c0@nipper.de> From: "Nipper, Arnold" To: "Randy Bush" , "rancid users" References: Subject: Re: config fetcher problems - cisco 1760 Date: Thu, 14 Aug 2003 23:53:54 +0200 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thursday, August 14, 2003 11:42 PM, Randy Bush wrote: > uh, any help with this, pleaae? > > The following routers have not been successfully contacted for > more than 4 hours. > -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com > what does you logfile say? I'm having the same problem with C6509 running CatOS and the log file says: "my_c6509: End of run not found". I could not yet figure out what this really means. Arnold From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 22:00:25 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7EM0Px06484 for ; Thu, 14 Aug 2003 22:00:25 GMT Received: by guelah.shrubbery.net (Postfix) id ABF5117D32A; Thu, 14 Aug 2003 22:00:24 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 89E0A17D32C; Thu, 14 Aug 2003 22:00:24 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from ran.psg.com (ip166.usw12.rb1.bel.nwlink.com [209.20.253.166]) by guelah.shrubbery.net (Postfix) with ESMTP id 7A60017D32A for ; Thu, 14 Aug 2003 22:00:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=ran.psg.com) by ran.psg.com with esmtp (Exim 4.20) id 19nQ8o-000PPD-KW; Thu, 14 Aug 2003 15:00:18 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 14 Aug 2003 15:00:18 -0700 To: "Nipper, Arnold" Cc: "rancid users" Subject: Re: config fetcher problems - cisco 1760 References: <002f01c362ae$92384a60$6790a8c0@nipper.de> Message-Id: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk >> The following routers have not been successfully contacted for >> more than 4 hours. >> -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com > what does you logfile say? i knew there was more information hiding somewhere. Trying to get all of the configs. can not find channel named "exp3" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/home/randy/rancid/bin/hlogin" line 537) ; blort.psg.com clogin error: Error: EOF received blort.psg.com: missed cmd(s): show system-information,write term,show stack,show module,show flash,show version blort.psg.com: End of run not found ===================================== Getting missed routers: round 1. can not find channel named "exp3" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/home/randy/rancid/bin/hlogin" line 537) ; blort.psg.com clogin error: Error: EOF received blort.psg.com: missed cmd(s): show system-information,write term,show stack,show module,show flash,show version blort.psg.com: End of run not found ===================================== Getting missed routers: round 2. can not find channel named "exp3" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/home/randy/rancid/bin/hlogin" line 537) ; blort.psg.com clogin error: Error: EOF received blort.psg.com: missed cmd(s): show system-information,write term,show stack,show module,show flash,show version blort.psg.com: End of run not found ===================================== Getting missed routers: round 3. can not find channel named "exp3" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/home/randy/rancid/bin/hlogin" line 537) ; blort.psg.com clogin error: Error: EOF received blort.psg.com: missed cmd(s): show system-information,write term,show stack,show module,show flash,show version blort.psg.com: End of run not found ===================================== Getting missed routers: round 4. can not find channel named "exp3" while executing "close" ("foreach" body line 110) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] send_user "$router\n" # Figure out prompt. # Since autoena..." (file "/usr/home/randy/rancid/bin/hlogin" line 537) ; blort.psg.com clogin error: Error: EOF received blort.psg.com: missed cmd(s): show system-information,write term,show stack,show module,show flash,show version blort.psg.com: End of run not found From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 22:26:00 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7EMQ0x06949 for ; Thu, 14 Aug 2003 22:26:00 GMT Received: by guelah.shrubbery.net (Postfix) id 5695E17D32C; Thu, 14 Aug 2003 22:26:00 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 3240B17D32E; Thu, 14 Aug 2003 22:26:00 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 4C13617D32D; Thu, 14 Aug 2003 22:25:59 +0000 (UTC) Date: Thu, 14 Aug 2003 15:25:59 -0700 From: john heasley To: Randy Bush Cc: rancid users Subject: Re: config fetcher problems - cisco 1760 Message-ID: <20030814222559.GC19715@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Aug 14, 2003 at 02:42:13PM -0700, Randy Bush: > uh, any help with this, pleaae? been very busy. > The following routers have not been successfully contacted for > more than 4 hours. > -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com > > and yet, from the same host is there an error in the log file for this device? has collection of this device been successful in the past (i dont have a 1700)? > % rancid/bin/clogin -c 'show version;show version' blort.psg.com > blort.psg.com > spawn ssh -c 3des -x -l randy blort.psg.com > randy@blort.psg.com's password: > > U N A U T H O R I Z E D A C C E S S P R O H I B I T E D > > blort>enable > Password: > blort# > blort#term length 0 > blort#show version > Cisco Internetwork Operating System Software > IOS (tm) C1700 Software (C1700-K9SV8Y7-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1) > TAC Support: http://www.cisco.com/tac > Copyright (c) 1986-2003 by cisco Systems, Inc. > Compiled Thu 12-Jun-03 11:04 by eaarmas > Image text-base: 0x80008120, data-base: 0x81656784 > > ROM: System Bootstrap, Version 12.2(4r)XL, RELEASE SOFTWARE (fc1) > > blort uptime is 2 hours, 41 minutes > System returned to ROM by reload > System restarted at 18:38:19 UTC Wed Aug 13 2003 > System image file is "flash:c1700-k9sv8y7-mz.122-15.T5.bin" > > > This product contains cryptographic features and is subject to United > States and local country laws governing import, export, transfer and > use. Delivery of Cisco cryptographic products does not imply > third-party authority to import, export, distribute or use encryption. > Importers, exporters, distributors and users are responsible for > compliance with U.S. and local country laws. By using this product you > agree to comply with applicable laws and regulations. If you are unable > to comply with U.S. and local laws, return this product immediately. > > A summary of U.S. laws governing Cisco cryptographic products may be found at: > http://www.cisco.com/wwl/export/crypto/tool/stqrg.html > > If you require further assistance please contact us by sending email to > export@cisco.com. > > cisco 1760 (MPC860P) processor (revision 0x200) with 86184K/12120K bytes of memory. > Processor board ID VMS05500QEE (2790806760), with hardware revision 0000 > MPC860P processor: part number 5, mask 2 > Bridging software. > X.25 software, Version 3.0.0. > 1 FastEthernet/IEEE 802.3 interface(s) > 2 Voice FXO interface(s) > 32K bytes of non-volatile configuration memory. > 16384K bytes of processor board System flash (Read/Write) > > Configuration register is 0x2102 > > blort#show version > Cisco Internetwork Operating System Software > IOS (tm) C1700 Software (C1700-K9SV8Y7-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1) > TAC Support: http://www.cisco.com/tac > Copyright (c) 1986-2003 by cisco Systems, Inc. > Compiled Thu 12-Jun-03 11:04 by eaarmas > Image text-base: 0x80008120, data-base: 0x81656784 > > ROM: System Bootstrap, Version 12.2(4r)XL, RELEASE SOFTWARE (fc1) > > blort uptime is 2 hours, 41 minutes > System returned to ROM by reload > System restarted at 18:38:19 UTC Wed Aug 13 2003 > System image file is "flash:c1700-k9sv8y7-mz.122-15.T5.bin" > > > This product contains cryptographic features and is subject to United > States and local country laws governing import, export, transfer and > use. Delivery of Cisco cryptographic products does not imply > third-party authority to import, export, distribute or use encryption. > Importers, exporters, distributors and users are responsible for > compliance with U.S. and local country laws. By using this product you > agree to comply with applicable laws and regulations. If you are unable > to comply with U.S. and local laws, return this product immediately. > > A summary of U.S. laws governing Cisco cryptographic products may be found at: > http://www.cisco.com/wwl/export/crypto/tool/stqrg.html > > If you require further assistance please contact us by sending email to > export@cisco.com. > > cisco 1760 (MPC860P) processor (revision 0x200) with 86184K/12120K bytes of memory. > Processor board ID VMS05500QEE (2790806760), with hardware revision 0000 > MPC860P processor: part number 5, mask 2 > Bridging software. > X.25 software, Version 3.0.0. > 1 FastEthernet/IEEE 802.3 interface(s) > 2 Voice FXO interface(s) > 32K bytes of non-volatile configuration memory. > 16384K bytes of processor board System flash (Read/Write) > > Configuration register is 0x2102 > > blort#exit > Connection to blort.psg.com closed. From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 22:33:36 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7EMXax07534 for ; Thu, 14 Aug 2003 22:33:36 GMT Received: by guelah.shrubbery.net (Postfix) id 5E76417D32D; Thu, 14 Aug 2003 22:33:35 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 402E417D330; Thu, 14 Aug 2003 22:33:35 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 55FFA17D32E; Thu, 14 Aug 2003 22:33:34 +0000 (UTC) Date: Thu, 14 Aug 2003 15:33:34 -0700 From: john heasley To: "Nipper, Arnold" Cc: Randy Bush , rancid users Subject: Re: config fetcher problems - cisco 1760 Message-ID: <20030814223334.GD19715@shrubbery.net> References: <002f01c362ae$92384a60$6790a8c0@nipper.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002f01c362ae$92384a60$6790a8c0@nipper.de> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Aug 14, 2003 at 11:53:54PM +0200, Nipper, Arnold: > On Thursday, August 14, 2003 11:42 PM, Randy Bush wrote: > > uh, any help with this, pleaae? > > > > The following routers have not been successfully contacted for > > more than 4 hours. > > -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com > > > > what does you logfile say? I'm having the same problem with C6509 running > CatOS and the log file says: "my_c6509: End of run not found". I could not > yet figure out what this really means. "end of run not found" means that either - a command-line was not found for one (or more) of the commands that cat5rancid issued to (or wants to) the device. eg: show version is supposed to be run, we never saw "prompt> show version". thus, premature disconnection and completely buggered devices do not trigger complete/partial config removal. - "prompt> exit" was not found, thus assume that somehow the exchange with the device went awry. - the end of the config (show config) was not found. for catos, that is /^end$/. this the config was truncated for some reason. all these measures (and those particular to other devices) are to TRY to ensure that vendor X's UI/whatever bugs and temporary network failures (etc) don't cause diffs. setenv NOPIPE YES cat5rancid -dl my_c6509 is often helpful. From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 22:35:11 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7EMZBx07613 for ; Thu, 14 Aug 2003 22:35:11 GMT Received: by guelah.shrubbery.net (Postfix) id 44B9417D330; Thu, 14 Aug 2003 22:35:11 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 266D717D332; Thu, 14 Aug 2003 22:35:11 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 3DA4917D331; Thu, 14 Aug 2003 22:35:10 +0000 (UTC) Date: Thu, 14 Aug 2003 15:35:10 -0700 From: john heasley To: Randy Bush Cc: "Nipper, Arnold" , rancid users Subject: Re: config fetcher problems - cisco 1760 Message-ID: <20030814223510.GE19715@shrubbery.net> References: <002f01c362ae$92384a60$6790a8c0@nipper.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Aug 14, 2003 at 03:00:18PM -0700, Randy Bush: > >> The following routers have not been successfully contacted for > >> more than 4 hours. > >> -rw-r----- 1 randy staff 0 Aug 13 07:15 blort.psg.com > > what does you logfile say? > > i knew there was more information hiding somewhere. > > Trying to get all of the configs. > can not find channel named "exp3" > while executing > "close" > ("foreach" body line 110) > invoked from within > "foreach router [lrange $argv $i end] { > set router [string tolower $router] > send_user "$router\n" > > # Figure out prompt. > # Since autoena..." > (file "/usr/home/randy/rancid/bin/hlogin" line 537) > ; blort is an hp? your initial mail indicated a cisco 1700. is the device type incorrect in the router.db file? From owner-rancid-discuss-outgoing@shrubbery.net Thu Aug 14 22:36:31 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7EMaUx07767 for ; Thu, 14 Aug 2003 22:36:31 GMT Received: by guelah.shrubbery.net (Postfix) id 6E55E17D331; Thu, 14 Aug 2003 22:36:30 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4805B17D334; Thu, 14 Aug 2003 22:36:30 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from ran.psg.com (ip166.usw12.rb1.bel.nwlink.com [209.20.253.166]) by guelah.shrubbery.net (Postfix) with ESMTP id 1177C17D331; Thu, 14 Aug 2003 22:36:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=ran.psg.com) by ran.psg.com with esmtp (Exim 4.20) id 19nQhn-0000RF-Nn; Thu, 14 Aug 2003 15:36:27 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 14 Aug 2003 15:36:27 -0700 To: john heasley Cc: "Nipper, Arnold" , rancid users Subject: Re: config fetcher problems - cisco 1760 References: <002f01c362ae$92384a60$6790a8c0@nipper.de> <20030814223510.GE19715@shrubbery.net> Message-Id: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > blort is an hp? your initial mail indicated a cisco 1700. is the > device type incorrect in the router.db file? thank you randy From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 16 03:23:25 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7G3NPx20472 for ; Sat, 16 Aug 2003 03:23:25 GMT Received: by guelah.shrubbery.net (Postfix) id 620C817D334; Sat, 16 Aug 2003 03:23:24 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 45F0217D336; Sat, 16 Aug 2003 03:23:24 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from ran.psg.com (ip166.usw12.rb1.bel.nwlink.com [209.20.253.166]) by guelah.shrubbery.net (Postfix) with ESMTP id 197DD17D334 for ; Sat, 16 Aug 2003 03:23:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=ran.psg.com) by ran.psg.com with esmtp (Exim 4.20) id 19nrez-000JOx-9U for rancid-discuss@shrubbery.net; Fri, 15 Aug 2003 20:23:21 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 15 Aug 2003 20:23:20 -0700 To: rancid users Subject: old logs Message-Id: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk any recommendations for aging (== purging) old log files other than something like find -mtime +90 or whatever? randy From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 16 08:33:52 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7G8Xpx09693 for ; Sat, 16 Aug 2003 08:33:51 GMT Received: by guelah.shrubbery.net (Postfix) id 9581117D337; Sat, 16 Aug 2003 08:33:50 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 68D6617D339; Sat, 16 Aug 2003 08:33:50 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (p508421B2.dip0.t-ipconnect.de [80.132.33.178]) by guelah.shrubbery.net (Postfix) with ESMTP id 4BA7117D337 for ; Sat, 16 Aug 2003 08:33:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 66D1537B0; Sat, 16 Aug 2003 10:33:43 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13065-07; Sat, 16 Aug 2003 10:33:42 +0200 (CEST) Received: from notebook (pc101.nipper.de [192.168.144.101]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with SMTP id D711934F8; Sat, 16 Aug 2003 10:33:42 +0200 (CEST) Message-ID: <006901c363d1$19d12f00$6590a8c0@notebook> From: "Nipper, Arnold" To: "Randy Bush" , "rancid users" References: Subject: Re: old logs Date: Sat, 16 Aug 2003 10:33:42 +0200 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by ni.shrubbery.net id h7G8Xpx09693 Randy Bush wrote: > any recommendations for aging (== purging) old log files other than > something like find -mtime +90 or whatever? > IIRC that's what I found in the documentation "/usr/bin/find /var/rancid/logs -type f -mtime +2 -exec rm {} \;" Arnold From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 16 11:03:53 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7GB3rx19056 for ; Sat, 16 Aug 2003 11:03:53 GMT Received: by guelah.shrubbery.net (Postfix) id 03EFE17D338; Sat, 16 Aug 2003 11:03:53 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D6CD317D33A; Sat, 16 Aug 2003 11:03:52 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (p508421B2.dip0.t-ipconnect.de [80.132.33.178]) by guelah.shrubbery.net (Postfix) with ESMTP id E750A17D338 for ; Sat, 16 Aug 2003 11:03:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 2A9273E17 for ; Sat, 16 Aug 2003 13:03:49 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14756-06 for ; Sat, 16 Aug 2003 13:03:48 +0200 (CEST) Received: from Q10 (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 5942B12C1 for ; Sat, 16 Aug 2003 13:03:48 +0200 (CEST) Message-ID: <003b01c363e6$118b0fe0$6790a8c0@nipper.de> From: "Nipper, Arnold" To: Subject: supress diffs for certain config parts (port security CatOS) Date: Sat, 16 Aug 2003 13:03:46 +0200 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Now that rancid is running smooth (thanks to Anchi and John) I would like rancid to not doing diffs for certain parts of the config? Why? I'm running port security with dynamic update on the C6509 CatOS boxes and the MAC addresses hence are part of the config. As these are changing frequently rancid sends config diffs almost always. Is there a knob to turn off diff for certain parts? Or more precisely: where do I have to insert a "grep -v"? Perhaps this could be made a feature. I.e specify a file with regexp pattern which will be omitted when doing the diff? Arnold From owner-rancid-discuss-outgoing@shrubbery.net Tue Aug 19 00:58:01 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7J0w1x26485 for ; Tue, 19 Aug 2003 00:58:01 GMT Received: by guelah.shrubbery.net (Postfix) id A74C817D327; Tue, 19 Aug 2003 00:58:00 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8C96217D329; Tue, 19 Aug 2003 00:58:00 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from mel1.unite.net.au (mel1.uecomm.net.au [203.94.129.130]) by guelah.shrubbery.net (Postfix) with ESMTP id BD24A17D323 for ; Tue, 19 Aug 2003 00:57:42 +0000 (UTC) Received: from choqolat.org (uec-gw.uecomm.net.au [203.94.134.236] (may be forged)) by mel1.unite.net.au (8.9.3+Sun/8.9.3) with ESMTP id KAA08821; Tue, 19 Aug 2003 10:57:18 +1000 (EST) Message-ID: <3F4175EF.6020203@choqolat.org> Date: Tue, 19 Aug 2003 10:57:19 +1000 From: Andrew Fort User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030701 Thunderbird/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Nipper, Arnold" Cc: rancid-discuss@shrubbery.net Subject: Re: supress diffs for certain config parts (port security CatOS) References: <003b01c363e6$118b0fe0$6790a8c0@nipper.de> In-Reply-To: <003b01c363e6$118b0fe0$6790a8c0@nipper.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Nipper, Arnold wrote: >Now that rancid is running smooth (thanks to Anchi and John) I would like >rancid to not doing diffs for certain parts of the config? Why? I'm running >port security with dynamic update on the C6509 CatOS boxes and the MAC >addresses hence are part of the config. As these are changing frequently >rancid sends config diffs almost always. > >Is there a knob to turn off diff for certain parts? Or more precisely: where >do I have to insert a "grep -v"? Perhaps this could be made a feature. I.e >specify a file with regexp pattern which will be omitted when doing the >diff? > > >Arnold > > Hi Arnold - if this fits in with your environment (i.e., the person complaining of the constant diffage uses procmail) you could use a procmail filter, as suggested by John in the archives. See: http://www.shrubbery.net/rancid/maillist/rancid-discuss.200209.txt and search for "almost all bgp speakers" in that (that text is at the end of the relevant post). This doesn't stop the diffage, but you'll only get email about diffage that you care about. cheers -afort From owner-rancid-discuss-outgoing@shrubbery.net Fri Aug 22 07:17:11 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7M7HBx22247 for ; Fri, 22 Aug 2003 07:17:11 GMT Received: by guelah.shrubbery.net (Postfix) id B246E17D31A; Fri, 22 Aug 2003 07:17:10 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8FF7317D327; Fri, 22 Aug 2003 07:17:10 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from granite.smiller.org (12-252-174-33.client.attbi.com [12.252.174.33]) by guelah.shrubbery.net (Postfix) with ESMTP id 12DE117D31A for ; Fri, 22 Aug 2003 07:17:09 +0000 (UTC) Received: from granite.smiller.org (IDENT:1000@localhost [127.0.0.1]) by granite.smiller.org (8.12.4/8.12.4) with ESMTP id h7M55pbU005368 for ; Thu, 21 Aug 2003 23:05:51 -0600 From: "Stephen Miller" To: rancid-discuss@shrubbery.net Subject: problem parsing config file on Nortel Passport Date: Thu, 21 Aug 2003 22:05:51 -0700 Message-Id: <20030822045754.M94842@smiller.org> X-Mailer: Open WebMail 2.10 20030720 X-OriginatingIP: 97.253.14.51 (steve) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hey, I've got an issue with grabbing the configs for a Nortel Passport 8006 switch. I have modified blogin to successfully login and set the terminal length to 0 and I can use "blogin -c "show config" switch" and it works...but when I try brancid on the switch it does not grab the configuration. I tried to modify the sub ShowConfig in brancid...but with no luck. Here is a snippett of the switch config: it begins: switch:5# show config Preparing to Display Configuration... # # FRI AUG 22 12:43:02 2003 IST # box type : Passport-8006 # software version : 3.3.0.0 # monitor version : 3.3.0.0 # # # Asic Info : # SlotNum |Name |CardType |MdaType |Parts Description # # Slot 1 8608GBE 0x20325108 0x00000000 IOM: GMAC=5 BFM: OP=3 TMUX=2 RARU=4 CPLD=5 # Slot 2 8608GBE 0x20325108 0x00000000 IOM: GMAC=5 BFM: OP=3 TMUX=2 RARU=4 CPLD=5 and ends with: # # NTP CONFIGURATION # ntp enable true ntp server create back switch# logout -- Could you point me in the right direction as to what to modify within brancid to have it parse the configuration? thanks, Steve ----------------------------- "Let's get dangerous" | Darkwing Dark | ----------------------------- From owner-rancid-discuss-outgoing@shrubbery.net Fri Aug 22 19:24:55 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7MJOtx07417 for ; Fri, 22 Aug 2003 19:24:55 GMT Received: by guelah.shrubbery.net (Postfix) id 0B9A417D318; Fri, 22 Aug 2003 19:24:55 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id E2AE917D32B; Fri, 22 Aug 2003 19:24:54 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 5A80E17D322; Fri, 22 Aug 2003 19:24:53 +0000 (UTC) Date: Fri, 22 Aug 2003 12:24:53 -0700 From: john heasley To: Stephen Miller Cc: rancid-discuss@shrubbery.net Subject: Re: problem parsing config file on Nortel Passport Message-ID: <20030822192453.GF4819@shrubbery.net> References: <20030822045754.M94842@smiller.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030822045754.M94842@smiller.org> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Aug 21, 2003 at 10:05:51PM -0700, Stephen Miller: > Hey, > > I've got an issue with grabbing the configs for a Nortel Passport 8006 switch. > > I have modified blogin to successfully login and set the terminal length to 0 > and I can use "blogin -c "show config" switch" and it works...but when I try > brancid on the switch it does not grab the configuration. > > I tried to modify the sub ShowConfig in brancid...but with no luck. Here is a > snippett of the switch config: > > it begins: > > switch:5# show config > Preparing to Display Configuration... > # > # FRI AUG 22 12:43:02 2003 IST > # box type : Passport-8006 > # software version : 3.3.0.0 > # monitor version : 3.3.0.0 > # > > # > # Asic Info : > # SlotNum |Name |CardType |MdaType |Parts Description > # > # Slot 1 8608GBE 0x20325108 0x00000000 IOM: GMAC=5 BFM: OP=3 TMUX=2 > RARU=4 CPLD=5 > # Slot 2 8608GBE 0x20325108 0x00000000 IOM: GMAC=5 BFM: OP=3 TMUX=2 > RARU=4 CPLD=5 > > > and ends with: > > # > # NTP CONFIGURATION > # > > ntp enable true > ntp server create > > back > switch# logout > > -- Could you point me in the right direction as to what to modify within > brancid to have it parse the configuration? brancid should return an error message when it fails. This would help identify the problem, if you can post it here. helpful debugging process is blogin -c 'cmd;cmd;cmd;...' router > router brancid -dlf router which will produce a trace of sorts, any error msgs, and a router.new file that will likely be truncated and provide hints of what triggered the failure. my best guess is that the last statement in ShowConfig is incorrect or incorrectly placed. perhaps it should be if (/^(exit|back)$/) and be within the while loop. however, i do not know the syntactical purpose of 'back' on the nortel. It would seem that it may be used to traverse up the configuration "stack", in which case brancid would need to detect whether a particular instance of 'back' indicated the end of a configuration or the end of a paragraph; WAG examaple, the end of a vlan config: ... vlan 1 stp disable back vlan 2 ... back ntp enable true ntp server create back (aka EOF) hope this helps. From owner-rancid-discuss-outgoing@shrubbery.net Fri Aug 22 23:57:19 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7MNvIx25026 for ; Fri, 22 Aug 2003 23:57:18 GMT Received: by guelah.shrubbery.net (Postfix) id 5C47717D318; Fri, 22 Aug 2003 23:57:18 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 3DFD417D32B; Fri, 22 Aug 2003 23:57:18 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id DFEC817D322; Fri, 22 Aug 2003 23:57:16 +0000 (UTC) Date: Fri, 22 Aug 2003 16:57:16 -0700 From: john heasley To: "Nipper, Arnold" Cc: john heasley , rancid users Subject: Re: How to suppress CatOS port security changes (was Re: config fetcher problems - cisco 1760) Message-ID: <20030822235716.GN4819@shrubbery.net> References: <002f01c362ae$92384a60$6790a8c0@nipper.de> <20030814223334.GD19715@shrubbery.net> <00d201c36347$79b72760$6790a8c0@nipper.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00d201c36347$79b72760$6790a8c0@nipper.de> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Aug 15, 2003 at 06:08:02PM +0200, Nipper, Arnold: > John, > > thanks for the help. Actually I guess the patch provided by Anchi did the > trick. No complaints since. While we are at it ... We are running port > security on the CatOS switches and the actual MAC entries are stored in the > config files. As MACs are changing frequently we get a lot of mails with > just the MAC entries having changed. I would like to suppress changes for > > - set port security 4/48 x-x-x-x-x-x > set port security 4/48 y-y-y-y-y-y > + set port security 4/48 z-z-z-z-z-z > > Is there a simple trick to do so? I have never used this stuff. If it learns these MACs completely dynamically, then cat5rancid should filter them. from the docs, it seems that it is also possible to configure static MACs, which we should not filter. what is the difference between the config syntax? From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 23 00:10:48 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7N0Amx25369 for ; Sat, 23 Aug 2003 00:10:48 GMT Received: by guelah.shrubbery.net (Postfix) id EA43217D318; Sat, 23 Aug 2003 00:10:47 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C7F1A17D32B; Sat, 23 Aug 2003 00:10:47 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (p508424FC.dip0.t-ipconnect.de [80.132.36.252]) by guelah.shrubbery.net (Postfix) with ESMTP id B565117D318; Sat, 23 Aug 2003 00:10:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 42458208F5; Sat, 23 Aug 2003 02:10:43 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21590-08; Sat, 23 Aug 2003 02:10:42 +0200 (CEST) Received: from Q10 (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 3F4D020518; Sat, 23 Aug 2003 02:10:42 +0200 (CEST) Message-ID: <001701c3690a$fdb4cd60$6790a8c0@nipper.de> From: "Nipper, Arnold" To: "john heasley" Cc: "john heasley" , "rancid users" References: <002f01c362ae$92384a60$6790a8c0@nipper.de> <20030814223334.GD19715@shrubbery.net> <00d201c36347$79b72760$6790a8c0@nipper.de> <20030822235716.GN4819@shrubbery.net> Subject: Re: How to suppress CatOS port security changes (was Re: config fetcher problems - cisco 1760) Date: Sat, 23 Aug 2003 02:10:40 +0200 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Saturday, August 23, 2003 1:57 AM, john heasley wrote: > Fri, Aug 15, 2003 at 06:08:02PM +0200, Nipper, Arnold: >> John, >> >> thanks for the help. Actually I guess the patch provided by Anchi did the >> trick. No complaints since. While we are at it ... We are running port >> security on the CatOS switches and the actual MAC entries are stored in the >> config files. As MACs are changing frequently we get a lot of mails with >> just the MAC entries having changed. I would like to suppress changes for >> >> - set port security 4/48 x-x-x-x-x-x >> set port security 4/48 y-y-y-y-y-y >> + set port security 4/48 z-z-z-z-z-z >> >> Is there a simple trick to do so? > > I have never used this stuff. If it learns these MACs completely dynamically, > then cat5rancid should filter them. from the docs, it seems that it is also > possible to configure static MACs, which we should not filter. what is the > difference between the config syntax? Actually configuration is done via set port security 3/1 enable age 10 maximum 1 shutdown 0 violation restrict That means: allow 1 MAC address on port 3/1 and forget about it if there is no traffic for 10 minutes. If you see traffic from another MAC silently ignore. Hence MACs are learnt dynamically which makes replacements much easier. Though all MAC addresses currently known on port-security-enabled ports show up as static entries in the config. Arnold From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 23 18:25:56 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7NIPux02828 for ; Sat, 23 Aug 2003 18:25:56 GMT Received: by guelah.shrubbery.net (Postfix) id 12B5217D327; Sat, 23 Aug 2003 18:25:56 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id F1ADB17D32A; Sat, 23 Aug 2003 18:25:55 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 4F8F517D329; Sat, 23 Aug 2003 18:25:54 +0000 (UTC) Date: Sat, 23 Aug 2003 11:25:54 -0700 From: john heasley To: "Nipper, Arnold" Cc: rancid users Subject: Re: How to suppress CatOS port security changes (was Re: config fetcher problems - cisco 1760) Message-ID: <20030823182554.GY4819@shrubbery.net> References: <002f01c362ae$92384a60$6790a8c0@nipper.de> <20030814223334.GD19715@shrubbery.net> <00d201c36347$79b72760$6790a8c0@nipper.de> <20030822235716.GN4819@shrubbery.net> <001701c3690a$fdb4cd60$6790a8c0@nipper.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001701c3690a$fdb4cd60$6790a8c0@nipper.de> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sat, Aug 23, 2003 at 02:10:40AM +0200, Nipper, Arnold: > >> - set port security 4/48 x-x-x-x-x-x > >> set port security 4/48 y-y-y-y-y-y > >> + set port security 4/48 z-z-z-z-z-z > >> > >> Is there a simple trick to do so? > > > > I have never used this stuff. If it learns these MACs completely > dynamically, > > then cat5rancid should filter them. from the docs, it seems that it is > also > > possible to configure static MACs, which we should not filter. what is > the > > difference between the config syntax? > > Actually configuration is done via > > set port security 3/1 enable age 10 maximum 1 shutdown 0 violation restrict > > That means: allow 1 MAC address on port 3/1 and forget about it if there is > no traffic for 10 minutes. If you see traffic from another MAC silently > ignore. Hence MACs are learnt dynamically which makes replacements much > easier. Though all MAC addresses currently known on port-security-enabled > ports show up as static entries in the config. the following should filter them. please let me know if that works. thanks! Index: cat5rancid.in =================================================================== RCS file: /home/rancid/.CVS/rancid/bin/cat5rancid.in,v retrieving revision 1.29 diff -c -r1.29 cat5rancid.in *** cat5rancid.in 23 Aug 2003 18:18:10 -0000 1.29 --- cat5rancid.in 23 Aug 2003 18:21:33 -0000 *************** *** 865,870 **** --- 865,871 ---- next; } /fair-queue individual-limit/ && next; + /^ set port security \d+\/\d+ \S+-\S+\-/ && next; # sort ip explicit-paths. if (/^ip explicit-path name (\S+)/) { my($key) = $1; From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 23 18:48:11 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7NImBx05078 for ; Sat, 23 Aug 2003 18:48:11 GMT Received: by guelah.shrubbery.net (Postfix) id D85DF17D32A; Sat, 23 Aug 2003 18:48:10 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id BB37A17D32C; Sat, 23 Aug 2003 18:48:10 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id A220E17D32B; Sat, 23 Aug 2003 18:48:09 +0000 (UTC) Date: Sat, 23 Aug 2003 11:48:09 -0700 From: john heasley To: "Nipper, Arnold" Cc: rancid-discuss@shrubbery.net Subject: Re: supress diffs for certain config parts (port security CatOS) Message-ID: <20030823184809.GB4819@shrubbery.net> References: <003b01c363e6$118b0fe0$6790a8c0@nipper.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003b01c363e6$118b0fe0$6790a8c0@nipper.de> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sat, Aug 16, 2003 at 01:03:46PM +0200, Nipper, Arnold: > Now that rancid is running smooth (thanks to Anchi and John) I would like > rancid to not doing diffs for certain parts of the config? Why? I'm running > port security with dynamic update on the C6509 CatOS boxes and the MAC > addresses hence are part of the config. As these are changing frequently > rancid sends config diffs almost always. > > Is there a knob to turn off diff for certain parts? Or more precisely: where > do I have to insert a "grep -v"? Perhaps this could be made a feature. I.e > specify a file with regexp pattern which will be omitted when doing the > diff? fwiw, It is a goal to add more configurability, likely in/to become 3.0. From owner-rancid-discuss-outgoing@shrubbery.net Sat Aug 23 19:13:38 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7NJDcx06171 for ; Sat, 23 Aug 2003 19:13:38 GMT Received: by guelah.shrubbery.net (Postfix) id 5901A17D327; Sat, 23 Aug 2003 19:13:37 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 3AE7E17D32A; Sat, 23 Aug 2003 19:13:37 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 4E3EF17D329; Sat, 23 Aug 2003 19:13:36 +0000 (UTC) Date: Sat, 23 Aug 2003 12:13:36 -0700 From: john heasley To: "King, David" Cc: rancid-discuss@shrubbery.net Subject: Re: missed cmds under redhat 9.0 Message-ID: <20030823191336.GC4819@shrubbery.net> References: <34B5A8CD1EA62E49AFCD4B8AD1B465AD1EB61C@tiscomex.tiscom.uscg.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34B5A8CD1EA62E49AFCD4B8AD1B465AD1EB61C@tiscomex.tiscom.uscg.mil> User-Agent: Mutt/1.4i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: awe, not the good cheek Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Aug 13, 2003 at 03:52:51PM -0400, King, David: > The perl "study" command appears to cause the problem in RedHat 9. What I > have determined at this point is that study in a sub (like sub ShowVersion) > causes the regexp not to match when it returns to "main". Therefore a line > in the router config is skipped. Remove "study" from the subs that use it > and the problem will go away. (An alternative is to move study after the > "last" statement which is a few lines later. This only causes the last line > before the next command not to be "studied".) > > If you notice, the commands being skipped all follow a command whose output > is parsed by a sub that uses study. > > I haven't determined if this is something specific to the way study is used > in rancid or a general RedHat 9/perl 5.8.0 problem. > > At least, that worked for me, YMMV, > David King use of study was a prayer of squeezing a little more out of perl. :) i have removed them. thanks. From megancablesyngmvtnj41q@msn.com Sun Aug 24 13:24:16 2003 Received: from hotmail.com (bay3-dav138.bay3.hotmail.com [65.54.169.168]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7ODOFx12872 for ; Sun, 24 Aug 2003 13:24:16 GMT Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 24 Aug 2003 06:24:10 -0700 Received: from 80.58.5.44 by bay3-dav138.bay3.hotmail.com with DAV; Sun, 24 Aug 2003 13:24:09 +0000 X-Originating-IP: [80.58.5.44] X-Originating-Email: [megancablesyngmvtnj41q@msn.com] From: "Mariella" To: Subject: A Look At Grants Date: Sun, 24 Aug 2003 09:27:31 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_82JrvFqhSkwV3AaWVFR1lXNTEwOC0yNDYydE1NMVUwNA==X51lhoRAe4YP7Sf8rql455s9341" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Internet Mail Service (5.5.2655.55) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2100.0000 Message-ID: X-OriginalArrivalTime: 24 Aug 2003 13:24:10.0283 (UTC) FILETIME=[00A767B0:01C36A43] ------=_NextPart_82JrvFqhSkwV3AaWVFR1lXNTEwOC0yNDYydE1NMVUwNA==X51lhoRAe4YP7Sf8rql455s9341 Content-Type: text/html; Charset="iso-8859-1" Content-Transfer-Encoding: 7bit

Would You Like A Free Cash Grant?

Click Here To Find Out How

Regardless of your income, credit rating, education or race
You can get your share of this free grant money!

Don't Wait Another Minute! Click Here!


Wish to unsubscribe please visit here
Cs2F664TpW6CFvA517NfA406Y3gHV2m
------=_NextPart_82JrvFqhSkwV3AaWVFR1lXNTEwOC0yNDYydE1NMVUwNA==X51lhoRAe4YP7Sf8rql455s9341-- From owner-rancid-discuss-outgoing@shrubbery.net Sun Aug 24 19:40:13 2003 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7OJeDx06209 for ; Sun, 24 Aug 2003 19:40:13 GMT Received: by guelah.shrubbery.net (Postfix) id 037F617D329; Sun, 24 Aug 2003 19:40:13 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D7A7317D32B; Sun, 24 Aug 2003 19:40:12 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Received: from server.nipper.de (p50842CDD.dip0.t-ipconnect.de [80.132.44.221]) by guelah.shrubbery.net (Postfix) with ESMTP id BAE2817D329; Sun, 24 Aug 2003 19:40:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 42A6B20A9A; Sun, 24 Aug 2003 21:40:07 +0200 (CEST) Received: from server.nipper.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13968-09; Sun, 24 Aug 2003 21:40:06 +0200 (CEST) Received: from Q10 (pc103.nipper.de [192.168.144.103]) by server.nipper.de (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 29DC21ADC0; Sun, 24 Aug 2003 21:40:05 +0200 (CEST) Message-ID: <003801c36a77$856cac10$6790a8c0@nipper.de> From: "Nipper, Arnold" To: "john heasley" Cc: "rancid users" References: <002f01c362ae$92384a60$6790a8c0@nipper.de> <20030814223334.GD19715@shrubbery.net> <00d201c36347$79b72760$6790a8c0@nipper.de> <20030822235716.GN4819@shrubbery.net> <001701c3690a$fdb4cd60$6790a8c0@nipper.de> <20030823182554.GY4819@shrubbery.net> Subject: Re: How to suppress CatOS port security changes (was Re: config fetcher problems - cisco 1760) Date: Sun, 24 Aug 2003 21:40:04 +0200 Organization: nIPper consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at nipper.de Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Saturday, August 23, 2003 8:25 PM, john heasley wrote: >> the following should filter them. please let me know if that works. > thanks! > Thanks! Works great :-)) Arnold From jdavidykproi7@msn.com Thu Aug 28 08:15:51 2003 Received: from hotmail.com (bay5-dav32.bay5.hotmail.com [65.54.173.62]) by ni.shrubbery.net (8.11.6/8.11.6) with ESMTP id h7S8Flx28976 for ; Thu, 28 Aug 2003 08:15:51 GMT Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 28 Aug 2003 01:15:36 -0700 Received: from 211.110.7.220 by bay5-dav32.bay5.hotmail.com with DAV; Thu, 28 Aug 2003 08:15:36 +0000 X-Originating-IP: [211.110.7.220] X-Originating-Email: [jdavidykproi7@msn.com] From: "Segar" To: Subject: Free Big Money Cash Grants, Never Repay Date: Thu, 28 Aug 2003 04:19:12 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_1RKqB8yAblkxR3MyRjY2MDgtMjhKQ0lSTU0xQ0Y3XuXt4tl34A6Y32HO2m58645" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: AOL 7.0 for Windows US sub 10509 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: X-OriginalArrivalTime: 28 Aug 2003 08:15:36.0711 (UTC) FILETIME=[8F5B8170:01C36D3C] ------=_NextPart_1RKqB8yAblkxR3MyRjY2MDgtMjhKQ0lSTU0xQ0Y3XuXt4tl34A6Y32HO2m58645 Content-Type: text/html; Charset="iso-8859-1" Content-Transfer-Encoding: 7bit

Would You Like A Free Cash Grant?

Click Here To Find Out How

Regardless of your income, credit rating, education or race
You can get your share of this free grant money!

Don't Wait Another Minute! Click Here!

------=_NextPart_1RKqB8yAblkxR3MyRjY2MDgtMjhKQ0lSTU0xQ0Y3XuXt4tl34A6Y32HO2m58645--