From: "Otchere, Kofi" To: "'rancid-discuss@shrubbery.net'" Subject: I need some help ? Date: Fri, 14 Mar 2003 09:50:53 -0000 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_01C2EA0F.340CAC50 Content-Type: text/plain Hello, I need some help in adding more commands in the script that runs on the router and the switch. Also, is it possible to use Cisco Pix? Please help Regards Sky Kofi Otchere Networks Engineer Sky Interactive British Sky Broadcasting Ltd T 020 7585 4744 Grant Way, Isleworth F 020 7585 4759 Middlesex TW7 5GQ M 07803 024333 sky.com E kofi.otchere@bskyb.com From: john heasley To: "Otchere, Kofi" Cc: "'rancid-discuss@shrubbery.net'" Subject: Re: I need some help ? Date: Fri, 14 Mar 2003 09:48:40 -0800 Message-ID: <20030314174840.GB9482@shrubbery.net> References: In-Reply-To: Fri, Mar 14, 2003 at 09:50:53AM -0000, Otchere, Kofi: > Hello, > > I need some help in adding more commands in the script that runs on the > router and the switch. Also, is it possible to use Cisco Pix? Currently, bin/rancid will have to be modified to do this. there are is a hash and an array that have to be modified. %commands=( 'show version' => "ShowVersion", 'show redundancy secondary' => "ShowRedundancy", ... this associates a command with a filtering routine. @commands=( "show version", "show redundancy secondary", ... this establishes the order in which commands are executed. From: "Strina Nicolas" To: Subject: Date: Wed, 26 Mar 2003 09:45:10 +0100 Message-ID: Hello, I've just installed Rancid on a Linux BOX, and when i am doing the do-diffs i have a problem with some CISCO commands not listed in the IOS: ===================================== Getting missed routers: round 4. ir00.pul.lsn.lb0.ch.vtxnet.net: missed cmd(s): show bootvar,dir /all sup-microcode:,show boot,show vlan,dir /all slot0:,show c7200,show module,dir /all slot1:,write term,dir /all sup-bootflash:,dir /all nvram:,dir /all slot2:,show diag,show controllers cbus,show env all,dir /all disk0:,dir /all disk1:,show vtp status,dir /all disk2:,show gsr chassis,show variables boot,show controllers,dir /all bootflash:,show diagbus,show flash,show install active ir00.pul.lsn.lb0.ch.vtxnet.net: End of run not found !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Is there any possibilities to disable these commands ? Or is it working anyway ? Regards, Nicolas ---------------------------------------- STRINA Nicolas IP Network Engineer VTX Services - Internet Service Provider Av. de Lavaux, 101 CH-1009 Pully nicolas.strina@smart-telecom.ch http://www.vtx.ch ---------------------------------------- From: "Rizzo, Joe" To: "Strina Nicolas" , Subject: RE: Date: Wed, 26 Mar 2003 05:10:01 -0800 Message-ID: <194487E5B6AC1E4E82FCBD56E5799791BC66A2@eahq-mb3.rws.ad.ea.com> X-OriginalArrivalTime: 26 Mar 2003 13:10:02.0564 (UTC) FILETIME=[02FF8040:01C2F399] Unsupported commands are not a big deal. The 'End of run not found' is not good however. Set 'NOPIPE=YES; export NOPIPE' in /bin/env. Then run do-diffs. A file will be created with the exact output form rancid. The file will be called .raw Review this file to determine why there is not a 'end' to the 'write term' command. Hope this helps, Joe -----Original Message----- From: Strina Nicolas [mailto:nicolas.strina@smart-telecom.ch] Sent: Wednesday, March 26, 2003 2:45 AM To: rancid-discuss@shrubbery.net Subject: Hello, I've just installed Rancid on a Linux BOX, and when i am doing the do-diffs i have a problem with some CISCO commands not listed in the IOS: ===================================== Getting missed routers: round 4. ir00.pul.lsn.lb0.ch.vtxnet.net: missed cmd(s): show bootvar,dir /all sup-microcode:,show boot,show vlan,dir /all slot0:,show c7200,show module,dir /all slot1:,write term,dir /all sup-bootflash:,dir /all nvram:,dir /all slot2:,show diag,show controllers cbus,show env all,dir /all disk0:,dir /all disk1:,show vtp status,dir /all disk2:,show gsr chassis,show variables boot,show controllers,dir /all bootflash:,show diagbus,show flash,show install active ir00.pul.lsn.lb0.ch.vtxnet.net: End of run not found !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Is there any possibilities to disable these commands ? Or is it working anyway ? Regards, Nicolas ---------------------------------------- STRINA Nicolas IP Network Engineer VTX Services - Internet Service Provider Av. de Lavaux, 101 CH-1009 Pully nicolas.strina@smart-telecom.ch http://www.vtx.ch ---------------------------------------- From: john heasley To: "Rizzo, Joe" Cc: Strina Nicolas , rancid-discuss@shrubbery.net Subject: Re: Date: Wed, 26 Mar 2003 13:18:51 -0800 Message-ID: <20030326211851.GM20752@shrubbery.net> References: <194487E5B6AC1E4E82FCBD56E5799791BC66A2@eahq-mb3.rws.ad.ea.com> Mime-Version: 1.0 Wed, Mar 26, 2003 at 05:10:01AM -0800, Rizzo, Joe: > Unsupported commands are not a big deal. The 'End of run not found' is > not good however. > > Set 'NOPIPE=YES; export NOPIPE' in /bin/env. Then run > do-diffs. A file will be created with the exact output form rancid. > The file will be called .raw Review this file to determine > why there is not a 'end' to the 'write term' command. > > Hope this helps, > Joe you also need to specify the '-d' option to rancid, else this file will be deleter. another useful data-point is what appears at the end of the .new file. this will provide clues as to what command's output and maybe what within that output caused the heart-burn. given the first command in the missed list is show bootvar, i suspect it is 'show boot' that triggered it. what o/p do you get from this command? > -----Original Message----- > From: Strina Nicolas [mailto:nicolas.strina@smart-telecom.ch] > Sent: Wednesday, March 26, 2003 2:45 AM > To: rancid-discuss@shrubbery.net > Subject: > > Hello, > > I've just installed Rancid on a Linux BOX, and when i am doing the > do-diffs > i have a problem with some CISCO commands not listed in the IOS: > > ===================================== > Getting missed routers: round 4. > ir00.pul.lsn.lb0.ch.vtxnet.net: missed cmd(s): show bootvar,dir /all > sup-microcode:,show boot,show vlan,dir /all slot0:,show c7200,show > module,dir /all slot1:,write term,dir /all sup-bootflash:,dir /all > nvram:,dir /all slot2:,show diag,show controllers cbus,show env all,dir > /all > disk0:,dir /all disk1:,show vtp status,dir /all disk2:,show gsr > chassis,show > variables boot,show controllers,dir /all bootflash:,show diagbus,show > flash,show install active > ir00.pul.lsn.lb0.ch.vtxnet.net: End of run not found > !ROM Bootstrap: Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE > (fc1) > > Is there any possibilities to disable these commands ? Or is it working > anyway ? > > Regards, > > Nicolas > > ---------------------------------------- > STRINA Nicolas > IP Network Engineer > VTX Services - Internet Service Provider > Av. de Lavaux, 101 CH-1009 Pully > nicolas.strina@smart-telecom.ch > http://www.vtx.ch > ---------------------------------------- >