From owner-rancid-discuss-outgoing@shrubbery.net Wed Sep 7 23:13:06 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 004A511CE2E for ; Wed, 7 Sep 2005 23:13:05 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 7911D864F9; Wed, 7 Sep 2005 16:13:04 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 6B91D86502; Wed, 7 Sep 2005 16:13:04 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id D6DB5864FE; Wed, 7 Sep 2005 16:13:03 -0700 (PDT) Received: from ni.shrubbery.net (ni.shrubbery.net [198.58.5.4]) by guelah.shrubbery.net (Postfix) with ESMTP id 86875864F9 for ; Wed, 7 Sep 2005 16:06:00 -0700 (PDT) Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by ni.shrubbery.net (Postfix) with ESMTP id 19CFA11CE2E for ; Wed, 7 Sep 2005 23:05:59 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j87N5TC8008403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 8 Sep 2005 01:05:34 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j87N5TPX017027 for ; Thu, 8 Sep 2005 01:05:29 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j87N5SvH016997 for ; Thu, 8 Sep 2005 01:05:28 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Wed, 07 Sep 2005 19:05:27 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 7 Sep 2005 19:05:27 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B400.A25B55D1" Subject: help with .cloginrc Date: Wed, 7 Sep 2005 19:05:26 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B8629416815627B9@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: help with .cloginrc Thread-Index: AcW0AKI3mx1LA1PhRJ2KgdCnKG1idg== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 07 Sep 2005 23:05:27.0100 (UTC) FILETIME=[A29B17C0:01C5B400] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B400.A25B55D1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, After Blake's response to my questions, I have set up a RANCID server,= v2=2E3=2E1_1 and am having some problems=2E It is running on FreeBSD 5= =2E4=2E Here is the output from a clogin and a rancid command=2E The= clogin command logs in, but doesn't execute the command=2E The rancid -d= command wasn't very revealing=2E Can anyone offer any advice? Thanks in= advance=2E fwh@ckcus0002-cfgbak01$ clogin -c 'show version' kcscrt1 kcscrt1 spawn telnet kcscrt1 Trying 65=2E212=2E24=2E130=2E=2E=2E Connected to kcscrt1=2Ecgeykcsc=2Ecom=2E Escape character is '^]'=2E SSSSS TTTTTTTTT OOOOO PPPPPPP !! SSS SS TTTTTTTTT OOOOOOO PPP PP !! SSS TTT OOO OOO PPP PP !! SSS TTT OO OO PPPPPPP !! SSS TTT OOO OOO PPP !! SS SSS TTT OOOOOOO PPP SSSSS TTT OOOOO PPP !! THIS DEVICE IS PRIVATELY OWNED=2E ANY UNAUTHORIZED ACCESS IS STRICTLY PROHIBITED=2E VIOLATORS CAN AND WILL BE PROSECUTED TO THE FULLEST EXTENT OF THE LAW=2E Username: Kerberos: No default realm defined for Kerberos! fwh Password: KCSCrt1# Error: TIMEOUT reached fwh@ckcus0002-cfgbak01$ rancid -d kcscrt1 executing clogin -t 90 -c"show version;show redundancy secondary;show= idprom backplane;show install active;show env all;show rsp= chassis-info;show gsr chassis;show boot;show bootvar;show variables= boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir= /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all= disk2:;dir /all harddisk:;dir /all harddiska:;dir /all harddiskb:;dir /all= sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all= slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all= slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all= slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all= sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all= sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all= sec-disk2:;show controllers;show controllers cbus;show diagbus;show= diag;show module;show spe version;show c7200;show vtp status;show= vlan;show running-config;write term" kcscrt1 kcscrt1 clogin error: Error: TIMEOUT reached kcscrt1 clogin error: Error: TIMEOUT reached kcscrt1: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all= sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all= sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir= /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all= slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all= slavenvram:,show flash,dir /all sec-disk2:,dir /all= slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables= boot,show boot,dir /all slavedisk1:,show env all,show module,show= controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir= /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show= vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir= /all slot0:,dir /all sup-microcode:,show vlan,dir /all= slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all= nvram:,show version,show redundancy secondary,show running-config,show= c7200,dir /all slot1: kcscrt1: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all= sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all= sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir= /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all= slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all= slavenvram:,show flash,dir /all sec-disk2:,dir /all= slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables= boot,show boot,dir /all slavedisk1:,show env all,show module,show= controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir= /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show= vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir= /all slot0:,dir /all sup-microcode:,show vlan,dir /all= slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all= nvram:,show version,show redundancy secondary,show running-config,show= c7200,dir /all slot1: kcscrt1: End of run not found kcscrt1: End of run not found ! fwh@ckcus0002-cfgbak01$ ls dead=2Eletter kcscrt1=2Enew fwh@ckcus0002-cfgbak01$ cat kcscrt1=2Enew !RANCID-CONTENT-TYPE: cisco ! ! ! ! ! below is my =2Ecloginrc file in the fwh user account =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 add method * {telnet} {ssh} add autoenable * {0} add enauser * {fwh} add user * {fwh} add password * {password} {password} add cyphertype pix* {des} add user network uunet verio add password *ds3 {password} thanks Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B400.A25B55D1 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable help with =2Ecloginrc

Hello all,
    After Blake's response to my questions, I have set up a= RANCID server, v2=2E3=2E1_1 and am having some problems=2E  It is= running on FreeBSD 5=2E4=2E  Here is the output from a clogin and a= rancid command=2E  The clogin command logs in, but doesn't execute= the command=2E  The rancid -d command wasn't very revealing=2E = Can anyone offer any advice?  Thanks in advance=2E

fwh@ckcus0002-cfgbak01$ clogin -c 'show version' kcscrt1
kcscrt1
spawn telnet kcscrt1
Trying 65=2E212=2E24=2E130=2E=2E=2E
Connected to kcscrt1=2Ecgeykcsc=2Ecom=2E
Escape character is '^]'=2E




            = SSSSS    = TTTTTTTTT      = OOOOO       PPPPPPP    = !!
           = SSS  SS    TTTTTTTTT     = OOOOOOO      PPP   PP   = !!
            = SSS         = TTT        OOO  = OOO     PPP   PP    !!
            &nb= sp; SSS        = TTT        OO    = OO     PPPPPPP     !!
            &nb= sp;  SSS       = TTT        OOO  = OOO    = PPP         !!
            SS = SSS      = TTT        = OOOOOOO      PPP
            = SSSSS       = TTT         = OOOOO      = PPP         !!



            &nb= sp;       THIS DEVICE IS PRIVATELY OWNED= =2E


            = ANY UNAUTHORIZED ACCESS IS STRICTLY PROHIBITED=2E


   VIOLATORS CAN AND WILL BE PROSECUTED TO THE FULLEST EXTENT OF= THE LAW=2E




Username: Kerberos:     No default realm defined for= Kerberos!
fwh
Password:

KCSCrt1#
Error: TIMEOUT reached
fwh@ckcus0002-cfgbak01$ rancid -d kcscrt1
executing clogin -t 90 -c"show version;show redundancy secondary;show= idprom backplane;show install active;show env all;show rsp= chassis-info;show gsr chassis;show boot;show bootvar;show variables= boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir= /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all= disk2:;dir /all harddisk:;dir /all harddiska:;dir /all harddiskb:;dir /all= sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all= slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all= slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all= slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all= sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all= sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all= sec-disk2:;show controllers;show controllers cbus;show diagbus;show= diag;show module;show spe version;show c7200;show vtp status;show= vlan;show running-config;write term" kcscrt1
kcscrt1 clogin error: Error: TIMEOUT reached
kcscrt1 clogin error: Error: TIMEOUT reached
kcscrt1: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all= sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all= sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir= /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all= slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all= slavenvram:,show flash,dir /all sec-disk2:,dir /all= slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables= boot,show boot,dir /all slavedisk1:,show env all,show module,show= controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir= /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show= vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir= /all slot0:,dir /all sup-microcode:,show vlan,dir /all= slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all= nvram:,show version,show redundancy secondary,show running-config,show= c7200,dir /all slot1:
kcscrt1: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all= sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all= sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir= /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all= slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all= slavenvram:,show flash,dir /all sec-disk2:,dir /all= slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables= boot,show boot,dir /all slavedisk1:,show env all,show module,show= controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir= /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show= vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir= /all slot0:,dir /all sup-microcode:,show vlan,dir /all= slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all= nvram:,show version,show redundancy secondary,show running-config,show= c7200,dir /all slot1:
kcscrt1: End of run not found
kcscrt1: End of run not found
!
fwh@ckcus0002-cfgbak01$ ls
dead=2Eletter     kcscrt1=2Enew
fwh@ckcus0002-cfgbak01$ cat kcscrt1=2Enew
!RANCID-CONTENT-TYPE: cisco
!
!
!
!
!

below is my =2Ecloginrc file in the fwh user account
=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

add method       = *           = {telnet} {ssh}
add autoenable   = *           = {0}
add enauser      = *           = {fwh}
add user         = *           = {fwh}
add password     = *           = {password} {password}
add cyphertype   = pix*         {des}

add user         = network      uunet verio
add password     = *ds3         {password}








thanks
Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B400.A25B55D1-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 9 20:31:17 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 86ED411CE2E for ; Fri, 9 Sep 2005 20:31:17 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 8B089864F1; Fri, 9 Sep 2005 13:31:16 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 839CF864FE; Fri, 9 Sep 2005 13:31:16 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id EFB92864F1 for ; Fri, 9 Sep 2005 13:31:14 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j89KV9If011297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 9 Sep 2005 22:31:09 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j89KV8ID003466 for ; Fri, 9 Sep 2005 22:31:08 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j89KV7L1003454 for ; Fri, 9 Sep 2005 22:31:08 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Fri, 09 Sep 2005 16:31:07 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 9 Sep 2005 16:31:07 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B57D.67D1886F" Subject: how do I force the clogin command to use ssh? Date: Fri, 9 Sep 2005 16:31:06 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F270@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how do I force the clogin command to use ssh? Thread-Index: AcW1fWfPGRrIIPXZQOWHl7GSCz/KMw== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 09 Sep 2005 20:31:07.0209 (UTC) FILETIME=[681B5B90:01C5B57D] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B57D.67D1886F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, Thank you for the help so far=2E I have been trying to get my = =2Eclogin file looking correctly and I am starting to confuse myself=2E = When using a * in place of the device field, if I add another line trying= to get RANCID to handle a particular device, will the 2nd line override= the previous line? For example, here is my =2Ecloginrc thus far=2E=2E=2E add method * {telnet} {ssh} #ffi add autoenable fi* {1} #capgemini add autoenable 153=2E207* {1} add autoenable ckc* {1} #cge add autoenable 206=2E245=2E31=2E* {1} #cpk add autoenable 10=2E33* {1} add autoenable 212=2E26* {1} add autoenable rtr* {1} #wwp add autoenable wp* {1} #ypa add autoenable pa* {1} add autoenable * {0} add enauser * {user} add user * {user} add password * {pass} {pass} add cyphertype pixhq* {des} add cyphertype fw* {3des} add cyphertype 206=2E245=2E31=2E* {des} add user *-inter-ds3 {user} add password *ds3 {pass} {pass} add user 206=2E245=2E21=2E* {user} add password 206=2E245=2E21=2E* {pass} add user lb* {user} add password lb* {pass} add user *showcase {user} add password *showcase {pass} add user 206=2E245=2E31=2E* {user} add password 206=2E245=2E31=2E* {pass2} So, my last line, 206=2E245=2E31=2E* {pass2}, does this work in conjunction= with the line add password * {pass}? So everything that is NOT 206= =2E245=2E31=2E* will get pass and everything with 206=2E245=2E31=2E* will= get pass2? Is there anything else that I should be aware of when defining= these devices? Like should I add all of my specific devices first and= then add the wild card? Or what about the pattern matching piece of the= puzzle=2E If I specify cg* and then have 2 devices say, cgk01 and 01cg= will it find both of those, or just the cgk01? Thanks in advance=2E Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trf Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B57D.67D1886F Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable how do I force the clogin command to use ssh?

Hello all,
    Thank you for the help so far=2E  I have been= trying to get my =2Eclogin file looking correctly and I am starting to= confuse myself=2E  When using a * in place of the device field, if I= add another line trying to get RANCID to handle a particular device, will= the 2nd line override the previous line?  For example, here is my = =2Ecloginrc thus far=2E=2E=2E

add method       = *           = {telnet} {ssh}
#ffi
add autoenable   = fi*          {1}
#capgemini
add autoenable    153=2E207*     {1}
add autoenable   = ckc*         {1}
#cge
add autoenable    206=2E245=2E31=2E* {1}
#cpk
add autoenable    10= =2E33*       {1}
add autoenable    212=2E26*     = {1}
add autoenable   = rtr*         {1}
#wwp
add autoenable   = wp*          {1}
#ypa
add autoenable   = pa*          {1}

add autoenable   = *           = {0}
add enauser      = *           = {user}
add user         = *           = {user}
add password     = *            {pass}= {pass}
add cyphertype    pixhq*      = {des}
add cyphertype   = fw*          {3des}
add cyphertype    206=2E245=2E31=2E* {des}

add user         = *-inter-ds3  {user}
add password     = *ds3         {pass} {pass}

add user          206=2E245= =2E21=2E* {user}
add password      206=2E245=2E21=2E* {pass}

add user          lb*= {user}
add password      lb* {pass}

add user          *showcase= {user}
add password      *showcase {pass}

add user          206=2E245= =2E31=2E* {user}
add password      206=2E245=2E31=2E* {pass2}



So, my last line, 206=2E245=2E31=2E* {pass2}, does this work in conjunction= with the line add password  *  {pass}?  So everything that= is NOT 206=2E245=2E31=2E* will get pass and everything with 206=2E245=2E31= =2E* will get pass2?  Is there anything else that I should be aware of= when defining these devices?  Like should I add all of my specific= devices first and then add the wild card?  Or what about the pattern= matching piece of the puzzle=2E  If I specify cg* and then have 2= devices say, cgk01 and 01cg will it find both of those, or just the= cgk01?

Thanks in advance=2E


Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trf
Kansas City, MO 64116
816=2E459=2E5139

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B57D.67D1886F-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 9 20:39:09 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 55AE311CE2E for ; Fri, 9 Sep 2005 20:39:09 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 6D982864FF; Fri, 9 Sep 2005 13:39:08 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 6672886503; Fri, 9 Sep 2005 13:39:08 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id DEDDF864FF for ; Fri, 9 Sep 2005 13:39:06 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j89Kd58S018927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 9 Sep 2005 22:39:06 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j89Kd5ud009126 for ; Fri, 9 Sep 2005 22:39:05 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j89Kd4P9009105 for ; Fri, 9 Sep 2005 22:39:05 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Fri, 09 Sep 2005 16:39:04 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 9 Sep 2005 16:39:03 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B57E.8409A635" Subject: incorrect heading on my last email Date: Fri, 9 Sep 2005 16:39:03 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F271@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: incorrect heading on my last email Thread-Index: AcW1foQHqHPb07CjQ3aPrd19l7xMsQ== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 09 Sep 2005 20:39:03.0921 (UTC) FILETIME=[843FD610:01C5B57E] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B57E.8409A635 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My apologies on the last subject header=2E That was my first question and= I discovered the method to use for setting up devices that only have ssh= connectivity vi the add method command=2E Thanks, Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B57E.8409A635 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable incorrect heading on my last email

My apologies on the last subject header=2E  That was= my first question and I discovered the method to use for setting up= devices that only have ssh connectivity vi the add method command=2E

