From weylin at bu.edu Sun Aug 1 04:53:48 2021 From: weylin at bu.edu (Piegorsch, Weylin William) Date: Sun, 1 Aug 2021 04:53:48 +0000 Subject: [rancid] Configuring Rancid In-Reply-To: References: <1474640976.324206.1627456765553.ref@mail.yahoo.com> <1474640976.324206.1627456765553@mail.yahoo.com> Message-ID: <167EFC38-E25D-4B90-9931-88A3025FF27C@bu.edu> > it?s long gone apparently Well, sorta... there's page 20 here: http://gwdu111.gwdg.de/misc/dnews/dnews_0302.pdf weylin ?-----Original Message----- From: Chris Boyd Date: Wednesday, July 28, 2021 at 2:49 PM To: "rancid-discuss at www.shrubbery.net" Subject: Re: [rancid] Configuring Rancid I was going to point to the ancient one I wrote for Daemon News, but it?s long gone apparently. This one looks pretty good. https://uberbruco.wordpress.com/2009/07/09/rancid-on-freebsd/ Once installed, the configuration is pretty much the same, except maybe the email configuration. > On Jul 28, 2021, at 2:19 AM, simon ben wrote: > > Dear All, > > I have a plan to automate backup my Cisco routers and switches and found Rancid would be ideal. > I have just installed Rancid using dnf on centos 8 64 Bit version > > rancid-3.12-1.el8.x86_64 > > I checked on the net but was not able to find any good configuring docs > > appreciate any advice or a good link which has complete documentation on how to configure rancid > > appreciate and thanks > > > regards > > simon > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss From jethro.binks at strath.ac.uk Mon Aug 2 09:38:36 2021 From: jethro.binks at strath.ac.uk (Jethro R Binks) Date: Mon, 2 Aug 2021 10:38:36 +0100 (BST) Subject: [rancid] Configuring Rancid In-Reply-To: <167EFC38-E25D-4B90-9931-88A3025FF27C@bu.edu> References: <1474640976.324206.1627456765553.ref@mail.yahoo.com> <1474640976.324206.1627456765553@mail.yahoo.com> <167EFC38-E25D-4B90-9931-88A3025FF27C@bu.edu> Message-ID: <983o8q70-747s-q24n-16s6-1447p3qqqr71@fgengu.np.hx> It was still there about a year ago, Wayback machine for the win: https://web.archive.org/web/20200805155647/https://uberbruco.wordpress.com/2009/07/09/rancid-on-freebsd/ On Sun, 1 Aug 2021, Piegorsch, Weylin William wrote: > > it?s long gone apparently > > Well, sorta... > there's page 20 here: > http://gwdu111.gwdg.de/misc/dnews/dnews_0302.pdf > > > > weylin > > > > > > > ?-----Original Message----- > From: Chris Boyd > Date: Wednesday, July 28, 2021 at 2:49 PM > To: "rancid-discuss at www.shrubbery.net" > Subject: Re: [rancid] Configuring Rancid > > I was going to point to the ancient one I wrote for Daemon News, but it?s long gone apparently. This one looks pretty good. > > https://uberbruco.wordpress.com/2009/07/09/rancid-on-freebsd/ > > Once installed, the configuration is pretty much the same, except maybe the email configuration. > > > On Jul 28, 2021, at 2:19 AM, simon ben wrote: > > > > Dear All, > > > > I have a plan to automate backup my Cisco routers and switches and found Rancid would be ideal. > > I have just installed Rancid using dnf on centos 8 64 Bit version > > > > rancid-3.12-1.el8.x86_64 > > > > I checked on the net but was not able to find any good configuring docs > > > > appreciate any advice or a good link which has complete documentation on how to configure rancid > > > > appreciate and thanks > > > > > > regards > > > > simon > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at www.shrubbery.net > > https://www.shrubbery.net/mailman/listinfo/rancid-discuss > > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss > . . . . . . . . . . . . . . . . . . . . . . . . . Jethro R Binks, Network Manager, Information Services Directorate, University Of Strathclyde, Glasgow, UK The University of Strathclyde is a charitable body, registered in Scotland, number SC015263. From guy20034u at yahoo.com Thu Aug 5 05:39:54 2021 From: guy20034u at yahoo.com (simon ben) Date: Thu, 5 Aug 2021 05:39:54 +0000 (UTC) Subject: [rancid] Configuring Rancid In-Reply-To: References: <1474640976.324206.1627456765553.ref@mail.yahoo.com> <1474640976.324206.1627456765553@mail.yahoo.com> Message-ID: <237438147.1912623.1628141994554@mail.yahoo.com> Thanks guys and appreciate your early reply and sorry for the delay.I did start the rancid config and added my first cisco switchbut when I run clogin just to test using the below command I get logged into the router but it does not take me to eanble modebelow is the .cloginrc file-------------------add cyphertype 192.168.x.x aes256-ctr add method * ssh add user *? admin add password 192.168.x.x loginpasswd enabepassword --------------------- to test i use the below command ------------------------/usr/libexec/rancid/clogin -f .cloginrc 192.168.x.x ---------------------shows me the below message --------------------[rancid at rancid ~]$ /usr/libexec/rancid/clogin -f .cloginrc 192.168.x.x 192.168.1.100 spawn ssh -c aes256-ctr -x -l admin 192.168.x.x ********************************************************************* *???????????? NOTICE TO USERS?????????????????????????????????????? * *This is a secure site. Only authorized users are allowed.????????? * *??????????? For access, contact technical support..??????????????? * *?????????????????????????????????????????????????????????????????? * ********************************************************************* Password: *************************************************************************** *????????????? WARNING:? UNAUTHORIZED ACCESS IS PROHIBITED??????????????? * *???????????????????????????????????????????????????????????????????????? * *???????????????????????????????????????????????????????????????????????? * *??????? This is a secure site.Access for authorized users only.????????? * *???????? Please enter your username and password???????????????????????? * *???????????????????????????????????????????????????????????????????????? * *???????? This logon attempt has been logged and archived.??????????????? * *???????????????????????????????????????????????????????????????????????? * *???????????????????????????????????????????????????????????????????????? * *************************************************************************** ########################################################################## #???????????????????????????????????????????????????????????????????????? # #????????????? YOU ARE ACCESSING RESTRICTED SYSTEM??????????????????????? # #???????????????????????????????????????????????????????????????????????? # ########################################################################## KM-BLDG-A-BSMT-SW01> KM-BLDG-A-BSMT-SW01> -------------------------------------------------------- appreciate your advice and help. Thanks and Regards simon On Wednesday, July 28, 2021, 10:34:04 PM GMT+3, heasley wrote: Wed, Jul 28, 2021 at 01:49:01PM -0500, Chris Boyd: > I was going to point to the ancient one I wrote for Daemon News, but it?s long gone apparently. This one looks pretty good. > > https://uberbruco.wordpress.com/2009/07/09/rancid-on-freebsd/ > > Once installed, the configuration is pretty much the same, except maybe the email configuration. rancid also comes with README and UPGRADING files that installation-related instruction that you might find useful.? These are installed in the datarootdir, typically /share, but both prefix and datarootdir can be altered by the installer, so YMMV. > > On Jul 28, 2021, at 2:19 AM, simon ben wrote: > > > > Dear All, > > > > I have a plan to automate backup my? Cisco routers and switches and found Rancid would be ideal. > > I have just installed Rancid using dnf on centos 8 64 Bit version > > > > rancid-3.12-1.el8.x86_64 > > > > I checked on the net but was not able to find any good configuring docs > > > > appreciate any advice or a good link which has complete documentation on how to configure rancid > > > > appreciate and thanks > > > > > > regards > > > > simon > > _______________________________________________ > > Rancid-discuss mailing list > > Rancid-discuss at www.shrubbery.net > > https://www.shrubbery.net/mailman/listinfo/rancid-discuss > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss _______________________________________________ Rancid-discuss mailing list Rancid-discuss at www.shrubbery.net https://www.shrubbery.net/mailman/listinfo/rancid-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjorn at basis-consulting.com Sun Aug 8 12:11:22 2021 From: bjorn at basis-consulting.com (=?UTF-8?Q?Bj=C3=B8rn_Skobba?=) Date: Sun, 8 Aug 2021 14:11:22 +0200 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: > > I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches? Hi, replying to an old message, but just chipping in to see if you got any further with FS switches and rancid? We just got in a bunch of FS S3900-48T4S and are looking to add them to rancid. BR Bj?rn From heas at shrubbery.net Sun Aug 8 15:45:20 2021 From: heas at shrubbery.net (heasley) Date: Sun, 8 Aug 2021 15:45:20 +0000 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: Sun, Aug 08, 2021 at 02:11:22PM +0200, Bj?rn Skobba: > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: > > > > I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches? > > Hi, > replying to an old message, but just chipping in to see if you got any > further with FS switches and rancid? We just got in a bunch of FS > S3900-48T4S and are looking to add them to rancid. In general, if it smells like an already supported device, that rancid device type might work or at the least be a good starting point. Try it; if it does not work, lmk and I'll help. From troy at i2bnetworks.com Mon Aug 9 17:07:30 2021 From: troy at i2bnetworks.com (Troy Beisigl) Date: Mon, 9 Aug 2021 10:07:30 -0700 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: Hello Bj?rn, We looked at this for s short amount of time and got it put on the back burner as several other projects came up. I don?t recall exactly what I was able to figure out before that happened, but will see if I can take a look this week and see what I can dig up. Best, -Troy > On Aug 8, 2021, at 5:11 AM, Bj?rn Skobba wrote: > > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: >> >> I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches? > > Hi, > replying to an old message, but just chipping in to see if you got any > further with FS switches and rancid? We just got in a bunch of FS > S3900-48T4S and are looking to add them to rancid. > > BR > Bj?rn From bjorn at basis-consulting.com Wed Aug 11 11:48:06 2021 From: bjorn at basis-consulting.com (=?UTF-8?Q?Bj=C3=B8rn_Skobba?=) Date: Wed, 11 Aug 2021 13:48:06 +0200 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: On Sun, Aug 8, 2021 at 5:45 PM heasley wrote: > > Sun, Aug 08, 2021 at 02:11:22PM +0200, Bj?rn Skobba: > > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: > > > > > > I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches? > > > > Hi, > > replying to an old message, but just chipping in to see if you got any > > further with FS switches and rancid? We just got in a bunch of FS > > S3900-48T4S and are looking to add them to rancid. > > In general, if it smells like an already supported device, that rancid > device type might work or at the least be a good starting point. Try > it; if it does not work, lmk and I'll help. Thanks! :) I tested a few device types and it seems like I can use dnos9. I added this to rancid.types.conf: dnos9fs;script;rancid -t dnos9fs dnos9fs;login;clogin dnos9fs;module;dnos9 dnos9fs;inloop;dnos9::inloop dnos9fs;command;dnos9::ShowVersion;show version dnos9fs;command;dnos9::ShowBoot;show boot dnos9bc;command;dnos9::DirSlotN;dir dnos9fs;command;dnos9::ShowChassis;show system dnos9fs;command;dnos9::ShowVLAN;show vlan all dnos9fs;command;dnos9::WriteTerm;show running-config Seems to give me what I need. The output is quite "airy"(as in lots of empty lines ), but so is the output from show running-config on the actual switch. /bj?rn From heas at shrubbery.net Wed Aug 11 15:03:25 2021 From: heas at shrubbery.net (heasley) Date: Wed, 11 Aug 2021 15:03:25 +0000 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: Wed, Aug 11, 2021 at 01:48:06PM +0200, Bj?rn Skobba: > On Sun, Aug 8, 2021 at 5:45 PM heasley wrote: > > > > Sun, Aug 08, 2021 at 02:11:22PM +0200, Bj?rn Skobba: > > > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: > > > > > > > > I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches? > > > > > > Hi, > > > replying to an old message, but just chipping in to see if you got any > > > further with FS switches and rancid? We just got in a bunch of FS > > > S3900-48T4S and are looking to add them to rancid. > > > > In general, if it smells like an already supported device, that rancid > > device type might work or at the least be a good starting point. Try > > it; if it does not work, lmk and I'll help. > > Thanks! :) I tested a few device types and it seems like I can use > dnos9. I added this to rancid.types.conf: > dnos9fs;script;rancid -t dnos9fs > dnos9fs;login;clogin > dnos9fs;module;dnos9 > dnos9fs;inloop;dnos9::inloop > dnos9fs;command;dnos9::ShowVersion;show version > dnos9fs;command;dnos9::ShowBoot;show boot > dnos9bc;command;dnos9::DirSlotN;dir ^^ typo? that will not be included in the collect, obviously. > dnos9fs;command;dnos9::ShowChassis;show system > dnos9fs;command;dnos9::ShowVLAN;show vlan all > dnos9fs;command;dnos9::WriteTerm;show running-config Does their O/S have a name? > Seems to give me what I need. The output is quite "airy"(as in lots of > empty lines ), but so is the output from show running-config on the > actual switch. > > /bj?rn This would trim all the blank lines in the config. dell nos does not appear to output blank lines. diff --git a/lib/dnos9.pm.in b/lib/dnos9.pm.in index 1bb52dde..b6950202 100644 --- a/lib/dnos9.pm.in +++ b/lib/dnos9.pm.in @@ -363,7 +363,8 @@ sub WriteTerm { # skip crap /^Current Configuration/ && next; /^! (version|last configuration|startup-config last)/i && next; - + # skip empty lines at the beginning + next if (/^\s*$/); # Dog gone Cool matches to process the rest of the config /^tftp-server flash / && next; # kill any tftp remains From athompson at merlin.mb.ca Wed Aug 11 16:03:35 2021 From: athompson at merlin.mb.ca (Adam Thompson) Date: Wed, 11 Aug 2021 16:03:35 +0000 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: It's not the same as the Dell NOS, but I recall hearing that it shares some lineage in the distant, dusty past. (Well, as dusty as something that's only existed for <10yrs can be, anyway.) So it makes sense it would be quite similar. I've installed them for customers, but don't have any here to test with. NOTE: different FS.com switch product lines use different OSes. Not sure how different, but definitely not a unified software for all products. (Again, this makes sense, it's all just vendor reference designs with the FS.com logo slapped onto it.) -Adam Adam Thompson Consultant, Infrastructure Services [1593169877849] 100 - 135 Innovation Drive Winnipeg, MB, R3T 6A8 (204) 977-6824 or 1-800-430-6404 (MB only) athompson at merlin.mb.ca www.merlin.mb.ca ________________________________ From: Rancid-discuss on behalf of heasley Sent: August 11, 2021 10:03 To: Bj?rn Skobba Cc: Troy Beisigl ; rancid-discuss at shrubbery.net Subject: Re: [rancid] FS switches Wed, Aug 11, 2021 at 01:48:06PM +0200, Bj?rn Skobba: > On Sun, Aug 8, 2021 at 5:45 PM heasley wrote: > > > > Sun, Aug 08, 2021 at 02:11:22PM +0200, Bj?rn Skobba: > > > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl wrote: > > > > > > > > I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches? > > > > > > Hi, > > > replying to an old message, but just chipping in to see if you got any > > > further with FS switches and rancid? We just got in a bunch of FS > > > S3900-48T4S and are looking to add them to rancid. > > > > In general, if it smells like an already supported device, that rancid > > device type might work or at the least be a good starting point. Try > > it; if it does not work, lmk and I'll help. > > Thanks! :) I tested a few device types and it seems like I can use > dnos9. I added this to rancid.types.conf: > dnos9fs;script;rancid -t dnos9fs > dnos9fs;login;clogin > dnos9fs;module;dnos9 > dnos9fs;inloop;dnos9::inloop > dnos9fs;command;dnos9::ShowVersion;show version > dnos9fs;command;dnos9::ShowBoot;show boot > dnos9bc;command;dnos9::DirSlotN;dir ^^ typo? that will not be included in the collect, obviously. > dnos9fs;command;dnos9::ShowChassis;show system > dnos9fs;command;dnos9::ShowVLAN;show vlan all > dnos9fs;command;dnos9::WriteTerm;show running-config Does their O/S have a name? > Seems to give me what I need. The output is quite "airy"(as in lots of > empty lines ), but so is the output from show running-config on the > actual switch. > > /bj?rn This would trim all the blank lines in the config. dell nos does not appear to output blank lines. diff --git a/lib/dnos9.pm.in b/lib/dnos9.pm.in index 1bb52dde..b6950202 100644 --- a/lib/dnos9.pm.in +++ b/lib/dnos9.pm.in @@ -363,7 +363,8 @@ sub WriteTerm { # skip crap /^Current Configuration/ && next; /^! (version|last configuration|startup-config last)/i && next; - + # skip empty lines at the beginning + next if (/^\s*$/); # Dog gone Cool matches to process the rest of the config /^tftp-server flash / && next; # kill any tftp remains _______________________________________________ Rancid-discuss mailing list Rancid-discuss at www.shrubbery.net https://www.shrubbery.net/mailman/listinfo/rancid-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-1593169877.png Type: image/png Size: 2687 bytes Desc: Outlook-1593169877.png URL: From bjorn at basis-consulting.com Thu Aug 12 14:14:21 2021 From: bjorn at basis-consulting.com (=?UTF-8?Q?Bj=C3=B8rn_Skobba?=) Date: Thu, 12 Aug 2021 16:14:21 +0200 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: On Wed, Aug 11, 2021 at 5:03 PM heasley wrote: > > Wed, Aug 11, 2021 at 01:48:06PM +0200, Bj?rn Skobba: > > dnos9bc;command;dnos9::DirSlotN;dir > ^^ typo? that will not be included in the collect, obviously. Thanks for pointing that out. Indeed a typo. > Does their O/S have a name? I am not sure to be honest, it seems to be called fsos in some cases, but there might also be variations between the different switch models as pointed out by Adam in this thread. We only have the S3900 series, so I cannot verify it. However, our Layer2 dude pointed out the os also was a bit cisco-ish, so I tried the cisco device type (ios module) and that worked fine as well . To make it more tailored to these switches I fiddled a bit with stuff I'm not really able to do (I'm not a (perl) programmer...): The ios module didn't have a ShowChassis routine, so I copied the ios module to a new one and added the ShowChassis routine from the dnos9 module and added this to rancid.types.conf: fscom;script;rancid -t fscom fscom;login;clogin fscom;module;fscom fscom;inloop;fscom::inloop fscom;command;fscom::ShowChassis;show system fscom;command;fscom::ShowVersion;show version fscom;command;fscom::ShowBoot;show boot fscom;command;fscom::DirSlotN;dir fscom;command;fscom::ShowDot1x;show dot1x fscom;command;fscom::ShowVLAN;show vlan all fscom;command;fscom::ShowDebug;show debug fscom;command;fscom::WriteTerm;show running-config So just another way to achieve more or less the same. /bj?rn From adudek16 at gmail.com Thu Aug 12 15:06:25 2021 From: adudek16 at gmail.com (Aaron Dudek) Date: Thu, 12 Aug 2021 11:06:25 -0400 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: I would suggest providing a show version, listing from a boot sequence or similar might be helpful. Focus on the ones you want first and expand from there. On Thu, Aug 12, 2021 at 10:14 AM Bj?rn Skobba wrote: > > On Wed, Aug 11, 2021 at 5:03 PM heasley wrote: > > > > Wed, Aug 11, 2021 at 01:48:06PM +0200, Bj?rn Skobba: > > > > dnos9bc;command;dnos9::DirSlotN;dir > > ^^ typo? that will not be included in the collect, obviously. > > Thanks for pointing that out. Indeed a typo. > > > Does their O/S have a name? > > I am not sure to be honest, it seems to be called fsos in some cases, > but there might also be variations between the different switch models > as pointed out by Adam in this thread. We only have the S3900 series, > so I cannot verify it. > > However, our Layer2 dude pointed out the os also was a bit cisco-ish, > so I tried the cisco device type (ios module) and that worked fine as > well . To make it more tailored to these switches I fiddled a bit with > stuff I'm not really able to do (I'm not a (perl) programmer...): > The ios module didn't have a ShowChassis routine, so I copied the ios > module to a new one and added the ShowChassis routine from the dnos9 > module and added this to rancid.types.conf: > > fscom;script;rancid -t fscom > fscom;login;clogin > fscom;module;fscom > fscom;inloop;fscom::inloop > fscom;command;fscom::ShowChassis;show system > fscom;command;fscom::ShowVersion;show version > fscom;command;fscom::ShowBoot;show boot > fscom;command;fscom::DirSlotN;dir > fscom;command;fscom::ShowDot1x;show dot1x > fscom;command;fscom::ShowVLAN;show vlan all > fscom;command;fscom::ShowDebug;show debug > fscom;command;fscom::WriteTerm;show running-config > > So just another way to achieve more or less the same. > > /bj?rn > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss From heas at shrubbery.net Fri Aug 13 18:56:01 2021 From: heas at shrubbery.net (heasley) Date: Fri, 13 Aug 2021 18:56:01 +0000 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: Thu, Aug 12, 2021 at 04:14:21PM +0200, Bj?rn Skobba: > However, our Layer2 dude pointed out the os also was a bit cisco-ish, > so I tried the cisco device type (ios module) and that worked fine as > well . To make it more tailored to these switches I fiddled a bit with > stuff I'm not really able to do (I'm not a (perl) programmer...): > The ios module didn't have a ShowChassis routine, so I copied the ios > module to a new one and added the ShowChassis routine from the dnos9 > module and added this to rancid.types.conf: > > fscom;script;rancid -t fscom > fscom;login;clogin > fscom;module;fscom > fscom;inloop;fscom::inloop > fscom;command;fscom::ShowChassis;show system > fscom;command;fscom::ShowVersion;show version > fscom;command;fscom::ShowBoot;show boot > fscom;command;fscom::DirSlotN;dir > fscom;command;fscom::ShowDot1x;show dot1x > fscom;command;fscom::ShowVLAN;show vlan all > fscom;command;fscom::ShowDebug;show debug > fscom;command;fscom::WriteTerm;show running-config > > So just another way to achieve more or less the same. fwiw, it is possible include multiple modules with more recent rancid versions, like: foo;module;ios foo;module;fscom foo;command;fscom::ShowChassis;show system foo;command;ios::ShowVersion;show version and more recent still, a type name can aliased: fscom;alias;dnos9 if any of that helps. From bjorn at basis-consulting.com Sat Aug 14 14:37:36 2021 From: bjorn at basis-consulting.com (=?UTF-8?Q?Bj=C3=B8rn_Skobba?=) Date: Sat, 14 Aug 2021 16:37:36 +0200 Subject: [rancid] FS switches In-Reply-To: References: Message-ID: On Fri, Aug 13, 2021 at 8:56 PM heasley wrote: > > Thu, Aug 12, 2021 at 04:14:21PM +0200, Bj?rn Skobba: > > However, our Layer2 dude pointed out the os also was a bit cisco-ish, > > so I tried the cisco device type (ios module) and that worked fine as > > well . To make it more tailored to these switches I fiddled a bit with > > stuff I'm not really able to do (I'm not a (perl) programmer...): > > The ios module didn't have a ShowChassis routine, so I copied the ios > > module to a new one and added the ShowChassis routine from the dnos9 > > module and added this to rancid.types.conf: > > fwiw, it is possible include multiple modules with more recent rancid > versions, like: > > foo;module;ios > foo;module;fscom > foo;command;fscom::ShowChassis;show system > foo;command;ios::ShowVersion;show version > > and more recent still, a type name can aliased: > > fscom;alias;dnos9 > > if any of that helps. Ahh, brilliant. I had forgotten about the aliasing, and didn't know about the multiple modules. Will look into that at some stage - our rancid installation could do with some TLC anyway ;) Thanks for kind help and pointers as always. /bj?rn From m_zouhairy at skno.by Tue Aug 17 06:15:45 2021 From: m_zouhairy at skno.by (Vacheslav) Date: Tue, 17 Aug 2021 09:15:45 +0300 Subject: [rancid] RANCID and Palo Alto devices In-Reply-To: References: Message-ID: i had the same problem but obviously with different devices.. On 7/11/21 4:00 PM, ?????? ???????? wrote: > After updating the PAN-OS version 10.1.0, I have unsuccessful attempts > to backup the device with RANCID. On the previous version of the OS > there is no such problem. > > |log file RANCID ________________________________ Trying to get all of > the configs. paloalto.local: missed cmd(s): all commands paloalto.local: > panlogin error: Error: Check your passwd for paloalto.local > paloalto.local: End of run not found ________________________________ > /home/rancid/bin/panlogin paloalto.local paloalto.local spawn ssh -c > 123yysdyasd-asdasd -x -l admin paloalto.local > |----------------------------| |-----Use OOB credential-----| > |----------------------------| Password: Last login: Sun Jul 01 00:00:00 > 2021 from 192.0.0.0 Could not chdir to home directory > /opt/pancfg/home/admin Permission denied Error: Check your passwd for > paloalto.local| > > |Can you help me solve this problem?| > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at www.shrubbery.net > https://www.shrubbery.net/mailman/listinfo/rancid-discuss >