Thanks,

Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B57E.8409A635-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 9 20:53:29 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 218BD11CE2E for ; Fri, 9 Sep 2005 20:53:29 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 4AB6386503; Fri, 9 Sep 2005 13:53:28 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4483186506; Fri, 9 Sep 2005 13:53:28 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by guelah.shrubbery.net (Postfix) with ESMTP id 59A7886503 for ; Fri, 9 Sep 2005 13:53:27 -0700 (PDT) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail2.panix.com (Postfix) with ESMTP id 871829E1D1; Fri, 9 Sep 2005 16:53:25 -0400 (EDT) Received: (from eravin@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j89KrQ921412; Fri, 9 Sep 2005 16:53:26 -0400 (EDT) Date: Fri, 9 Sep 2005 16:53:26 -0400 From: Ed Ravin To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: cloginrc and multiple matching directives Message-ID: <20050909205326.GG22558@panix.com> References: <0D9EF3454D8EFC4B8BFFD2B862941681B4F270@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681B4F270@caonmastxm03.na.capgemini.com> X-Y-Z: 1, 2, 3? User-Agent: Mutt/1.5.10i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, Sep 09, 2005 at 04:31:06PM -0400, Hopper, Faron W. wrote: ... > So, my last line, 206.245.31.* {pass2}, does this work in > conjunction with the line add password * {pass}? So everything > that is NOT 206.245.31.* will get pass and everything with 206.245.31.* > will get pass2? Is there anything else that I should be aware of > when defining these devices? Like should I add all of my specific > devices first and then add the wild card? Or what about the pattern > matching piece of the puzzle. If I specify cg* and then have 2 > devices say, cgk01 and 01cg will it find both of those, or just > the cgk01? See "man cloginrc", in particular this part: As .cloginrc is searched for a directive matching a hostname, it is always the first matching instance of a directive, one whose hostname glob expression matches the hostname, which is used. For example; looking up the "password" directive for hostname foo in a .cloginrc file containing add password * {bar} {table} add password foo {bar} {table} would return the first line, even though the second is an exact match. From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 9 21:05:32 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id DC55111CE2E for ; Fri, 9 Sep 2005 21:05:31 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id B742686503; Fri, 9 Sep 2005 14:05:30 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AF54786506; Fri, 9 Sep 2005 14:05:30 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 295D286503 for ; Fri, 9 Sep 2005 14:05:28 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j89L5RF1015810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 9 Sep 2005 23:05:27 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j89L5R9q000167 for ; Fri, 9 Sep 2005 23:05:27 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j89L5Ows000071 for ; Fri, 9 Sep 2005 23:05:24 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Fri, 09 Sep 2005 17:05:23 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 9 Sep 2005 17:05:23 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B582.31627442" Subject: add method device {ssh} not working Date: Fri, 9 Sep 2005 17:05:22 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F272@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: add method device {ssh} not working Thread-Index: AcW1gjFg0F2Eq0L/TlWS9tmEyCJ3fA== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 09 Sep 2005 21:05:23.0292 (UTC) FILETIME=[31A0B9C0:01C5B582] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B582.31627442 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, I thought I had figured out how to force a device to use ssh with the= add method device command=2E However, after specifying the add method= command in my =2Ecloginrc file, clogin is still using telnet=2E Can= anyone shed some light on this for me? add autoenable * {0} add enauser * {user} add user * {user} add password * {pass} {pass} add method * {telnet} {ssh} add autoenable 206=2E245=2E31=2E* {1} add user 206=2E245=2E31=2E* {kcsc/user} add password 206=2E245=2E31=2E* {user} add method 206=2E245=2E31* {ssh} =2E=2Ecloginrc: 152 lines, 4403 characters=2E fwh@ckcus0002-cfgbak01$ clogin -f ~/=2Ecloginrc -c 'show version' 206=2E245= =2E31=2E100 206=2E245=2E31=2E100 spawn telnet 206=2E245=2E31=2E100 thanks, Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B582.31627442 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable add method device {ssh} not working

Hello all,
    I thought I had figured out how to force a device to use= ssh with the add method device command=2E  However, after specifying= the add method command in my =2Ecloginrc file, clogin is still using= telnet=2E  Can anyone shed some light on this for me?

add autoenable   = *           = {0}
add enauser      = *           = {user}
add user         = *           = {user}
add password     = *            {pass}= {pass}
add method       = *           = {telnet} {ssh}
add autoenable    206=2E245=2E31=2E*  {1}
add user          206=2E245= =2E31=2E*  {kcsc/user}
add password      206=2E245=2E31=2E* = {user}
add method        206=2E245= =2E31*   {ssh}

=2E=2Ecloginrc: 152 lines, 4403 characters=2E
fwh@ckcus0002-cfgbak01$ clogin -f ~/=2Ecloginrc -c 'show version' 206=2E245= =2E31=2E100
206=2E245=2E31=2E100
spawn telnet 206=2E245=2E31=2E100



thanks,
Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B582.31627442-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 9 21:09:14 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id A34BE11CE2E for ; Fri, 9 Sep 2005 21:09:14 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9C568864F1; Fri, 9 Sep 2005 14:09:13 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 96803864FF; Fri, 9 Sep 2005 14:09:13 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by guelah.shrubbery.net (Postfix) with ESMTP id C6108864F1 for ; Fri, 9 Sep 2005 14:09:11 -0700 (PDT) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail2.panix.com (Postfix) with ESMTP id 5E6319E37C; Fri, 9 Sep 2005 17:09:11 -0400 (EDT) Received: (from eravin@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j89L9B306485; Fri, 9 Sep 2005 17:09:11 -0400 (EDT) Date: Fri, 9 Sep 2005 17:09:11 -0400 From: Ed Ravin To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: add method device {ssh} not working Message-ID: <20050909210911.GA14751@panix.com> References: <0D9EF3454D8EFC4B8BFFD2B862941681B4F272@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681B4F272@caonmastxm03.na.capgemini.com> X-Y-Z: 1, 2, 3? User-Agent: Mutt/1.5.10i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, Sep 09, 2005 at 05:05:22PM -0400, Hopper, Faron W. wrote: > I thought I had figured out how to force a device to use ssh > with the add method device command. However, after specifying the > add method command in my .cloginrc file, clogin is still using > telnet. Can anyone shed some light on this for me? > > add autoenable * {0} > add enauser * {user} > add user * {user} > add password * {pass} {pass} > add method * {telnet} {ssh} ... See my response to your other query - it's the same problem. You've defined a match with "*" for method that tries telnet first, and since that is the first entry in cloginrc, it always matches. From owner-rancid-discuss-outgoing@shrubbery.net Sat Sep 10 04:49:07 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 05C0E11CE2E for ; Sat, 10 Sep 2005 04:49:06 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id D53D8864F1; Fri, 9 Sep 2005 21:49:05 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id CCEA3864FF; Fri, 9 Sep 2005 21:49:05 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 2241D864F1 for ; Fri, 9 Sep 2005 21:49:03 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8A4mvYi003656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 10 Sep 2005 06:48:58 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8A4mvPx016575 for ; Sat, 10 Sep 2005 06:48:57 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j8A4muuQ016571 for ; Sat, 10 Sep 2005 06:48:56 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Sat, 10 Sep 2005 00:48:55 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 10 Sep 2005 00:48:55 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B5C2.F224E71C" Subject: RE: cloginrc and multiple matching directives Date: Sat, 10 Sep 2005 00:48:54 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F274@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cloginrc and multiple matching directives Thread-Index: AcW1gIjEnaFYzJ3FRx+dQWnVSWKcrgAB/7Dy From: "Hopper, Faron W." To: "Ed Ravin" Cc: X-OriginalArrivalTime: 10 Sep 2005 04:48:55.0428 (UTC) FILETIME=[F2F3E440:01C5B5C2] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B5C2.F224E71C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ed, you are quite right=2E It is amazing that things, once asked, seem to= be right in front of you=2E I am grateful for your time and for pointing= that out=2E After staring at the same screen for a while, it seems like= it all blurred together=2E Thank you for your patience and your answers= =2E Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 -----Original Message----- From: Ed Ravin [mailto:eravin@panix=2Ecom] Sent: Fri 9/9/2005 3:53 PM To: Hopper, Faron W=2E Cc: rancid-discuss@shrubbery=2Enet Subject: cloginrc and multiple matching directives =0D On Fri, Sep 09, 2005 at 04:31:06PM -0400, Hopper, Faron W=2E wrote: =2E=2E=2E=2E > So, my last line, 206=2E245=2E31=2E* {pass2}, does this work in > conjunction with the line add password * {pass}? So everything > that is NOT 206=2E245=2E31=2E* will get pass and everything with 206= =2E245=2E31=2E* > will get pass2? Is there anything else that I should be aware of > when defining these devices? Like should I add all of my specific > devices first and then add the wild card? Or what about the pattern > matching piece of the puzzle=2E If I specify cg* and then have 2 > devices say, cgk01 and 01cg will it find both of those, or just > the cgk01? See "man cloginrc", in particular this part: As =2Ecloginrc is searched for a directive matching a hostname, it= is always the first matching instance of a directive, one whose hostname glob expression matches the hostname, which is used=2E For= example; looking up the "password" directive for hostname foo in a =2E= =2Ecloginrc file containing add password * {bar} {table} add password foo {bar} {table} would return the first line, even though the second is an exact match= =2E This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B5C2.F224E71C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: cloginrc and multiple matching directives

Ed, you are quite right=2E  It is amazing that= things, once asked, seem to be right in front of you=2E  I am= grateful for your time and for pointing that out=2E  After staring at= the same screen for a while, it seems like it all blurred together= =2E  Thank you for your patience and your answers=2E

Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139



-----Original Message-----
From: Ed Ravin [mailto:eravin@panix= =2Ecom]
Sent: Fri 9/9/2005 3:53 PM
To: Hopper, Faron  W=2E
Cc: rancid-discuss@shrubbery=2Enet
Subject: cloginrc and multiple matching directives

On Fri, Sep 09, 2005 at 04:31:06PM -0400, Hopper, Faron  W=2E= wrote:
=2E=2E=2E=2E
> So, my last line, 206=2E245=2E31=2E* {pass2}, does this work in
> conjunction with the line add password  *  {pass}?  So= everything
> that is NOT 206=2E245=2E31=2E* will get pass and everything with 206= =2E245=2E31=2E*
> will get pass2?  Is there anything else that I should be aware= of
> when defining these devices?  Like should I add all of my= specific
> devices first and then add the wild card?  Or what about the= pattern
> matching piece of the puzzle=2E  If I specify cg* and then have= 2
> devices say, cgk01 and 01cg will it find both of those, or just
> the cgk01?

See "man cloginrc", in particular this part:

     As  =2Ecloginrc  is  searched = for a directive matching a hostname, it is
     always the first matching instance of a directive,= one  whose hostname
     glob  expression  matches = the  hostname,  which is used=2E  For example;
     looking up the "password" directive for= hostname  foo  in  a =2Ecloginrc
     file containing

            &nb= sp;  add password *   {bar} {table}
            &nb= sp;  add password foo {bar} {table}

     would  return the first line, even though the= second is an exact match=2E


This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B5C2.F224E71C-- From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 15:51:51 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 277AA11CE3E for ; Mon, 12 Sep 2005 15:51:50 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id E1640864FE; Mon, 12 Sep 2005 08:51:49 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D4445864FF; Mon, 12 Sep 2005 08:51:49 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from ni.shrubbery.net (ni.shrubbery.net [198.58.5.4]) by guelah.shrubbery.net (Postfix) with ESMTP id 00847864F1 for ; Mon, 12 Sep 2005 08:51:44 -0700 (PDT) Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by ni.shrubbery.net (Postfix) with ESMTP id 69C2B11CE3E for ; Mon, 12 Sep 2005 15:51:42 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CFpArA021909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 12 Sep 2005 17:51:15 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CFpAcn025056 for ; Mon, 12 Sep 2005 17:51:10 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CFp9GW025003 for ; Mon, 12 Sep 2005 17:51:10 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Mon, 12 Sep 2005 11:51:09 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 12 Sep 2005 11:51:08 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B7B1.CA762E97" Subject: how can I use ssh ver 1 for a device? Date: Mon, 12 Sep 2005 11:51:08 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F27C@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how can I use ssh ver 1 for a device? Thread-Index: AcW3scpx7B+L9sfESNmovExZ/raerw== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 12 Sep 2005 15:51:08.0849 (UTC) FILETIME=[CABE4A10:01C5B7B1] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B7B1.CA762E97 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have been reading the list archives and the man page for cloginrc trying= to determine how to set the =2Ecloginrc file to allow connectivity to a= device that requires ssh version 1=2E The only thing that looks like it= would do this is the add sshcmd <> command=2E =0D The man pages says that to redefine sshcmd, do the following=2E=2E=2E=2E add sshcmd {} is the name of the ssh executable=2E OpenSSH= uses a command-line option to specify the protocol version, but = other implementations use a separate binary such as "ssh1"=2E = sshcmd allows this to be adjusted as necessary for the = local environment=2E Default: ssh so if I set it to add sshcmd {/usr/bin/ssh -1} it would appear to me to set= ssh for every connection to use version 1=2E Is this the right thing to do? I only need it for 3 devices=2E Thanks in advance=2E Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B7B1.CA762E97 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable how can I use ssh ver 1 for a device?

I have been reading the list archives and the man page= for cloginrc trying to determine how to set the =2Ecloginrc file to allow= connectivity to a device that requires ssh version 1=2E  The only= thing that looks like it would do this is the add sshcmd <> command= =2E 

The man pages says that to redefine sshcmd, do the following=2E=2E=2E= =2E

add sshcmd {<ssh>}
            &nb= sp; <ssh>  is  the  name  of  the = ssh  executable=2E   OpenSSH uses a
            &nb= sp; command-line option to specify the protocol version,  but = other
            &nb= sp; implementations  use  a  separate binary such as= "ssh1"=2E  sshcmd
            &nb= sp; allows  this  to  be  adjusted  as = necessary  for   the   local
            &nb= sp; environment=2E

            &nb= sp; Default: ssh

so if I set it to add sshcmd {/usr/bin/ssh -1} it would appear to me to set= ssh for every connection to use version 1=2E
Is this the right thing to do?  I only need it for 3 devices=2E

Thanks in advance=2E

Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B7B1.CA762E97-- From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 17:15:03 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id B17C311CE3E for ; Mon, 12 Sep 2005 17:15:02 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 90E35864F1; Mon, 12 Sep 2005 10:15:01 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8AD5B864FF; Mon, 12 Sep 2005 10:15:01 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 0F1AE864FE; Mon, 12 Sep 2005 10:15:01 -0700 (PDT) Received: from jetjack.onland.dk (jetjack.onland.dk [212.97.207.9]) by guelah.shrubbery.net (Postfix) with ESMTP id 3B5B9864F1 for ; Mon, 12 Sep 2005 03:58:46 -0700 (PDT) Received: from [IPv6:::1] (localhost.onland.dk [IPv6:::1]) by jetjack.onland.dk (8.13.3/8.13.3) with ESMTP id j8CAwVtI062295 for ; Mon, 12 Sep 2005 12:58:33 +0200 (CEST) (envelope-from admin@noonlandspam.dk.onland.dk) Message-ID: <43255F57.3090906@noonlandspam.dk> Date: Mon, 12 Sep 2005 12:58:31 +0200 From: Soren Hansen User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050902) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: Cisco 7206 problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi, I have a Cisco 7206 that I can't collect config from. Seems to be a problem with the command "dir /all bootflash:" E34C9-7206-01#dir /all bootflash: Directory of bootflash:/ %Error calling getdents for bootflash:/ (Invalid file header magic number) No space information available E34C9-7206-01# Clues, anyone? Best regards, Søren Hansen I have done a rancid -d as seen below. The .new file is at the end rancid@lanwan-mon$ rancid -d 10.17.2.7 executing clogin -t 90 -c"show version;show redundancy secondary;show idprom backplane;show install active;show env all;show rsp chassis-info;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all harddiskb:;dir /all sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all sec-disk2:;show controllers;show controllers cbus;show diagbus;show diag;show module;show spe version;show c7200;show vtp status;show vlan;show running-config;write term" 10.17.2.7 PROMPT MATCH: E34C9-7206-01# HIT COMMAND:E34C9-7206-01#show version In ShowVersion: E34C9-7206-01#show version TYPE = 7200 HIT COMMAND:E34C9-7206-01#show redundancy secondary In ShowRedundancy: E34C9-7206-01#show redundancy secondary HIT COMMAND:E34C9-7206-01#show idprom backplane In ShowIDprom: E34C9-7206-01#show idprom backplane HIT COMMAND:E34C9-7206-01#show install active In ShowInstallActive: E34C9-7206-01#show install active HIT COMMAND:E34C9-7206-01#show env all In ShowEnv: E34C9-7206-01#show env all HIT COMMAND:E34C9-7206-01#show rsp chassis-info In ShowRSP: E34C9-7206-01#show rsp chassis-info HIT COMMAND:E34C9-7206-01#show gsr chassis In ShowGSR: E34C9-7206-01#show gsr chassis HIT COMMAND:E34C9-7206-01#show boot In ShowBoot: E34C9-7206-01#show boot HIT COMMAND:E34C9-7206-01#show bootvar In ShowBoot: E34C9-7206-01#show bootvar HIT COMMAND:E34C9-7206-01#show variables boot In ShowBoot: E34C9-7206-01#show variables boot HIT COMMAND:E34C9-7206-01#show flash In ShowFlash: E34C9-7206-01#show flash HIT COMMAND:E34C9-7206-01#dir /all nvram: In DirSlotN: E34C9-7206-01#dir /all nvram: HIT COMMAND:E34C9-7206-01#dir /all bootflash: In DirSlotN: E34C9-7206-01#dir /all bootflash: write(spawn_id=1): broken pipe while executing "send_user -- "$expect_out(buffer)"" invoked from within "expect -nobrace -re+ { exp_continue } -re {^[^ *]*E34C9-7206-01([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user -- "$expect_out(buffer)" } -re..." invoked from within "expect { -re "\b+" { exp_continue } -re "^\[^\n\r *]*$reprompt" { send_user -- "$expect_out(buffer)" } -re "^\[^\n\r]*$reprompt." { send..." invoked from within "if [ string match "*\;*" "$command" ] { set commands [split $command \;] set num_commands [llength $commands] # the pager can not be turned off on ..." (procedure "run_commands" line 34) invoked from within "run_commands $prompt $command" ("foreach" body line 144) 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/local/libexec/rancid/clogin" line 616) 10.17.2.7: missed cmd(s): dir /all slavedisk2:,dir /all sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,dir /all slavedisk1:,show module,show controllers,show diagbus,dir /all slavedisk0:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,show running-config,show c7200,dir /all slot1: 10.17.2.7: missed cmd(s): dir /all slavedisk2:,dir /all sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,dir /all slavedisk1:,show module,show controllers,show diagbus,dir /all slavedisk0:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,show running-config,show c7200,dir /all slot1: 10.17.2.7: End of run not found 10.17.2.7: End of run not found !Flash: bootflash: Directory of bootflash:/ rancid@lanwan-mon$ rancid@lanwan-mon$ cat 10.17.2.7.new !RANCID-CONTENT-TYPE: cisco ! !Chassis type: 7206VXR - a 7200 router !CPU: NPE400, R7000 CPU at 350Mhz, impl 39, Rev 3.2, 256KB L2, 4096KB L3 Cache ! !Memory: main 245760K/16384K !Memory: nvram 125K !Memory: bootflash 8192K !Memory: pcmcia ATA slot0 47040K ! !Processor ID: 23689243 ! !Power: Power supply 1 is Zytek DC Power Supply. Unit is on. !Power: Power supply 2 is Zytek DC Power Supply. Unit is on. ! !Image: Software: C7200-P-M, 12.2(3), RELEASE SOFTWARE (fc1) !Image: Compiled: Wed 18-Jul-01 16:08 by pwade !Image: disk0:c7200-p-mz.122-3.bin ! !ROM Bootstrap: Version 12.1(20000710:044039) [nlaw-121E_npeb 117], DEVELOPMENT SOFTWARE !BOOTLDR: Version 12.1(7)E, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) ! ! ! !Variable: BOOT variable = disk0:c7200-p-mz.122-3.bin,12; !Variable: CONFIG_FILE variable does not exist !Variable: BOOTLDR variable does not exist ! !Flash: nvram: Directory of nvram:/ !Flash: nvram: 108 -rw- 16776 startup-config !Flash: nvram: 109 ---- 27 private-config !Flash: nvram: 110 -rw- 16776 underlying-config !Flash: nvram: 1 -rw- 20 persistent-data !Flash: nvram: 2 -rw- 0 ifIndex-table !Flash: nvram: 129016 bytes total (110113 bytes free) ! !Flash: bootflash: Directory of bootflash:/ rancid@lanwan-mon$ From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 18:46:01 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 326CA11CE3E for ; Mon, 12 Sep 2005 18:46:00 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 16138864FE; Mon, 12 Sep 2005 11:46:00 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 0A8AD86502; Mon, 12 Sep 2005 11:46:00 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 5760D864FF; Mon, 12 Sep 2005 11:45:59 -0700 (PDT) Date: Mon, 12 Sep 2005 11:45:59 -0700 From: john heasley To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: how can I use ssh ver 1 for a device? Message-ID: <20050912184559.GE12135@shrubbery.net> References: <0D9EF3454D8EFC4B8BFFD2B862941681B4F27C@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681B4F27C@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Mon, Sep 12, 2005 at 11:51:08AM -0400, Hopper, Faron W.: > > I have been reading the list archives and the man page for cloginrc trying to determine how to set the .cloginrc file to allow connectivity to a device that requires ssh version 1. The only thing that looks like it would do this is the add sshcmd <> command. > > The man pages says that to redefine sshcmd, do the following.... > > add sshcmd {} > is the name of the ssh executable. OpenSSH uses a > command-line option to specify the protocol version, but other > implementations use a separate binary such as "ssh1". sshcmd > allows this to be adjusted as necessary for the local > environment. > > Default: ssh > > so if I set it to add sshcmd {/usr/bin/ssh -1} it would appear to me to set ssh for every connection to use version 1. > Is this the right thing to do? I only need it for 3 devices. the manpage is missing the glob, sorry. it is the same as the method directive. add sshcmd {} From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 19:16:05 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id BD96D11CE3E for ; Mon, 12 Sep 2005 19:16:05 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id B7269864F1; Mon, 12 Sep 2005 12:16:04 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AB8C9864FF; Mon, 12 Sep 2005 12:16:04 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 0607C864FE; Mon, 12 Sep 2005 12:16:04 -0700 (PDT) Date: Mon, 12 Sep 2005 12:16:03 -0700 From: john heasley To: Soren Hansen Cc: rancid-discuss@shrubbery.net Subject: Re: Cisco 7206 problem Message-ID: <20050912191603.GH12135@shrubbery.net> References: <43255F57.3090906@noonlandspam.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43255F57.3090906@noonlandspam.dk> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Mon, Sep 12, 2005 at 12:58:31PM +0200, Soren Hansen: > Hi, > I have a Cisco 7206 that I can't collect config from. > Seems to be a problem with the command "dir /all bootflash:" > > E34C9-7206-01#dir /all bootflash: > Directory of bootflash:/ > > %Error calling getdents for bootflash:/ (Invalid file header magic number) > No space information available > E34C9-7206-01# there are a few flash-related errors that rancid will ignore, this is not one of them. i'd format the flash and reload the boot image. that should get rid of the error. From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 19:23:11 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id E846C11CE3E for ; Mon, 12 Sep 2005 19:23:10 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id BCFA1864F1; Mon, 12 Sep 2005 12:23:09 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B5A81864FF; Mon, 12 Sep 2005 12:23:09 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id D7243864F1 for ; Mon, 12 Sep 2005 12:23:02 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CJN2da020757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 12 Sep 2005 21:23:02 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CJN1hL010133 for ; Mon, 12 Sep 2005 21:23:01 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CJMo3a009877 for ; Mon, 12 Sep 2005 21:22:51 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Mon, 12 Sep 2005 15:22:50 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 12 Sep 2005 15:22:49 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B7CF.5CC254C0" Subject: RE: how can I use ssh ver 1 for a device? Date: Mon, 12 Sep 2005 15:22:49 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F27E@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how can I use ssh ver 1 for a device? Thread-Index: AcW3xMS1KzBXVB32SfiEsYTfwptU5QABDlqX From: "Hopper, Faron W." To: "Paul Frommeyer" Cc: X-OriginalArrivalTime: 12 Sep 2005 19:22:49.0749 (UTC) FILETIME=[5D11D450:01C5B7CF] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B7CF.5CC254C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paul, Thank you for your response=2E I didn't think of trying the ssh config= =2E I figured that since RANCID was able to pass the hostname and the= cipher type to the ssh executable when it called it, that it would be just= a matter of specifying the protocol=2E I looked at the /etc/ssh_config= and it appears to be using the default of 2,1=2E There was no ~/= =2Essh/config so I am inclined to beleive that it should drop down to= version 1 automagically=2E =0D I created an ~/=2Essh/config file and put this in it hosts x=2Ex=2Ex=2Ex protocol 1 and that allowed me to ssh to those devices=2E =0D Thanks, Faron -----Original Message----- From: Paul Frommeyer [mailto:paul@palas=2Ecom] Sent: Mon 9/12/2005 1:02 PM To: Hopper, Faron W=2E Subject: Re: how can I use ssh ver 1 for a device?=0D =0D In reply to your message of Mon, 12 Sep 2005 11:51:08 -0400: | I have been reading the list archives and the man page for cloginrc= trying=3D | to determine how to set the =3D2Ecloginrc file to allow connectivity to= a=3D | device that requires ssh version 1=3D2E The only thing that looks like= it=3D | would do this is the add sshcmd <> command=3D2E =3D0D Of course, I'm sure There's More Than One Way To Do It, but IMO, you're swimming upstream=2E Were I you, I would pry over at your SSH client setup rather than the RANCID scripts=2E Specifically, IIRC, both SSH2 and OpenSSH allow the specification of which protocol to use as part of a host profile in the ssh_config file (for OpenSSH, it's done with the option keyword "Protocol"; see ssh_config(5) )=2E So, simply create a profile (either in the global server config or for the user RANCID is running as) for the host you need to reach via V1, specifying that only the V1 protocol should be used=2E That should take care of everthing, without having to "explain" anything to RANCID, or specify any command line opts to ssh=2E FWIW, Paul P=2ES=2E As with most things, I've found the O'Reilly book on SSH to be=0D indispensable when wrassling with that particular software, and it has in-depth sections for client configuration=2E Paul Frommeyer Senior Networking Consultant paul@palas= =2Ecom This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B7CF.5CC254C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: how can I use ssh ver 1 for a device?

Paul,
   Thank you for your response=2E  I didn't think of trying= the ssh config=2E  I figured that since RANCID was able to pass the= hostname and the cipher type to the ssh executable when it called it, that= it would be just a matter of specifying the protocol=2E  I looked at= the /etc/ssh_config and it appears to be using the default of 2,1=2E = There was no ~/=2Essh/config so I am inclined to beleive that it should= drop down to version 1 automagically=2E 
    I created an ~/=2Essh/config file and put this in it

hosts x=2Ex=2Ex=2Ex
protocol 1

and that allowed me to ssh to those devices=2E 

Thanks,
Faron

-----Original Message-----
From: Paul Frommeyer [mailto:paul@palas= =2Ecom]
Sent: Mon 9/12/2005 1:02 PM
To: Hopper, Faron  W=2E
Subject: Re: how can I use ssh ver 1 for a device?

In reply to your message of Mon, 12 Sep 2005 11:51:08 -0400:

| I have been reading the list archives and the man page for cloginrc= trying=3D
|  to determine how to set the =3D2Ecloginrc file to allow= connectivity to a=3D
|  device that requires ssh version 1=3D2E  The only thing that= looks like it=3D
|  would do this is the add sshcmd <> command=3D2E =3D0D

Of course, I'm sure There's More Than One Way To Do It, but IMO, you're
swimming upstream=2E Were I you, I would pry over at your SSH client
setup rather than the RANCID scripts=2E Specifically, IIRC, both SSH2= and
OpenSSH allow the specification of which protocol to use as part of a
host profile in the ssh_config file (for OpenSSH, it's done with the= option
keyword "Protocol"; see ssh_config(5) )=2E So, simply create a= profile
(either in the global server config or for the user RANCID is running= as)
for the host you need to reach via V1, specifying that only the V1= protocol
should be used=2E  That should take care of everthing, without having= to
"explain" anything to RANCID, or specify any command line opts to= ssh=2E

FWIW,
        Paul

P=2ES=2E As with most things, I've found the O'Reilly book on SSH to be
indispensable when wrassling with that particular software, and it has
in-depth sections for client configuration=2E

Paul Frommeyer         Senior= Networking= Consultant          &nbs= p;  paul@palas=2Ecom


This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B7CF.5CC254C0-- From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 21:08:46 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id D3A4D11CE3E for ; Mon, 12 Sep 2005 21:08:45 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 727E3864FE; Mon, 12 Sep 2005 14:08:39 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 65A37864FF; Mon, 12 Sep 2005 14:08:39 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id C9416864F1 for ; Mon, 12 Sep 2005 14:08:36 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CL8V4a025883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 12 Sep 2005 23:08:31 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CL8V43006148 for ; Mon, 12 Sep 2005 23:08:31 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j8CL8Ugl006120 for ; Mon, 12 Sep 2005 23:08:30 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Mon, 12 Sep 2005 17:08:29 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 12 Sep 2005 17:08:29 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B7DE.1F6C6A8E" Subject: any follow-up on rancid integration with opennms? Date: Mon, 12 Sep 2005 17:08:28 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F282@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: any follow-up on rancid integration with opennms? Thread-Index: AcW33h9IY6w/lPdyQfOIRtEleIJx/w== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 12 Sep 2005 21:08:29.0587 (UTC) FILETIME=[1FE85630:01C5B7DE] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B7DE.1F6C6A8E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I stumbled upon an email in the list archives of someone trying to= integrate opennms into rancid (or at least using opennms to feed devices= into rancid)=2E Has there been any progress/updates on this? This to me= would be a very handy way of discovering the network and getting the= configs into rancid=2E =0D Thanks, =0D Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B7DE.1F6C6A8E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I stumbled upon= an email in=0D the list archives of someone trying to integrate opennms into rancid (or at= =0D least using opennms to feed devices into rancid)=2E  Has there been= any=0D progress/updates on this?  This to me would be a very handy way of=0D discovering the network and getting the configs into rancid=2E
 
Thanks,
 
Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139
This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B7DE.1F6C6A8E-- From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 12 21:13:29 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 85B1111CE3E for ; Mon, 12 Sep 2005 21:13:29 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 70B0C864FF; Mon, 12 Sep 2005 14:13:28 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 6879186503; Mon, 12 Sep 2005 14:13:28 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from S2.cableone.net (s2.cableone.net [24.116.0.228]) by guelah.shrubbery.net (Postfix) with ESMTP id 510C5864FF for ; Mon, 12 Sep 2005 14:13:26 -0700 (PDT) Received: from [192.168.1.100] (unverified [24.117.73.16]) by S2.cableone.net (CableOne SMTP Service S2) with ESMTP id 29990570 for multiple; Mon, 12 Sep 2005 15:19:18 -0700 Message-ID: <4325EF63.9070908@grote.name> Date: Mon, 12 Sep 2005 15:13:07 -0600 From: Justin Grote User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: any follow-up on rancid integration with opennms? References: <0D9EF3454D8EFC4B8BFFD2B862941681B4F282@caonmastxm03.na.capgemini.com> In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681B4F282@caonmastxm03.na.capgemini.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms080907090909010706080704" X-IP-stats: Incoming Last 0, First 12, in=8, out=0, spam=0 X-External-IP: 24.117.73.16 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a cryptographically signed message in MIME format. --------------ms080907090909010706080704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hopper, Faron W. wrote: > I stumbled upon an email in the list archives of someone trying to > integrate opennms into rancid (or at least using opennms to feed > devices into rancid). Has there been any progress/updates on this? > This to me would be a very handy way of discovering the network and > getting the configs into rancid. > Not that I've seen, however if OpenNMS can export a tab or comma separated list of IP addresses or DNS names, it would be trivial to write a script to convert that list into RANCID format and add those devices to a RANCID group. -- __________________________ Justin Grote Network Architect JWG Networks --------------ms080907090909010706080704 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH4TCC AkswggG0oAMCAQICAw42LDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzA4MTM1MTE1WhcNMDYwMzA4MTM1MTE1 WjBDMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSAwHgYJKoZIhvcNAQkBFhFq dXN0aW5AZ3JvdGUubmFtZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAutQqzFrfSmOU 35//szKNQ2UnvIH8eeb45ch1TM23m2Qp48hYjwzLcR+RZgDBLu3pX9eA33UUKACWxCZLMumT OCT8RrHVIcYPISxoBIXzkqElU2JE+ROoB1nk3B0cC3QWjV6Y4PJfZT0Y1dYKfxV2wpSGDcDe pN52h0bo9FCW+WMCAwEAAaMuMCwwHAYDVR0RBBUwE4ERanVzdGluQGdyb3RlLm5hbWUwDAYD VR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCYrErHf8k+ilkVIikXrzBr3iGSP5zcr11/ fe06atR/i+xORUOBkoEEnTos2aAyAdhvof602gOIhc0H698g0kbC2G6WBVUvDynVFjpD8ipL dazYsqe1xvgz58cOhW/vSDArZ5sRlEl9eiYVZ8p0nTu9sBah/gvbQdx1mmpJneTamjCCAksw ggG0oAMCAQICAw42LDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMc VGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFs IEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzA4MTM1MTE1WhcNMDYwMzA4MTM1MTE1WjBD MR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSAwHgYJKoZIhvcNAQkBFhFqdXN0 aW5AZ3JvdGUubmFtZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAutQqzFrfSmOU35// szKNQ2UnvIH8eeb45ch1TM23m2Qp48hYjwzLcR+RZgDBLu3pX9eA33UUKACWxCZLMumTOCT8 RrHVIcYPISxoBIXzkqElU2JE+ROoB1nk3B0cC3QWjV6Y4PJfZT0Y1dYKfxV2wpSGDcDepN52 h0bo9FCW+WMCAwEAAaMuMCwwHAYDVR0RBBUwE4ERanVzdGluQGdyb3RlLm5hbWUwDAYDVR0T AQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCYrErHf8k+ilkVIikXrzBr3iGSP5zcr11/fe06 atR/i+xORUOBkoEEnTos2aAyAdhvof602gOIhc0H698g0kbC2G6WBVUvDynVFjpD8ipLdazY sqe1xvgz58cOhW/vSDArZ5sRlEl9eiYVZ8p0nTu9sBah/gvbQdx1mmpJneTamjCCAz8wggKo oAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRp bmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMT G1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwt ZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIx CzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSww KgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG 9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6 YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+ uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNV HRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNv bS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAg pB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzR UIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6E sZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341Yh eILcIRk13iSx0x1G/11fZU8xggK6MIICtgIBATBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQK ExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29u YWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMAkGBSsOAwIaBQCgggGnMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA1MDkxMjIxMTMwN1owIwYJKoZIhvcN AQkEMRYEFBUVfpjXd9gJ9Xxl012Xj9OgSD4yMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcN AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC AgEoMHgGCSsGAQQBgjcQBDFrMGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBD b25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFp bCBJc3N1aW5nIENBAgMONiwwegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYTAlpBMSUw IwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMA0GCSqGSIb3DQEBAQUABIGAmrqa F/mwq/9OvTtIEcc/x/CR0GlhUZSoiBAQxyQi9ShJPyeHJ0faCXbQ3iradP8CYWpA4DIXBVhY HLh9cA7E1Ko6i+eMlf2Gu8piptSj3e4i6LXmKXSMzTv6LqxIvbHLYccp1Ju7x6bmpfc81e7J YdaufknJ1KhLUXvlryaVnl8AAAAAAAA= --------------ms080907090909010706080704-- From owner-rancid-discuss-outgoing@shrubbery.net Wed Sep 14 20:25:08 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 06E5411CE3F for ; Wed, 14 Sep 2005 20:25:07 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id CD398864FF; Wed, 14 Sep 2005 13:25:06 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C5E3286506; Wed, 14 Sep 2005 13:25:06 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 3F346864FF for ; Wed, 14 Sep 2005 13:25:00 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8EKOoCr012984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 14 Sep 2005 22:24:55 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8EKOosM001687 for ; Wed, 14 Sep 2005 22:24:50 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j8EKOnaN001677 for ; Wed, 14 Sep 2005 22:24:49 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Wed, 14 Sep 2005 16:24:48 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 14 Sep 2005 16:24:48 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B96A.5A1D47EC" Subject: firewall blade in 6509 system context backup issue Date: Wed, 14 Sep 2005 16:24:47 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F293@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: firewall blade in 6509 system context backup issue Thread-Index: AcW5aln5xSW0tVb5RqurTLCEmedKHQ== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 14 Sep 2005 20:24:48.0188 (UTC) FILETIME=[5A4217C0:01C5B96A] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B96A.5A1D47EC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Well, thanks to everyone's help, I am almost finished setting up RANCID= to retrieve all of my configs=2E I have one last issue that I would like= to ask everyone's opinion on=2E We have 2 new firewall blades for Cisco's= 6500 series switches=2E These firewall blades have the concept of= contexts or virtual firewalls=2E When I use clogin to login into the= virtual firewall, I can issue the changeto command it will= change the context=2E Everything works fine until i try to run clogin -c= "changeto system; show version" hostname=2E I think the problem is that= the prompt changes=2E Is it possible to use the enableprompt to catch= this? I haven't tried it yet, but from reading the man page it doesn't= sound like it will look for a different prompt once I am already logged in= =2E Here is the clogin info=2E bash-3=2E00# clogin ddcxf01c-fw-admin ddcxf01c-fw-admin spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin kcsc\\netcfgbak@ddcxf01c-fw-admin's password: Type help or '?' for a list of available commands=2E ddcxf01c/admin> ddcxf01c/admin> enable Password: ******** ddcxf01c/admin# ddcxf01c/admin# changeto system ddcxf01c# sh ver FWSM Firewall Version 2=2E3(2) FWSM Device Manager Version 4=2E1(1) Compiled on Wed 06-Apr-05 13:08 by dalecki ddcxf01c up 22 days 15 hours Hardware: WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHz Flash =042=2E20 TOSHIBA THNCF128MBA @ 0xc321, 20MB 0: gb-ethernet0: irq 5 1: gb-ethernet1: irq 7 2: ethernet0: irq 11 Licensed Features: Failover: Enabled VPN-DES: Enabled VPN-3DES: Enabled Maximum Interfaces: 256 (per security context) Cut-through Proxy: Enabled Guards: Enabled URL-filtering: Enabled Throughput: Unlimited ISAKMP peers: Unlimited Security Contexts: 20 This machine has an Unrestricted (UR) license=2E Serial Number:=0D Running Activation Key:=0D Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14 2005 ddcxf01c# exit Logoff Thanks in advance, Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B96A.5A1D47EC Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable firewall blade in 6509 system context backup issue

Hello,
    Well, thanks to everyone's help, I am almost finished= setting up RANCID to retrieve all of my configs=2E  I have one last= issue that I would like to ask everyone's opinion on=2E  We have 2= new firewall blades for Cisco's 6500 series switches=2E  These= firewall blades have the concept of contexts or virtual firewalls=2E = When I use clogin to login into the virtual firewall, I can issue the= changeto <context> command it will change the context=2E Everything= works fine until i try to run clogin -c "changeto system; show= version" hostname=2E  I think the problem is that the prompt= changes=2E  Is it possible to use the enableprompt to catch= this?  I haven't tried it yet, but from reading the man page it= doesn't sound like it will look for a different prompt once I am already= logged in=2E  Here is the clogin info=2E


bash-3=2E00# clogin ddcxf01c-fw-admin
ddcxf01c-fw-admin
spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin
kcsc\\netcfgbak@ddcxf01c-fw-admin's password:
Type help or '?' for a list of available commands=2E
ddcxf01c/admin>
ddcxf01c/admin> enable
Password: ********
ddcxf01c/admin#
ddcxf01c/admin# changeto system
ddcxf01c# sh ver

FWSM Firewall Version 2=2E3(2) <system>
FWSM Device Manager Version 4=2E1(1)

Compiled on Wed 06-Apr-05 13:08 by dalecki

ddcxf01c up 22 days 15 hours

Hardware:   WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000= MHz
Flash  =042=2E20    TOSHIBA THNCF128MBA @ 0xc321,= 20MB

0: gb-ethernet0: irq 5
1: gb-ethernet1: irq 7
2: ethernet0: irq 11

Licensed Features:
Failover:          = Enabled
VPN-DES:           = Enabled
VPN-3DES:          = Enabled
Maximum Interfaces: 256 (per security context)
Cut-through Proxy:  Enabled
Guards:           &n= bsp; Enabled
URL-filtering:      Enabled
Throughput:         Unlimited
ISAKMP peers:       Unlimited
Security Contexts:  20

This machine has an Unrestricted (UR) license=2E

Serial Number:
Running Activation Key:
Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14 2005
ddcxf01c# exit

Logoff



Thanks in advance,

Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B96A.5A1D47EC-- From owner-rancid-discuss-outgoing@shrubbery.net Wed Sep 14 20:36:44 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 32D6511CE3F for ; Wed, 14 Sep 2005 20:36:44 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 5876B86506; Wed, 14 Sep 2005 13:36:43 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 51A6E8650A; Wed, 14 Sep 2005 13:36:43 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from claven.harvard.edu (claven.harvard.edu [128.103.208.250]) by guelah.shrubbery.net (Postfix) with ESMTP id 6643786506 for ; Wed, 14 Sep 2005 13:36:37 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by claven.harvard.edu (Postfix) with ESMTP id 5735F498047 for ; Wed, 14 Sep 2005 16:36:35 -0400 (EDT) Received: from claven.harvard.edu ([127.0.0.1]) by localhost (claven [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04036-03 for ; Wed, 14 Sep 2005 16:36:31 -0400 (EDT) Received: from dipsy.laportestyle.org (dsl092-066-176.bos1.dsl.speakeasy.net [66.92.66.176]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by claven.harvard.edu (Postfix) with ESMTP id BF49A498169 for ; Wed, 14 Sep 2005 16:36:30 -0400 (EDT) Received: from [127.0.0.1] by dipsy.laportestyle.org (PGP Universal service); Wed, 14 Sep 2005 16:36:28 -0400 X-PGP-Universal: processed; by dipsy.laportestyle.org on Wed, 14 Sep 2005 16:36:28 -0400 Message-ID: <432889CA.1020206@harvard.edu> Date: Wed, 14 Sep 2005 16:36:26 -0400 From: David LaPorte Reply-To: david_laporte@harvard.edu Organization: Harvard University User-Agent: Thunderbird 1.4 (Macintosh/20050908) MIME-Version: 1.0 To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: firewall blade in 6509 system context backup issue References: <0D9EF3454D8EFC4B8BFFD2B862941681B4F293@caonmastxm03.na.capgemini.com> In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681B4F293@caonmastxm03.na.capgemini.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at harvard.edu Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Just a thought, but try adding a "\n" in there: clogin -c "changeto system\nshow version" hostname Hopper, Faron W. wrote: > Hello, > Well, thanks to everyone's help, I am almost finished setting up > RANCID to retrieve all of my configs. I have one last issue that I > would like to ask everyone's opinion on. We have 2 new firewall blades > for Cisco's 6500 series switches. These firewall blades have the > concept of contexts or virtual firewalls. When I use clogin to login > into the virtual firewall, I can issue the changeto command it > will change the context. Everything works fine until i try to run clogin > -c "changeto system; show version" hostname. I think the problem is > that the prompt changes. Is it possible to use the enableprompt to > catch this? I haven't tried it yet, but from reading the man page it > doesn't sound like it will look for a different prompt once I am already > logged in. Here is the clogin info. > > > bash-3.00# clogin ddcxf01c-fw-admin > ddcxf01c-fw-admin > spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin > kcsc\\netcfgbak@ddcxf01c-fw-admin's password: > Type help or '?' for a list of available commands. > ddcxf01c/admin> > ddcxf01c/admin> enable > Password: ******** > ddcxf01c/admin# > ddcxf01c/admin# changeto system > ddcxf01c# sh ver > > FWSM Firewall Version 2.3(2) > FWSM Device Manager Version 4.1(1) > > Compiled on Wed 06-Apr-05 13:08 by dalecki > > ddcxf01c up 22 days 15 hours > > Hardware: WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHz > Flash 2.20 TOSHIBA THNCF128MBA @ 0xc321, 20MB > > 0: gb-ethernet0: irq 5 > 1: gb-ethernet1: irq 7 > 2: ethernet0: irq 11 > > Licensed Features: > Failover: Enabled > VPN-DES: Enabled > VPN-3DES: Enabled > Maximum Interfaces: 256 (per security context) > Cut-through Proxy: Enabled > Guards: Enabled > URL-filtering: Enabled > Throughput: Unlimited > ISAKMP peers: Unlimited > Security Contexts: 20 > > This machine has an Unrestricted (UR) license. > > Serial Number: > Running Activation Key: > Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14 2005 > ddcxf01c# exit > > Logoff > > > > Thanks in advance, > > Faron Hopper > Capgemini > Network Engineer > 3315 N. Oak Trfy > Kansas City, MO 64116 > 816.459.5139 > > This message contains information that may be privileged or confidential > and is the property of the Capgemini Group. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, > you are not authorized to read, print, retain, copy, disseminate, > distribute, or use this message or any part thereof. If you receive this > message in error, please notify the sender immediately and delete all > copies of this message. > -- David LaPorte, CISSP, CCNP Security Manager, Network and Server Systems Harvard University Information Systems ----------------------------------------------- Email: david_laporte@harvard.edu PGP: 0x4DC3E508 4A1F058DB2B32FEF10A14F6BD370A6AD4DC3E508 From owner-rancid-discuss-outgoing@shrubbery.net Wed Sep 14 21:38:30 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id EAD8411CE3F for ; Wed, 14 Sep 2005 21:38:29 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id CF4318650A; Wed, 14 Sep 2005 14:38:28 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C78A68650D; Wed, 14 Sep 2005 14:38:28 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 691568650A for ; Wed, 14 Sep 2005 14:38:26 -0700 (PDT) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8ELcLkn004214 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 14 Sep 2005 23:38:21 +0200 (MEST) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.13.3/8.13.3) with ESMTP id j8ELcKWe002592 for ; Wed, 14 Sep 2005 23:38:21 +0200 (MEST) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91]) by prvmta2.capgemini.com (8.13.3/8.13.3) with ESMTP id j8ELcJAc002582 for ; Wed, 14 Sep 2005 23:38:20 +0200 (MEST) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Wed, 14 Sep 2005 17:38:19 -0400 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 14 Sep 2005 17:38:18 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5B974.9F14660A" Subject: RE: firewall blade in 6509 system context backup issue Date: Wed, 14 Sep 2005 17:37:59 -0400 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681B4F295@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: firewall blade in 6509 system context backup issue Thread-Index: AcW5bAT3aJwop4kdR3C1CGia2KtRpwACI7Z3 From: "Hopper, Faron W." To: Cc: X-OriginalArrivalTime: 14 Sep 2005 21:38:18.0884 (UTC) FILETIME=[9F3CE440:01C5B974] X-imss-version: 2.031 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B974.9F14660A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I tried adding the \n and it still just hangs=2E Faron Hopper Capgemini Network Engineer 3315 N=2E Oak Trfy Kansas City, MO 64116 816=2E459=2E5139 -----Original Message----- From: David LaPorte [mailto:david_laporte@harvard=2Eedu] Sent: Wed 9/14/2005 3:36 PM To: Hopper, Faron W=2E Cc: rancid-discuss@shrubbery=2Enet Subject: Re: firewall blade in 6509 system context backup issue =0D Just a thought, but try adding a "\n" in there: clogin -c "changeto system\nshow version" hostname Hopper, Faron W=2E wrote: > Hello, > Well, thanks to everyone's help, I am almost finished setting up=0D > RANCID to retrieve all of my configs=2E I have one last issue that I=0D > would like to ask everyone's opinion on=2E We have 2 new firewall blades= =0D > for Cisco's 6500 series switches=2E These firewall blades have the=0D > concept of contexts or virtual firewalls=2E When I use clogin to login=0D > into the virtual firewall, I can issue the changeto command it= =0D > will change the context=2E Everything works fine until i try to run= clogin=0D > -c "changeto system; show version" hostname=2E I think the problem is=0D > that the prompt changes=2E Is it possible to use the enableprompt to=0D > catch this? I haven't tried it yet, but from reading the man page it=0D > doesn't sound like it will look for a different prompt once I am already= =0D > logged in=2E Here is the clogin info=2E >=0D >=0D > bash-3=2E00# clogin ddcxf01c-fw-admin > ddcxf01c-fw-admin > spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin > kcsc\\netcfgbak@ddcxf01c-fw-admin's password: > Type help or '?' for a list of available commands=2E > ddcxf01c/admin> > ddcxf01c/admin> enable > Password: ******** > ddcxf01c/admin# > ddcxf01c/admin# changeto system > ddcxf01c# sh ver >=0D > FWSM Firewall Version 2=2E3(2) > FWSM Device Manager Version 4=2E1(1) >=0D > Compiled on Wed 06-Apr-05 13:08 by dalecki >=0D > ddcxf01c up 22 days 15 hours >=0D > Hardware: WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHz > Flash =042=2E20 TOSHIBA THNCF128MBA @ 0xc321, 20MB >=0D > 0: gb-ethernet0: irq 5 > 1: gb-ethernet1: irq 7 > 2: ethernet0: irq 11 >=0D > Licensed Features: > Failover: Enabled > VPN-DES: Enabled > VPN-3DES: Enabled > Maximum Interfaces: 256 (per security context) > Cut-through Proxy: Enabled > Guards: Enabled > URL-filtering: Enabled > Throughput: Unlimited > ISAKMP peers: Unlimited > Security Contexts: 20 >=0D > This machine has an Unrestricted (UR) license=2E >=0D > Serial Number: > Running Activation Key: > Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14 2005 > ddcxf01c# exit >=0D > Logoff >=0D >=0D >=0D > Thanks in advance, >=0D > Faron Hopper > Capgemini > Network Engineer > 3315 N=2E Oak Trfy > Kansas City, MO 64116 > 816=2E459=2E5139 >=0D > This message contains information that may be privileged or confidential= =0D > and is the property of the Capgemini Group=2E It is intended only for the= =0D > person to whom it is addressed=2E If you are not the intended recipient,= =0D > you are not authorized to read, print, retain, copy, disseminate,=0D > distribute, or use this message or any part thereof=2E If you receive= this=0D > message in error, please notify the sender immediately and delete all=0D > copies of this message=2E >=0D --=0D David LaPorte, CISSP, CCNP Security Manager, Network and Server Systems Harvard University Information Systems ----------------------------------------------- Email: david_laporte@harvard=2Eedu PGP: 0x4DC3E508 4A1F058DB2B32FEF10A14F6BD370A6AD4DC3E508 This message contains information that may be privileged or confidential= and is the property of the Capgemini Group=2E It is intended only for the= person to whom it is addressed=2E If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof=2E If you receive this= message in error, please notify the sender immediately and delete all = copies of this message=2E ------_=_NextPart_001_01C5B974.9F14660A Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: firewall blade in 6509 system context backup issue

I tried adding the \n and it still just hangs=2E


Faron Hopper
Capgemini
Network Engineer
3315 N=2E Oak Trfy
Kansas City, MO 64116
816=2E459=2E5139



-----Original Message-----
From: David LaPorte [mailto:david_laporte@harvard=2Eedu]
Sent: Wed 9/14/2005 3:36 PM
To: Hopper, Faron  W=2E
Cc: rancid-discuss@shrubbery=2Enet
Subject: Re: firewall blade in 6509 system context backup issue

Just a thought, but try adding a "\n" in there:

clogin -c "changeto system\nshow version" hostname


Hopper, Faron W=2E wrote:
> Hello,
>     Well, thanks to everyone's help, I am almost= finished setting up
> RANCID to retrieve all of my configs=2E  I have one last issue= that I
> would like to ask everyone's opinion on=2E  We have 2 new= firewall blades
> for Cisco's 6500 series switches=2E  These firewall blades have= the
> concept of contexts or virtual firewalls=2E  When I use clogin to= login
> into the virtual firewall, I can issue the changeto <context>= command it
> will change the context=2E Everything works fine until i try to run= clogin
> -c "changeto system; show version" hostname=2E  I think= the problem is
> that the prompt changes=2E  Is it possible to use the= enableprompt to
> catch this?  I haven't tried it yet, but from reading the man= page it
> doesn't sound like it will look for a different prompt once I am= already
> logged in=2E  Here is the clogin info=2E
>
>
> bash-3=2E00# clogin ddcxf01c-fw-admin
> ddcxf01c-fw-admin
> spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin
> kcsc\\netcfgbak@ddcxf01c-fw-admin's password:
> Type help or '?' for a list of available commands=2E
> ddcxf01c/admin>
> ddcxf01c/admin> enable
> Password: ********
> ddcxf01c/admin#
> ddcxf01c/admin# changeto system
> ddcxf01c# sh ver
>
> FWSM Firewall Version 2=2E3(2) <system>
> FWSM Device Manager Version 4=2E1(1)
>
> Compiled on Wed 06-Apr-05 13:08 by dalecki
>
> ddcxf01c up 22 days 15 hours
>
> Hardware:   WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000= MHz
> Flash  =042=2E20    TOSHIBA THNCF128MBA @ 0xc321,= 20MB
>
> 0: gb-ethernet0: irq 5
> 1: gb-ethernet1: irq 7
> 2: ethernet0: irq 11
>
> Licensed Features:
> Failover:          = Enabled
>= VPN-DES:           = Enabled
> VPN-3DES:          = Enabled
> Maximum Interfaces: 256 (per security context)
> Cut-through Proxy:  Enabled
>= Guards:           &= nbsp; Enabled
> URL-filtering:      Enabled
> Throughput:        = Unlimited
> ISAKMP peers:       Unlimited
> Security Contexts:  20
>
> This machine has an Unrestricted (UR) license=2E
>
> Serial Number:
> Running Activation Key:
> Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14= 2005
> ddcxf01c# exit
>
> Logoff
>
>
>
> Thanks in advance,
>
> Faron Hopper
> Capgemini
> Network Engineer
> 3315 N=2E Oak Trfy
> Kansas City, MO 64116
> 816=2E459=2E5139
>
> This message contains information that may be privileged or= confidential
> and is the property of the Capgemini Group=2E It is intended only for= the
> person to whom it is addressed=2E If you are not the intended= recipient,
> you are not authorized to read, print, retain, copy, disseminate,
> distribute, or use this message or any part thereof=2E If you receive= this
> message in error, please notify the sender immediately and delete= all
> copies of this message=2E
>

--
David LaPorte, CISSP, CCNP
Security Manager, Network and Server Systems
Harvard University Information Systems
-----------------------------------------------
Email: david_laporte@harvard=2Eedu
   PGP: 0x4DC3E508
       = 4A1F058DB2B32FEF10A14F6BD370A6AD4DC3E508



This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group=2E It is intended only for the person to= whom it is addressed=2E If you are not the intended recipient, you are= not authorized to read, print, retain, copy, disseminate, distribute, or= use this message or any part thereof=2E If you receive this message in= error, please notify the sender immediately and delete all copies of this= message=2E

------_=_NextPart_001_01C5B974.9F14660A-- From owner-rancid-discuss-outgoing@shrubbery.net Thu Sep 15 21:20:32 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id E3DCD11CE2F for ; Thu, 15 Sep 2005 21:20:31 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 17169864FF; Thu, 15 Sep 2005 14:20:31 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 0FAE986506; Thu, 15 Sep 2005 14:20:31 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from brutus.noc.iu.edu (brutus.noc.iu.edu [134.68.14.199]) by guelah.shrubbery.net (Postfix) with ESMTP id 3E50E864FF for ; Thu, 15 Sep 2005 14:20:17 -0700 (PDT) Received: by brutus.noc.iu.edu (Postfix, from userid 1000) id BBFE4140AF; Thu, 15 Sep 2005 16:20:17 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by brutus.noc.iu.edu (Postfix) with ESMTP id BB4C224067 for ; Thu, 15 Sep 2005 16:20:17 -0500 (EST) Date: Thu, 15 Sep 2005 16:20:17 -0500 (EST) From: Chris Gallardo X-X-Sender: wcgallar@brutus.noc.iu.edu To: rancid-discuss@shrubbery.net Subject: ssh and hlogin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I know i brought this topic up a few months ago but has anyone successfully got rancid to work with hp switches particularly 4104GL series switches. If so pleases let me know. My group is trying to get out of using telnet for these type of switches. -- Chris Gallardo Network Services 278-9067 From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 16 03:29:32 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CA1BE11CE2F for ; Fri, 16 Sep 2005 03:29:31 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 925D1864FF; Thu, 15 Sep 2005 20:29:30 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8664A86508; Thu, 15 Sep 2005 20:29:30 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id D217C86506; Thu, 15 Sep 2005 20:29:29 -0700 (PDT) Date: Fri, 16 Sep 2005 03:29:29 +0000 From: john heasley To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: firewall blade in 6509 system context backup issue Message-ID: <20050916032929.GB19117@shrubbery.net> References: <0D9EF3454D8EFC4B8BFFD2B862941681B4F293@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681B4F293@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Sep 14, 2005 at 04:24:47PM -0400, Hopper, Faron W.: > > Hello, > Well, thanks to everyone's help, I am almost finished setting up RANCID to retrieve all of my configs. I have one last issue that I would like to ask everyone's opinion on. We have 2 new firewall blades for Cisco's 6500 series switches. These firewall blades have the concept of contexts or virtual firewalls. When I use clogin to login into the virtual firewall, I can issue the changeto command it will change the context. Everything works fine until i try to run clogin -c "changeto system; show version" hostname. I think the problem is that the prompt changes. Is it possible to use the enableprompt to catch this? I haven't tried it yet, but from reading the man page it doesn't sound like it will look for a different prompt once I am already logged in. Here is the clogin info. no, enableprompt will not do what you want; but, the prompt changing in that manner is likely the problem, since once clogin believes that it has a prompt, it saves a few of the leading characters to try to ensure that matches an actual prompt as it reads through command output. maybe you can get the complete configuration(s) via another method (like via a supervisor of some sort) or change the prompts so that the first 14 characters are the same. From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 16 15:37:24 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2C07011CE2F for ; Fri, 16 Sep 2005 15:37:23 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 78E2A864FF; Fri, 16 Sep 2005 08:37:22 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7376586508; Fri, 16 Sep 2005 08:37:22 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from rly04a.srv.mailcontrol.com (cluster-a.mailcontrol.com [80.69.8.190]) by guelah.shrubbery.net (Postfix) with ESMTP id 61C4A864FF for ; Fri, 16 Sep 2005 08:37:21 -0700 (PDT) Received: from lon-sweeper.flagtelecom.com (mail.flagtelecom.com [62.216.151.5]) by rly04a.srv.mailcontrol.com (MailControl) with ESMTP id j8GFbJkD022240 for ; Fri, 16 Sep 2005 16:37:19 +0100 Received: from lon-ias.flagtelecom.com (unverified) by lon-sweeper.flagtelecom.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Fri, 16 Sep 2005 16:35:24 +0100 Received: by lon-email.flagtelecom.com with Internet Mail Service (5.5.2658.27) id <39H9HA3Z>; Fri, 16 Sep 2005 16:35:18 +0100 Message-ID: <147955311569D511AD0D00508B667530021F1E21@lon-emailcl.flagtelecom.com> From: "Mills, Peter" To: "'rancid-discuss@shrubbery.net'" Subject: FW: Unrecognised prompt using jlogin Date: Fri, 16 Sep 2005 16:35:18 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.27) Content-Type: text/plain X-Scanned-By: MailControl A-05-40-00 (www.mailcontrol.com) on 10.65.0.114 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk It refers to a workaround for unrecognised prompts in the Rancid FAQ but I don't fully understand how to implement. Could you please clarify? Specifically: rancid@re0.cjr02.ldn004> set cli complete-on-space off Disabling complete-on-space rancid@re0.cjr02.ldn004> set cli screen-length 0 Screen length set to 0 rancid@re0.cjr02.ldn004> start shell % Error: TIMEOUT reached <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Processed 1 elements (rancid@nss01 bin)$ Thanks Peter ********************************************************************** This e-mail message is confidential and is intended only for the use of the individual or entity named above and contains information which is or may be confidential, non-public or legally privileged. Any dissemination or distribution of this message other than to its intended recipient is strictly prohibited. You should not copy it or use it for any purpose nor disclose the contents to any other person. If you have received this message in error, please notify us by email to postmaster@flagtelecom.com immediately and delete the original message and all copies from all locations in your computer systems. This e-mail has been swept by Mailsweeper TM for viruses. However, FLAG Telecom cannot accept liability for any damage which you may sustain as a result of software viruses. ********************************************************************** This message has been scanned for viruses by MailControl - www.mailcontrol.com From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 16 16:01:17 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id C6AAA11CE3F for ; Fri, 16 Sep 2005 16:01:16 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9281786508; Fri, 16 Sep 2005 09:01:15 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8BCAE8650C; Fri, 16 Sep 2005 09:01:15 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from nihhubims3.hub.nih.gov (nihhubims3.hub.nih.gov [128.231.90.113]) by guelah.shrubbery.net (Postfix) with ESMTP id 75E8086508 for ; Fri, 16 Sep 2005 09:01:13 -0700 (PDT) Received: by nihhubims3.hub.nih.gov with Internet Mail Service (5.5.2658.27) id ; Fri, 16 Sep 2005 12:01:08 -0400 Message-ID: <71B0C9CB1FF4EA43BB48C08DCFF1A1FF01C1240C@NIHCESMLBX.nih.gov> From: "Gee-clough, Aaron (NIH/CIT)" To: "'Hopper, Faron W.'" Cc: rancid-discuss@shrubbery.net Subject: RE: firewall blade in 6509 system context backup issue Date: Fri, 16 Sep 2005 11:51:56 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.27) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5BAD6.90968A9C" 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_01C5BAD6.90968A9C Content-Type: text/plain Could you assign an IP to the admin context and treat it like a unique device? (Ie ssh to it directly, rather than sessioning to it from the switch.) aaron ------------------ Aaron Gee-Clough DNST/CIT/NEB/NSS Contractor. Geek. _____ From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com] Sent: Wednesday, September 14, 2005 5:38 PM To: david_laporte@harvard.edu Cc: rancid-discuss@shrubbery.net Subject: RE: firewall blade in 6509 system context backup issue I tried adding the \n and it still just hangs. Faron Hopper Capgemini Network Engineer 3315 N. Oak Trfy Kansas City, MO 64116 816.459.5139 -----Original Message----- From: David LaPorte [mailto:david_laporte@harvard.edu ] Sent: Wed 9/14/2005 3:36 PM To: Hopper, Faron W. Cc: rancid-discuss@shrubbery.net Subject: Re: firewall blade in 6509 system context backup issue Just a thought, but try adding a "\n" in there: clogin -c "changeto system\nshow version" hostname Hopper, Faron W. wrote: > Hello, > Well, thanks to everyone's help, I am almost finished setting up > RANCID to retrieve all of my configs. I have one last issue that I > would like to ask everyone's opinion on. We have 2 new firewall blades > for Cisco's 6500 series switches. These firewall blades have the > concept of contexts or virtual firewalls. When I use clogin to login > into the virtual firewall, I can issue the changeto command it > will change the context. Everything works fine until i try to run clogin > -c "changeto system; show version" hostname. I think the problem is > that the prompt changes. Is it possible to use the enableprompt to > catch this? I haven't tried it yet, but from reading the man page it > doesn't sound like it will look for a different prompt once I am already > logged in. Here is the clogin info. > > > bash-3.00# clogin ddcxf01c-fw-admin > ddcxf01c-fw-admin > spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin > kcsc\\netcfgbak@ddcxf01c-fw-admin's password: > Type help or '?' for a list of available commands. > ddcxf01c/admin> > ddcxf01c/admin> enable > Password: ******** > ddcxf01c/admin# > ddcxf01c/admin# changeto system > ddcxf01c# sh ver > > FWSM Firewall Version 2.3(2) > FWSM Device Manager Version 4.1(1) > > Compiled on Wed 06-Apr-05 13:08 by dalecki > > ddcxf01c up 22 days 15 hours > > Hardware: WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHz > Flash 2.20 TOSHIBA THNCF128MBA @ 0xc321, 20MB > > 0: gb-ethernet0: irq 5 > 1: gb-ethernet1: irq 7 > 2: ethernet0: irq 11 > > Licensed Features: > Failover: Enabled > VPN-DES: Enabled > VPN-3DES: Enabled > Maximum Interfaces: 256 (per security context) > Cut-through Proxy: Enabled > Guards: Enabled > URL-filtering: Enabled > Throughput: Unlimited > ISAKMP peers: Unlimited > Security Contexts: 20 > > This machine has an Unrestricted (UR) license. > > Serial Number: > Running Activation Key: > Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14 2005 > ddcxf01c# exit > > Logoff > > > > Thanks in advance, > > Faron Hopper > Capgemini > Network Engineer > 3315 N. Oak Trfy > Kansas City, MO 64116 > 816.459.5139 > > This message contains information that may be privileged or confidential > and is the property of the Capgemini Group. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, > you are not authorized to read, print, retain, copy, disseminate, > distribute, or use this message or any part thereof. If you receive this > message in error, please notify the sender immediately and delete all > copies of this message. > -- David LaPorte, CISSP, CCNP Security Manager, Network and Server Systems Harvard University Information Systems ----------------------------------------------- Email: david_laporte@harvard.edu PGP: 0x4DC3E508 4A1F058DB2B32FEF10A14F6BD370A6AD4DC3E508 This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ------_=_NextPart_001_01C5BAD6.90968A9C Content-Type: text/html RE: firewall blade in 6509 system context backup issue
Could you assign an IP to the admin context and treat it like a unique device?  (Ie ssh to it directly, rather than sessioning to it from the switch.)
 
aaron

------------------
Aaron Gee-Clough
DNST/CIT/NEB/NSS
Contractor.  Geek.

 


From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com]
Sent: Wednesday, September 14, 2005 5:38 PM
To: david_laporte@harvard.edu
Cc: rancid-discuss@shrubbery.net
Subject: RE: firewall blade in 6509 system context backup issue


I tried adding the \n and it still just hangs.


Faron Hopper
Capgemini
Network Engineer
3315 N. Oak Trfy
Kansas City, MO 64116
816.459.5139



-----Original Message-----
From: David LaPorte [mailto:david_laporte@harvard.edu]
Sent: Wed 9/14/2005 3:36 PM
To: Hopper, Faron  W.
Cc: rancid-discuss@shrubbery.net
Subject: Re: firewall blade in 6509 system context backup issue

Just a thought, but try adding a "\n" in there:

clogin -c "changeto system\nshow version" hostname


Hopper, Faron W. wrote:
> Hello,
>     Well, thanks to everyone's help, I am almost finished setting up
> RANCID to retrieve all of my configs.  I have one last issue that I
> would like to ask everyone's opinion on.  We have 2 new firewall blades
> for Cisco's 6500 series switches.  These firewall blades have the
> concept of contexts or virtual firewalls.  When I use clogin to login
> into the virtual firewall, I can issue the changeto <context> command it
> will change the context. Everything works fine until i try to run clogin
> -c "changeto system; show version" hostname.  I think the problem is
> that the prompt changes.  Is it possible to use the enableprompt to
> catch this?  I haven't tried it yet, but from reading the man page it
> doesn't sound like it will look for a different prompt once I am already
> logged in.  Here is the clogin info.
>
>
> bash-3.00# clogin ddcxf01c-fw-admin
> ddcxf01c-fw-admin
> spawn ssh -c 3des -x -l kcsc\netcfgbak ddcxf01c-fw-admin
> kcsc\\netcfgbak@ddcxf01c-fw-admin's password:
> Type help or '?' for a list of available commands.
> ddcxf01c/admin>
> ddcxf01c/admin> enable
> Password: ********
> ddcxf01c/admin#
> ddcxf01c/admin# changeto system
> ddcxf01c# sh ver
>
> FWSM Firewall Version 2.3(2) <system>
> FWSM Device Manager Version 4.1(1)
>
> Compiled on Wed 06-Apr-05 13:08 by dalecki
>
> ddcxf01c up 22 days 15 hours
>
> Hardware:   WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHz
> Flash  2.20    TOSHIBA THNCF128MBA @ 0xc321, 20MB
>
> 0: gb-ethernet0: irq 5
> 1: gb-ethernet1: irq 7
> 2: ethernet0: irq 11
>
> Licensed Features:
> Failover:           Enabled
> VPN-DES:            Enabled
> VPN-3DES:           Enabled
> Maximum Interfaces: 256 (per security context)
> Cut-through Proxy:  Enabled
> Guards:             Enabled
> URL-filtering:      Enabled
> Throughput:         Unlimited
> ISAKMP peers:       Unlimited
> Security Contexts:  20
>
> This machine has an Unrestricted (UR) license.
>
> Serial Number:
> Running Activation Key:
> Configuration last modified by kcsc\netcfgbak at 15:16:53 Sep 14 2005
> ddcxf01c# exit
>
> Logoff
>
>
>
> Thanks in advance,
>
> Faron Hopper
> Capgemini
> Network Engineer
> 3315 N. Oak Trfy
> Kansas City, MO 64116
> 816.459.5139
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient,
> you are not authorized to read, print, retain, copy, disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete all
> copies of this message.
>

--
David LaPorte, CISSP, CCNP
Security Manager, Network and Server Systems
Harvard University Information Systems
-----------------------------------------------
Email: david_laporte@harvard.edu
   PGP: 0x4DC3E508
        4A1F058DB2B32FEF10A14F6BD370A6AD4DC3E508



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

------_=_NextPart_001_01C5BAD6.90968A9C-- From owner-rancid-discuss-outgoing@shrubbery.net Tue Sep 20 15:03:42 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 862D311CE2E for ; Tue, 20 Sep 2005 15:03:42 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 6C1E0864FE; Tue, 20 Sep 2005 08:03:41 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 6314786505; Tue, 20 Sep 2005 08:03:41 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by guelah.shrubbery.net (Postfix) with ESMTP id 72BB5864FE for ; Tue, 20 Sep 2005 08:03:39 -0700 (PDT) Received: by zproxy.gmail.com with SMTP id 13so328689nzn for ; Tue, 20 Sep 2005 08:03:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Te2SfU03F2cuvq4o9C2VMhwvCVc409ix66Vx2OMlizinZqg82g/Kd1GALHiWKz9HV2tNHz7gepTy2Xi3v2W6aG/ugoeoeANv9nqOvbx+CBJjnVtI2Y6cJvy5VD7oEEfoV+LhYJCjnEvZtZyZ+0xI+6ug6Nc2I/6nxbAtf4yeLko= Received: by 10.37.2.6 with SMTP id e6mr4021019nzi; Tue, 20 Sep 2005 08:03:39 -0700 (PDT) Received: by 10.36.56.20 with HTTP; Tue, 20 Sep 2005 08:03:38 -0700 (PDT) Message-ID: Date: Tue, 20 Sep 2005 18:03:39 +0300 From: Kim Onnel Reply-To: karim.adel@gmail.com To: rancid-discuss@shrubbery.net Subject: Rancid not working with Juniper ERX Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_44333_18243682.1127228619024" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk ------=_Part_44333_18243682.1127228619024 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Anyone has=20 ERX#sh ver Juniper Edge Routing Switch ERX-1400 Copyright (c) 1999-2005 Juniper Networks, Inc. All rights reserved. System Release: erx_6-1-1.rel Version: 6.1.1 release-0.0 [BuildId 3631] (June 7, 2005 13:55) System running for: 0 days, 12 hours, 2 minutes, 25 seconds (since TUE SEP 20 2005 04:56:32 CAI) i get the following error: zazu:~/logs> more ERX.20050920.145338 starting: Tue Sep 20 14:53:38 EEST 2005 Trying to get all of the configs. erx: End of run not found ^ =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 Getting missed routers: round 1. erx: End of run not found ^ =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 Getting missed routers: round 2. erx: End of run not found ^ =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 Getting missed routers: round 3. erx: End of run not found ^ =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 Getting missed routers: round 4. erx: End of run not found ^ cvs diff: Diffing . cvs diff: Diffing configs cvs commit: Examining . cvs commit: Examining configs ending: Tue Sep 20 15:01:46 EEST 2005 zazu:~/logs> zazu:~/ERX> more router.db erx:erx:up zazu:~/ERX> ------=_Part_44333_18243682.1127228619024 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

Anyone has

ERX#sh ver
Juniper Edge Routing Switch ERX-1400
Copyright (c) 1999-2005 Juniper Networks, Inc.  All rights reserved. System Release: erx_6-1-1.rel
        Version: 6.1.1 release-0.0 [Buil= dId 3631]   (June 7, 2005  13:55)
System running for: 0 days, 12 hours, 2 minutes, 25 seconds
        (since TUE SEP 20 2005 04:56:32 = CAI)

i get the following error:


zazu:~/logs> more ERX.20050920.145338
starting: Tue Sep 20 14:53:38 EEST 2005



Trying to get all of the configs.
erx: End of run not found
            &nb= sp;  ^
=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
Getting missed routers: round 1.
erx: End of run not found
            &nb= sp;  ^
=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
Getting missed routers: round 2.
erx: End of run not found
            &nb= sp;  ^
=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
Getting missed routers: round 3.
erx: End of run not found
            &nb= sp;  ^
=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
Getting missed routers: round 4.
erx: End of run not found
            &nb= sp;  ^

cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs

ending: Tue Sep 20 15:01:46 EEST 2005
zazu:~/logs>


zazu:~/ERX> more router.db
erx:erx:up
zazu:~/ERX>



------=_Part_44333_18243682.1127228619024-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 23 17:25:30 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 95AD511CE2E for ; Fri, 23 Sep 2005 17:25:30 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 3B44E864F1; Fri, 23 Sep 2005 10:25:29 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2DD86864FF; Fri, 23 Sep 2005 10:25:29 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mail131.messagelabs.com (mail131.messagelabs.com [216.82.242.99]) by guelah.shrubbery.net (Postfix) with SMTP id 1D9A6864F1 for ; Fri, 23 Sep 2005 10:25:27 -0700 (PDT) X-VirusChecked: Checked X-Env-Sender: stpierce@att.com X-Msg-Ref: server-2.tower-131.messagelabs.com!1127496284!10605139!13 X-StarScan-Version: 5.4.15; banners=-,-,- X-Originating-IP: [192.128.167.132] Received: (qmail 21731 invoked from network); 23 Sep 2005 17:25:26 -0000 Received: from unknown (HELO attrh2i.attrh.att.com) (192.128.167.132) by server-2.tower-131.messagelabs.com with SMTP; 23 Sep 2005 17:25:26 -0000 Received: from acclust03evs1.ugd.att.com (135.37.16.10) by attrh2i.attrh.att.com (7.2.052) id 432D9032000FC0E3 for rancid-discuss@shrubbery.net; Fri, 23 Sep 2005 13:25:26 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Clogin Options Date: Fri, 23 Sep 2005 13:25:25 -0400 Message-ID: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Clogin Options Thread-Index: AcXAY8kFIDsNzYdgRQmbUHrcpumyCQ== From: "Pierce, Steven T (Steve), CMO" To: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk All-- I'm a big fan of the "clogin" script. I would like to use this script to be able to send configuration changes to many routers on my network. I understand how to make the script reference another file for the commands, but I don't see an option to reference a file for a list of routers. Is there a way to do this? It would be much easier than listing out all the devices with semi-colons. Steve=20 From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 23 17:29:14 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 18F9511CE2E for ; Fri, 23 Sep 2005 17:29:14 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 30F53864FF; Fri, 23 Sep 2005 10:29:13 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2B15E86506; Fri, 23 Sep 2005 10:29:13 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 7324186505; Fri, 23 Sep 2005 10:29:12 -0700 (PDT) Date: Fri, 23 Sep 2005 10:29:12 -0700 From: john heasley To: "Pierce, Steven T (Steve), CMO" Cc: rancid-discuss@shrubbery.net Subject: Re: Clogin Options Message-ID: <20050923172912.GF21709@shrubbery.net> References: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Sep 23, 2005 at 01:25:25PM -0400, Pierce, Steven T (Steve), CMO: > All-- > > I'm a big fan of the "clogin" script. I would like to use this script > to be able to send configuration changes to many routers on my network. > I understand how to make the script reference another file for the > commands, but I don't see an option to reference a file for a list of > routers. Is there a way to do this? It would be much easier than > listing out all the devices with semi-colons. > > Steve > clogin -s script rtr1 rtr2 rtr3 ... or clogin -s script `cat routerlist` or cat routerlist | xargs clogin -s script From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 23 18:22:22 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4CE7A11CE2E for ; Fri, 23 Sep 2005 18:22:22 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 3CE5486508; Fri, 23 Sep 2005 11:22:21 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 372CB8650A; Fri, 23 Sep 2005 11:22:21 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from trotsky.rauhaus.org (trotsky.rauhaus.org [64.122.164.21]) by guelah.shrubbery.net (Postfix) with ESMTP id 26B1186506; Fri, 23 Sep 2005 11:22:19 -0700 (PDT) Received: by trotsky.rauhaus.org (Postfix, from userid 1000) id BBDB31A18EF; Fri, 23 Sep 2005 11:22:15 -0700 (PDT) Date: Fri, 23 Sep 2005 11:22:15 -0700 To: john heasley Cc: "Pierce, Steven T (Steve), CMO" , rancid-discuss@shrubbery.net Subject: Re: Clogin Options Message-ID: <20050923182215.GC899@rauhaus.org> References: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.com> <20050923172912.GF21709@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050923172912.GF21709@shrubbery.net> X-Mailer: Mutt http://www.mutt.org/ X-Uptime: 205 days X-URL: http://www.rauhaus.org/~srau/ X-Location: Portland, OR, USA X-Editor: Vim http://www.vim.org/ User-Agent: Mutt/1.5.10i From: srau@rauhaus.org (Stafford A. Rau) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I often use this sort of thing: #!/usr/bin/perl -w my @routers; my $clogin = "/usr/local/rancid2/bin/clogin"; my $clogin_cmd = "-c conf t\nconfig line blah\nconfig line 2 blah\nexit\nwrite\n\n"; open ROUTERDB, "/usr/local/rancid2/group_name/router.db" or die "Can't open router.db: $!"; while () { if ( /\:down$/ ) { next; } s/\:.*$//; push @routers, ($_); } for my $router (@routers) { chomp $router; print "===$router===\n"; system ( "$clogin", "$clogin_cmd", "$router" ); } For more complicated configs, I use clogin to just tell the router to do a copy tftp: run; write; and I put the config in a tftp server accessible file. --Stafford From owner-rancid-discuss-outgoing@shrubbery.net Fri Sep 23 20:08:01 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 89FF611CE2E for ; Fri, 23 Sep 2005 20:08:01 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 378F78650A; Fri, 23 Sep 2005 13:08:00 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2B3578650C; Fri, 23 Sep 2005 13:08:00 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 7DCFD8650B; Fri, 23 Sep 2005 13:07:59 -0700 (PDT) Date: Fri, 23 Sep 2005 13:07:59 -0700 From: john heasley To: "Stafford A. Rau" Cc: rancid-discuss@shrubbery.net Subject: Re: Clogin Options Message-ID: <20050923200759.GK21709@shrubbery.net> References: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.com> <20050923172912.GF21709@shrubbery.net> <20050923182215.GC899@rauhaus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050923182215.GC899@rauhaus.org> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk you could stir in par(1) and do that in parallel. Fri, Sep 23, 2005 at 11:22:15AM -0700, Stafford A. Rau: > I often use this sort of thing: > > #!/usr/bin/perl -w > > my @routers; > my $clogin = "/usr/local/rancid2/bin/clogin"; > my $clogin_cmd = "-c conf t\nconfig line blah\nconfig line 2 blah\nexit\nwrite\n\n"; > > open ROUTERDB, "/usr/local/rancid2/group_name/router.db" or > die "Can't open router.db: $!"; > while () { > if ( /\:down$/ ) { next; } > s/\:.*$//; > push @routers, ($_); > } > > for my $router (@routers) { > chomp $router; > print "===$router===\n"; > system ( "$clogin", "$clogin_cmd", "$router" ); > } > > For more complicated configs, I use clogin to just tell the router to do > a copy tftp: run; write; and I put the config in a tftp server > accessible file. > > --Stafford From owner-rancid-discuss-outgoing@shrubbery.net Sat Sep 24 02:41:43 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 17E4D11CE2E for ; Sat, 24 Sep 2005 02:41:42 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id E49CC8650F; Fri, 23 Sep 2005 19:41:41 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id DD5F686512; Fri, 23 Sep 2005 19:41:41 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mail.padfoot.com (mail.PADFOOT.COM [198.137.194.43]) by guelah.shrubbery.net (Postfix) with ESMTP id DA1D48650D; Fri, 23 Sep 2005 19:41:35 -0700 (PDT) Received: from peeves.padfoot.com (pool-151-196-169-180.balt.east.verizon.net [151.196.169.180]) (using TLSv1 with cipher DHE-DSS-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.padfoot.com (Postfix) with ESMTP id 4E287A106B; Fri, 23 Sep 2005 22:41:28 -0400 (EDT) Date: Fri, 23 Sep 2005 22:42:15 -0400 From: Hank Kilmer To: john heasley , "Pierce, Steven T (Steve), CMO" Cc: rancid-discuss@shrubbery.net Subject: Re: Clogin Options Message-ID: <1A5140B8CFA6DC9DDFE66452@peeves.padfoot.com> In-Reply-To: <20050923172912.GF21709@shrubbery.net> References: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.c om> <20050923172912.GF21709@shrubbery.net> X-Mailer: Mulberry/3.1.6 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --On Friday, September 23, 2005 10:29 AM -0700 john heasley wrote: > Fri, Sep 23, 2005 at 01:25:25PM -0400, Pierce, Steven T (Steve), CMO: >> All-- >> >> I'm a big fan of the "clogin" script. I would like to use this script >> to be able to send configuration changes to many routers on my network. >> I understand how to make the script reference another file for the >> commands, but I don't see an option to reference a file for a list of >> routers. Is there a way to do this? It would be much easier than >> listing out all the devices with semi-colons. >> >> Steve >> > > clogin -s script rtr1 rtr2 rtr3 ... > > or > clogin -s script `cat routerlist` > > or > cat routerlist | xargs clogin -s script You can also do the routers in parallel with par. From owner-rancid-discuss-outgoing@shrubbery.net Sat Sep 24 02:48:55 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 9BEA811CE2E for ; Sat, 24 Sep 2005 02:48:55 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id A4B0786512; Fri, 23 Sep 2005 19:48:54 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9E71086515; Fri, 23 Sep 2005 19:48:54 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by guelah.shrubbery.net (Postfix) with ESMTP id 9507F86512; Fri, 23 Sep 2005 19:48:53 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtp (Exim 4.51 (FreeBSD)) id 1EJ05p-0002xc-Q8; Sat, 24 Sep 2005 02:48:49 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com) by roam.psg.com with esmtp (Exim 4.52 (FreeBSD)) id 1EJ05o-000MSO-QE; Fri, 23 Sep 2005 16:48:48 -1000 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17204.48784.104674.660146@roam.psg.com> Date: Fri, 23 Sep 2005 16:48:48 -1000 To: Hank Kilmer Cc: john heasley , "Pierce, Steven T (Steve), CMO" , rancid-discuss@shrubbery.net Subject: Re: Clogin Options References: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.c om> <20050923172912.GF21709@shrubbery.net> <1A5140B8CFA6DC9DDFE66452@peeves.padfoot.com> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > You can also do the routers in parallel with par. how about something at the opposite end of the spectrum, stop as soon as anything fails? randy From owner-rancid-discuss-outgoing@shrubbery.net Sat Sep 24 05:59:38 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id A9C6E11CE2E for ; Sat, 24 Sep 2005 05:59:38 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 6894186515; Fri, 23 Sep 2005 22:59:37 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 60ED086517; Fri, 23 Sep 2005 22:59:37 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id B025486516; Fri, 23 Sep 2005 22:59:36 -0700 (PDT) Date: Fri, 23 Sep 2005 22:59:36 -0700 From: john heasley To: Kim Onnel Cc: rancid-discuss@shrubbery.net Subject: Re: Rancid not working with Juniper ERX Message-ID: <20050924055936.GS21709@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Tue, Sep 20, 2005 at 06:03:39PM +0300, Kim Onnel: > Hi, > > Anyone has > > ERX#sh ver > Juniper Edge Routing Switch ERX-1400 > Copyright (c) 1999-2005 Juniper Networks, Inc. All rights reserved. > System Release: erx_6-1-1.rel > Version: 6.1.1 release-0.0 [BuildId 3631] (June 7, 2005 13:55) > System running for: 0 days, 12 hours, 2 minutes, 25 seconds > (since TUE SEP 20 2005 04:56:32 CAI) > > i get the following error: I dont have an erx, jerancid may have an bug wrt this newer release. Does clogin -c 'show vers;show vers' work? what is the output from jerancid -dl erx? > > zazu:~/logs> more ERX.20050920.145338 > starting: Tue Sep 20 14:53:38 EEST 2005 > > > > Trying to get all of the configs. > erx: End of run not found > ^ > ===================================== > Getting missed routers: round 1. > erx: End of run not found > ^ > ===================================== > Getting missed routers: round 2. > erx: End of run not found > ^ > ===================================== > Getting missed routers: round 3. > erx: End of run not found > ^ > ===================================== > Getting missed routers: round 4. > erx: End of run not found > ^ > > cvs diff: Diffing . > cvs diff: Diffing configs > cvs commit: Examining . > cvs commit: Examining configs > > ending: Tue Sep 20 15:01:46 EEST 2005 > zazu:~/logs> > > > zazu:~/ERX> more router.db > erx:erx:up > zazu:~/ERX> From owner-rancid-discuss-outgoing@shrubbery.net Sat Sep 24 06:45:57 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4B5FC11CE2E for ; Sat, 24 Sep 2005 06:45:57 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 3D91686518; Fri, 23 Sep 2005 23:45:56 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 3787C8651B; Fri, 23 Sep 2005 23:45:56 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 23D448651A; Fri, 23 Sep 2005 23:45:55 -0700 (PDT) Date: Fri, 23 Sep 2005 23:45:55 -0700 From: john heasley To: Randy Bush Cc: Hank Kilmer , john heasley , "Pierce, Steven T (Steve), CMO" , rancid-discuss@shrubbery.net Subject: Re: Clogin Options Message-ID: <20050924064555.GU21709@shrubbery.net> References: <703B56AF3EFA6D488043B41602FB32170B324F42@ACCLUST03EVS1.ugd.att.com> <20050923172912.GF21709@shrubbery.net> <1A5140B8CFA6DC9DDFE66452@peeves.padfoot.com> <17204.48784.104674.660146@roam.psg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17204.48784.104674.660146@roam.psg.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Sep 23, 2005 at 04:48:48PM -1000, Randy Bush: > > You can also do the routers in parallel with par. > > how about something at the opposite end of the spectrum, stop > as soon as anything fails? > > randy unfortunately the login scripts all exit 0, assuming they get to the point of logging into the device. yes, that needs to be fixed. but, you can wrap it; clogin device |& grep -v Error: exit $? From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 26 14:59:13 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id A055411CE2E for ; Mon, 26 Sep 2005 14:59:13 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 6F95886506; Mon, 26 Sep 2005 07:59:12 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 63C5486508; Mon, 26 Sep 2005 07:59:12 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by guelah.shrubbery.net (Postfix) with ESMTP id 450A986505 for ; Mon, 26 Sep 2005 07:59:10 -0700 (PDT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j8QEx5iH020224 for ; Mon, 26 Sep 2005 10:59:06 -0400 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j8QEx5V13926 for ; Mon, 26 Sep 2005 10:59:05 -0400 Received: from [172.16.2.246] (brasov.stuttgart.redhat.com [172.16.2.246]) by pobox.stuttgart.redhat.com (8.12.8/8.12.8) with ESMTP id j8QEx4Bv012345 for ; Mon, 26 Sep 2005 16:59:04 +0200 Message-ID: <43380CB8.8080904@redhat.com> Date: Mon, 26 Sep 2005 16:59:04 +0200 From: Michael Stefaniuc Organization: Red Hat GmbH User-Agent: Mozilla Thunderbird 1.0.6-1.1.rhel3 (X11/20050808) X-Accept-Language: en-us, en MIME-Version: 1.0 To: rancid-discuss@shrubbery.net Subject: rancid srpm/spec file? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello, does a source rpm or spec file exist for rancid? I've looked at the download area, searched the mailing list and on google but couldn't find one. If not i will have to make one but starting with an exiting one would have saved time. thanks bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 Sr. Network Engineer Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani@redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 26 15:19:11 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 2AB0A11CE2E for ; Mon, 26 Sep 2005 15:19:10 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 06B6A8650A; Mon, 26 Sep 2005 08:19:10 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id EF8458650B; Mon, 26 Sep 2005 08:19:09 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from alchemy.ameslab.gov (alchemy.ameslab.gov [147.155.6.118]) by guelah.shrubbery.net (Postfix) with ESMTP id D632486508 for ; Mon, 26 Sep 2005 08:19:07 -0700 (PDT) Received: from CONVERSION-DAEMON.ameslab.gov by ameslab.gov (PMDF V6.2-1x9 #31054) id <0INF00H01JVKQJ@ameslab.gov> for rancid-discuss@shrubbery.net; Mon, 26 Sep 2005 10:19:03 -0500 (CDT) Received: from stephens-is.ameslab.gov (stephens-is.ameslab.gov [147.155.6.178]) by ameslab.gov (PMDF V6.2-1x9 #31054) with ESMTPS id <0INF009TPJVJTB@ameslab.gov> for rancid-discuss@shrubbery.net; Mon, 26 Sep 2005 10:18:55 -0500 (CDT) Date: Mon, 26 Sep 2005 10:18:54 -0500 From: "Douglas C. Stephens" Subject: clogin for Avaya Pxxx series switches? To: rancid-discuss@shrubbery.net Message-id: <6.2.1.2.2.20050926101244.045d7220@imap.ameslab.gov> X-Envelope-from: stephens@ameslab.gov MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Content-type: text/plain; charset=us-ascii Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I've been using RANCID and clogin very successfully on all my Cisco routers. However, there are a large gaggle of Avaya P580, P550, P330, P130, and P120 switches on my network that I would like to track and archive their configurations. I realize the Avaya P330 and lower switches have a very un-Cisco like syntax, but the Avaya P550 and P580 series (originally derived from the DEC/Prominet P550) switches have a command flow for viewing the switch configuration that is very similar to a Cisco router (except for the logout sequence, which is exit/exit instead of logout). I was wondering if any readers of this list have attempted to adapt clogin or one of its RANCID brethren to work on any of these classes of Avaya switches. Thanks. -- Douglas C. Stephens | Network/DNS/Unix/WinNT/VMS Administrator System Support Specialist | Postmaster / Webmaster Information Systems | Phone: (515) 294-6102 Ames Laboratory, US DOE | Email: stephens@ameslab.gov From owner-rancid-discuss-outgoing@shrubbery.net Mon Sep 26 18:03:17 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 1CA5711CE2E for ; Mon, 26 Sep 2005 18:03:16 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id A702086505; Mon, 26 Sep 2005 11:03:15 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A0CC386508; Mon, 26 Sep 2005 11:03:15 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id F306586506; Mon, 26 Sep 2005 11:03:14 -0700 (PDT) Date: Mon, 26 Sep 2005 11:03:14 -0700 From: john heasley To: "Douglas C. Stephens" Cc: rancid-discuss@shrubbery.net Subject: Re: clogin for Avaya Pxxx series switches? Message-ID: <20050926180314.GJ28462@shrubbery.net> References: <6.2.1.2.2.20050926101244.045d7220@imap.ameslab.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.1.2.2.20050926101244.045d7220@imap.ameslab.gov> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Mon, Sep 26, 2005 at 10:18:54AM -0500, Douglas C. Stephens: > I've been using RANCID and clogin very successfully on all my Cisco routers. However, > there are a large gaggle of Avaya P580, P550, P330, P130, and P120 switches on my network > that I would like to track and archive their configurations. I realize the Avaya P330 and > lower switches have a very un-Cisco like syntax, but the Avaya P550 and P580 series > (originally derived from the DEC/Prominet P550) switches have a command flow for viewing > the switch configuration that is very similar to a Cisco router (except for the logout > sequence, which is exit/exit instead of logout). > > I was wondering if any readers of this list have attempted to adapt clogin or one of its > RANCID brethren to work on any of these classes of Avaya switches. If it looks like a cisco, clogin will probably just work. if the others are CLI-driven, it should be possible to make those work. the ones that are utterly frustrating are the menu driven ones and those that (unnecessarily) use VT control codes to manipulate the screen. From owner-rancid-discuss-outgoing@shrubbery.net Wed Sep 28 22:46:48 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 27FB211CE2E for ; Wed, 28 Sep 2005 22:46:47 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id D7E9686505; Wed, 28 Sep 2005 15:46:46 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id CFAE28650A; Wed, 28 Sep 2005 15:46:46 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from S4.cableone.net (s4.cableone.net [24.116.0.230]) by guelah.shrubbery.net (Postfix) with ESMTP id B345E86505 for ; Wed, 28 Sep 2005 15:46:45 -0700 (PDT) Received: from [192.168.0.105] (unverified [24.116.16.21]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 32190018 for multiple; Wed, 28 Sep 2005 15:59:04 -0700 Message-ID: <433B1D2C.4070106@grote.name> Date: Wed, 28 Sep 2005 16:46:04 -0600 From: Justin Grote User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: Michael Stefaniuc Cc: rancid-discuss@shrubbery.net Subject: Re: rancid srpm/spec file? References: <43380CB8.8080904@redhat.com> In-Reply-To: <43380CB8.8080904@redhat.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050102010507040106070608" X-IP-stats: Incoming Last 0, First 49, in=30, out=0, spam=0 X-External-IP: 24.116.16.21 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a cryptographically signed message in MIME format. --------------ms050102010507040106070608 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Michael Stefaniuc wrote: > Hello, > > does a source rpm or spec file exist for rancid? I've looked at the > download area, searched the mailing list and on google but couldn't > find one. > If not i will have to make one but starting with an exiting one would > have saved time. I used to have a spec file a while ago but it's long since lost to an old repository I never backed up. I remember that it was fairly straightforward spec file for the install process, so it shouldn't give you much trouble. If you hit any snags you can email me the spec file directly and I'll see if I can't spot your problem (though I just, at the end of this message, noticed the @redhat.com, heh). -- __________________________ Justin Grote Network Architect JWG Networks --------------ms050102010507040106070608 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH4TCC AkswggG0oAMCAQICAw42LDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzA4MTM1MTE1WhcNMDYwMzA4MTM1MTE1 WjBDMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSAwHgYJKoZIhvcNAQkBFhFq dXN0aW5AZ3JvdGUubmFtZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAutQqzFrfSmOU 35//szKNQ2UnvIH8eeb45ch1TM23m2Qp48hYjwzLcR+RZgDBLu3pX9eA33UUKACWxCZLMumT OCT8RrHVIcYPISxoBIXzkqElU2JE+ROoB1nk3B0cC3QWjV6Y4PJfZT0Y1dYKfxV2wpSGDcDe pN52h0bo9FCW+WMCAwEAAaMuMCwwHAYDVR0RBBUwE4ERanVzdGluQGdyb3RlLm5hbWUwDAYD VR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCYrErHf8k+ilkVIikXrzBr3iGSP5zcr11/ fe06atR/i+xORUOBkoEEnTos2aAyAdhvof602gOIhc0H698g0kbC2G6WBVUvDynVFjpD8ipL dazYsqe1xvgz58cOhW/vSDArZ5sRlEl9eiYVZ8p0nTu9sBah/gvbQdx1mmpJneTamjCCAksw ggG0oAMCAQICAw42LDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMc VGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFs IEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzA4MTM1MTE1WhcNMDYwMzA4MTM1MTE1WjBD MR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSAwHgYJKoZIhvcNAQkBFhFqdXN0 aW5AZ3JvdGUubmFtZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAutQqzFrfSmOU35// szKNQ2UnvIH8eeb45ch1TM23m2Qp48hYjwzLcR+RZgDBLu3pX9eA33UUKACWxCZLMumTOCT8 RrHVIcYPISxoBIXzkqElU2JE+ROoB1nk3B0cC3QWjV6Y4PJfZT0Y1dYKfxV2wpSGDcDepN52 h0bo9FCW+WMCAwEAAaMuMCwwHAYDVR0RBBUwE4ERanVzdGluQGdyb3RlLm5hbWUwDAYDVR0T AQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCYrErHf8k+ilkVIikXrzBr3iGSP5zcr11/fe06 atR/i+xORUOBkoEEnTos2aAyAdhvof602gOIhc0H698g0kbC2G6WBVUvDynVFjpD8ipLdazY sqe1xvgz58cOhW/vSDArZ5sRlEl9eiYVZ8p0nTu9sBah/gvbQdx1mmpJneTamjCCAz8wggKo oAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRp bmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMT G1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwt ZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIx CzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSww KgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG 9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6 YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+ uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNV HRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNv bS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAg pB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzR UIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6E sZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341Yh eILcIRk13iSx0x1G/11fZU8xggK6MIICtgIBATBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQK ExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29u YWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMAkGBSsOAwIaBQCgggGnMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA1MDkyODIyNDYwNFowIwYJKoZIhvcN AQkEMRYEFGhcqNf5FbNb/gQ0bIC2Nx/U2HDkMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcN AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC AgEoMHgGCSsGAQQBgjcQBDFrMGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBD b25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFp bCBJc3N1aW5nIENBAgMONiwwegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYTAlpBMSUw IwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMA0GCSqGSIb3DQEBAQUABIGAe33/ gFXLf7DFJaOAvtutzy0VyF5eVhZzbVK5S3CJp6Jkxpou6u4gNdaQfHRZBy+A8bF3YFZ0vfxy vwBMTh/IOjM0V4jx0yah+ezdwIxBul0oriz3PVvdWpgcDkmoVLw+bHKiJPD3S7S6pb1p9HO1 /HSOkmQRcvq01u9Nd1aBJGwAAAAAAAA= --------------ms050102010507040106070608-- From owner-rancid-discuss-outgoing@shrubbery.net Thu Sep 29 23:35:40 2005 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 5348011CE2E for ; Thu, 29 Sep 2005 23:35:39 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 4111F864FE; Thu, 29 Sep 2005 16:35:39 -0700 (PDT) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 3A27C86505; Thu, 29 Sep 2005 16:35:39 -0700 (PDT) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id B772C864FF; Thu, 29 Sep 2005 16:35:38 -0700 (PDT) Received: from willow.he.net (willow.he.net [216.218.240.18]) by guelah.shrubbery.net (Postfix) with SMTP id 472CE864FE for ; Thu, 29 Sep 2005 16:12:32 -0700 (PDT) Received: from willow.he.net ([127.0.0.9]) by willow.he.net for ; Thu, 29 Sep 2005 16:12:25 -0700 Message-Id: <1128035545.29589@willow.he.net> Date: Thu, 29 Sep 2005 16:12:25 -0700 From: "Dan Pfleger" To: Justin Grote , Michael Stefaniuc , rancid-discuss@shrubbery.net Subject: Re: rancid srpm/spec file? X-Mailer: WebMail 1.25 X-IPAddress: 71.134.180.45 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=WEBMAIL_ATT_0.286286186426878" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------=WEBMAIL_ATT_0.286286186426878 Content-Type: text/plain; charset=iso-8859-1 Its fairly vanilla, but works for me to move the files as needed. Don't know that I have all the glaring dependencies listed articulated in the files, but it works. -Dan > This is a cryptographically signed message in MIME format. > > > Michael Stefaniuc wrote: > > Hello, > > > > does a source rpm or spec file exist for rancid? I've looked at the > > download area, searched the mailing list and on google but couldn't > > find one. > > If not i will have to make one but starting with an exiting one would > > have saved time. > I used to have a spec file a while ago but it's long since lost to an > old repository I never backed up. I remember that it was fairly > straightforward spec file for the install process, so it shouldn't give > you much trouble. If you hit any snags you can email me the spec file > directly and I'll see if I can't spot your problem (though I just, at > the end of this message, noticed the @redhat.com, heh). > > -- > __________________________ > Justin Grote > Network Architect > JWG Networks > > > ------=WEBMAIL_ATT_0.286286186426878 Content-Type: application/octet-stream; name="rancid.spec" Content-Transfer-Encoding: base64 U3VtbWFyeTogUmVhbGx5IEF3ZXNvbWUgKG1vcmUgdGhhbikgQ2lzY28gRGlmZmVyCk5hbWU6IHJh bmNpZApWZXJzaW9uOiAyLjMuMQpSZWxlYXNlOiAxCkxpY2Vuc2U6IG5vbmUKR3JvdXA6IERldmVs b3BtZW50L1Rvb2xzCiNCdWlsZFJvb3Q6ICV7X3RtcHBhdGh9LyV7bmFtZX0tJXt2ZXJzaW9ufS1i dWlsZHJvb3QKUHJlZml4OiAvdXNyClNvdXJjZTA6IGZ0cDovL2Z0cC5zaHJ1YmJlcnkubmV0L3B1 Yi9yYW5jaWQvcmFuY2lkLSV7dmVyc2lvbn0udGFyLmd6ClJlcXVpcmVzOiBleHBlY3QgPj0gNS40 MApQYWNrYWdlcjogRGFuIFBmbGVnZXIgPGRwZmxlZ2VyQHBmbGVnZXIub3JnPgoKCiVkZXNjcmlw dGlvbgpBIGJ1bmNoIG9mIHNjcmlwdHMgdG8gcG9sbCBDaXNjbywgYW5kIGJ1bmNoZXMgb2Ygb3Ro ZXIgZGV2aWNlcyBmb3IgCnRoZWlyIGNvbmZpZ3VyYXRpb25zLiAgCgolcHJlcCAKJXNldHVwCgol aW5zdGFsbApybSAtcmYgJFJQTV9CVUlMRF9ST09UCiVjb25maWd1cmUgLS1wcmVmaXg9JXtwcmVm aXh9Cm1ha2UgREVTVERJUj0kUlBNX0JVSUxEX1JPT1QgaW5zdGFsbAoKJWNsZWFuCgolcHJlCgol cHJldW4KCiVwb3N0CgolcG9zdHVuCgolZmlsZXMKJWRlZmF0dHIoLSxyb290LHJvb3QsLSkKL3Vz ci9zaGFyZS9yYW5jaWQKL3Vzci9zaGFyZS9yYW5jaWQvQ09QWUlORwovdXNyL3NoYXJlL3JhbmNp ZC9DSEFOR0VTCi91c3Ivc2hhcmUvcmFuY2lkL0ZBUQovdXNyL3NoYXJlL3JhbmNpZC9SRUFETUUK L3Vzci9zaGFyZS9yYW5jaWQvUkVBRE1FLmxnCi91c3Ivc2hhcmUvcmFuY2lkL1VQR1JBRElORwov dXNyL3NoYXJlL3JhbmNpZC9jbG9naW5yYy5zYW1wbGUKL3Vzci9zaGFyZS9yYW5jaWQvbGcuY29u Zi5zYW1wbGUKL3Vzci9zaGFyZS9yYW5jaWQvcmFuY2lkLmNvbmYuc2FtcGxlCi91c3Ivc2hhcmUv cmFuY2lkL1JFQURNRS5taXNjCi91c3Ivc2hhcmUvcmFuY2lkL2Npc2NvLWxvYWQuZXhwCi91c3Iv c2hhcmUvcmFuY2lkL2Npc2NvLXJlbG9hZC5leHAKL3Vzci9zaGFyZS9yYW5jaWQvaW5kZXguaHRt bAovdXNyL3NoYXJlL3JhbmNpZC9sZ25vdGVzLmh0bWwKL3Vzci9zaGFyZS9yYW5jaWQvZ2V0aXBh Y2N0ZwovdXNyL3NoYXJlL3JhbmNpZC9ydHJmaWx0ZXIKL3Vzci9zaGFyZS9yYW5jaWQvZG93bnJl cG9ydAovdXNyL3NoYXJlL21hbi9tYW4xL2Fsb2dpbi4xCi91c3Ivc2hhcmUvbWFuL21hbjEvYmxv Z2luLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9jbG9naW4uMQovdXNyL3NoYXJlL21hbi9tYW4xL2Nv bnRyb2xfcmFuY2lkLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9jc3NyYW5jaWQuMQovdXNyL3NoYXJl L21hbi9tYW4xL3JhbmNpZC4xCi91c3Ivc2hhcmUvbWFuL21hbjEvcmFuY2lkX2ludHJvLjEKL3Vz ci9zaGFyZS9tYW4vbWFuMS9lbG9naW4uMQovdXNyL3NoYXJlL21hbi9tYW4xL2YxMHJhbmNpZC4x Ci91c3Ivc2hhcmUvbWFuL21hbjEvZmxvZ2luLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9mbnJhbmNp ZC4xCi91c3Ivc2hhcmUvbWFuL21hbjEvaGxvZ2luLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9ocmFu Y2lkLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9odGxvZ2luLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9o dHJhbmNpZC4xCi91c3Ivc2hhcmUvbWFuL21hbjEvamxvZ2luLjEKL3Vzci9zaGFyZS9tYW4vbWFu MS9qcmFuY2lkLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9qZXJhbmNpZC4xCi91c3Ivc2hhcmUvbWFu L21hbjEvZnJhbmNpZC4xCi91c3Ivc2hhcmUvbWFuL21hbjEvY2F0NXJhbmNpZC4xCi91c3Ivc2hh cmUvbWFuL21hbjEvZXJhbmNpZC4xCi91c3Ivc2hhcmUvbWFuL21hbjEvbXJhbmNpZC4xCi91c3Iv c2hhcmUvbWFuL21hbjEvbmxvZ2luLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9ucmFuY2lkLjEKL3Vz ci9zaGFyZS9tYW4vbWFuMS9uc2xvZ2luLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9uc3JhbmNpZC4x Ci91c3Ivc2hhcmUvbWFuL21hbjEvcGFyLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9wcmFuY2lkLjEK L3Vzci9zaGFyZS9tYW4vbWFuMS9yYW5jaWQtY3ZzLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9yYW5j aWQtcnVuLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9yaXZsb2dpbi4xCi91c3Ivc2hhcmUvbWFuL21h bjEvcml2cmFuY2lkLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS90bnRsb2dpbi4xCi91c3Ivc2hhcmUv bWFuL21hbjEvdG50cmFuY2lkLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS94cmFuY2lkLjEKL3Vzci9z aGFyZS9tYW4vbWFuMS96cmFuY2lkLjEKL3Vzci9zaGFyZS9tYW4vbWFuMS9sZ19pbnRyby4xCi91 c3Ivc2hhcmUvbWFuL21hbjUKL3Vzci9zaGFyZS9tYW4vbWFuNS9jbG9naW5yYy41Ci91c3Ivc2hh cmUvbWFuL21hbjUvcm91dGVyLmRiLjUKL3Vzci9zaGFyZS9tYW4vbWFuNS9sZy5jb25mLjUKL3Vz ci9zaGFyZS9tYW4vbWFuNS9yYW5jaWQuY29uZi41Ci91c3IvYmluL2hwdWlmaWx0ZXIKL3Vzci9i aW4vY2F0NXJhbmNpZAovdXNyL2Jpbi9jb250cm9sX3JhbmNpZAovdXNyL2Jpbi9hbG9naW4KL3Vz ci9iaW4vYXJhbmNpZAovdXNyL2Jpbi9jbG9naW4KL3Vzci9iaW4vYmxvZ2luCi91c3IvYmluL2Jy YW5jaWQKL3Vzci9iaW4vY3NzcmFuY2lkCi91c3IvYmluL2Vsb2dpbgovdXNyL2Jpbi9lcmFuY2lk Ci91c3IvYmluL2YxMHJhbmNpZAovdXNyL2Jpbi9mbG9naW4KL3Vzci9iaW4vZnJhbmNpZAovdXNy L2Jpbi9mbnJhbmNpZAovdXNyL2Jpbi9qbG9naW4KL3Vzci9iaW4vanJhbmNpZAovdXNyL2Jpbi9q ZXJhbmNpZAovdXNyL2Jpbi9obG9naW4KL3Vzci9iaW4vaHJhbmNpZAovdXNyL2Jpbi9odGxvZ2lu Ci91c3IvYmluL2h0cmFuY2lkCi91c3IvYmluL21yYW5jaWQKL3Vzci9iaW4vbmxvZ2luCi91c3Iv YmluL25yYW5jaWQKL3Vzci9iaW4vbnNsb2dpbgovdXNyL2Jpbi9uc3JhbmNpZAovdXNyL2Jpbi9w YXIKL3Vzci9iaW4vcHJhbmNpZAovdXNyL2Jpbi9yYW5jaWQKL3Vzci9iaW4vcmFuY2lkLWZlCi91 c3IvYmluL3JpdmxvZ2luCi91c3IvYmluL3JpdnJhbmNpZAovdXNyL2Jpbi9ycmFuY2lkCi91c3Iv YmluL3RudGxvZ2luCi91c3IvYmluL3RudHJhbmNpZAovdXNyL2Jpbi94cmFuY2lkCi91c3IvYmlu L3pyYW5jaWQKL3Vzci9iaW4vbGcuY2dpCi91c3IvYmluL2xnZm9ybS5jZ2kKL3Vzci9iaW4vcmFu Y2lkLWN2cwovdXNyL2Jpbi9yYW5jaWQtcnVuCg== ------=WEBMAIL_ATT_0.286286186426878--