From Chris.Davis at principia.edu Thu May 27 16:51:43 2021 From: Chris.Davis at principia.edu (Chris Davis) Date: Thu, 27 May 2021 16:51:43 +0000 Subject: [rancid] Re-IPing some switches. Message-ID: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> I?d like to maintain the config history for some of my switches, but not sure it?s possible. Can I set the switches as down in rancid, re-ip them, then mv the switch config directories to the new IP address and turn them back up? I?m guessing it?s probably not that easy? Thanks. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.o.hopkins at gmail.com Thu May 27 16:56:01 2021 From: c.o.hopkins at gmail.com (Craig Hopkins) Date: Thu, 27 May 2021 17:56:01 +0100 Subject: [rancid] Re-IPing some switches. In-Reply-To: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> References: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> Message-ID: What I tend to do is update the references to the files in rancid, then "git/svn/cvs mv" the file, and then when rancid runs at the top of the hour it updated the new file and you retain all the history On Thu, 27 May 2021, 17:52 Chris Davis, wrote: > I?d like to maintain the config history for some of my switches, but not > sure it?s possible. Can I set the switches as down in rancid, re-ip them, > then mv the switch config directories to the new IP address and turn them > back up? I?m guessing it?s probably not that easy? > > > > Thanks. > > Chris > _______________________________________________ > 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 Chris.Davis at principia.edu Thu May 27 16:57:51 2021 From: Chris.Davis at principia.edu (Chris Davis) Date: Thu, 27 May 2021 16:57:51 +0000 Subject: [rancid] Re-IPing some switches. In-Reply-To: References: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> Message-ID: <38E968A1-0348-406E-8C7D-C69A5F6626BC@principia.edu> I don?t use git. Just downloaded a million years ago and compiled, and just keep updating manually. I don?t know much about using git. Aware of it, but don?t use it at all. Chris From: Craig Hopkins Date: Thursday, May 27, 2021 at 11:56 AM To: Chris Davis Cc: "rancid-discuss at shrubbery.net" Subject: Re: [rancid] Re-IPing some switches. Caution: This message originated outside of Principia. DO NOT click links or open attachments unless you recognize the sender and know the content is safe. ________________________________ What I tend to do is update the references to the files in rancid, then "git/svn/cvs mv" the file, and then when rancid runs at the top of the hour it updated the new file and you retain all the history On Thu, 27 May 2021, 17:52 Chris Davis, > wrote: I?d like to maintain the config history for some of my switches, but not sure it?s possible. Can I set the switches as down in rancid, re-ip them, then mv the switch config directories to the new IP address and turn them back up? I?m guessing it?s probably not that easy? Thanks. Chris _______________________________________________ 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 heas at shrubbery.net Thu May 27 17:10:32 2021 From: heas at shrubbery.net (heasley) Date: Thu, 27 May 2021 17:10:32 +0000 Subject: [rancid] Re-IPing some switches. In-Reply-To: <38E968A1-0348-406E-8C7D-C69A5F6626BC@principia.edu> References: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> <38E968A1-0348-406E-8C7D-C69A5F6626BC@principia.edu> Message-ID: Thu, May 27, 2021 at 04:57:51PM +0000, Chris Davis: > I don?t use git. Just downloaded a million years ago and compiled, and just keep updating manually. I don?t know much about using git. Aware of it, but don?t use it at all. yeah, afaik, cvs does not have a mv. you can do it manually; see https://stackoverflow.com/questions/133721/move-a-file-in-cvs-without-resetting-the-revision-number/133827 make sure rancid does not run while you are fiddling. something like su - rancid . /path/to/rancid.conf set -o noclobber echo $$ > $TMPDIR/..run.lock cd $CVSROOT/ cp -p hostname,v newhostname,v cd $BASEDIR/ cvs update vi router.db # replace the entry with new rm $TMPDIR/..run.lock there are scripts to convert cvs to svn or git. From williama at precisely.com Thu May 27 17:38:05 2021 From: williama at precisely.com (Aaron Williamson) Date: Thu, 27 May 2021 17:38:05 +0000 Subject: [rancid] Re-IPing some switches. In-Reply-To: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> References: <47CB3B81-9174-4032-AF17-099680EB1FA1@principia.edu> Message-ID: Are you using hostnames for the switches in the router.db file? If so, there is no worry, change the IP, update dns or host file entries as needed and all will be fine. If rancid is configured to access the switches via IP, then you will have to perform some of the magic the others have offered in their suggestions. From: Rancid-discuss On Behalf Of Chris Davis Sent: Thursday, May 27, 2021 12:52 PM To: rancid-discuss at shrubbery.net Subject: [rancid] Re-IPing some switches. This message originated Externally. Use proper judgement and caution with attachments, links, or responses. I?d like to maintain the config history for some of my switches, but not sure it?s possible. Can I set the switches as down in rancid, re-ip them, then mv the switch config directories to the new IP address and turn them back up? I?m guessing it?s probably not that easy? Thanks. Chris ? Aaron Williamson Principal Systems Engineer Precisely.com p +1 317-572-1849
m +1 (317) 213-0894
ATTENTION: ----- The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JOSH.HILDEBRAND at pb.com Sat May 1 18:33:02 2021 From: JOSH.HILDEBRAND at pb.com (Josh Hildebrand) Date: Sat, 01 May 2021 18:33:02 -0000 Subject: [rancid] ArubaOS-CX RANCID backups Message-ID: I now have my first HPE/Aruba 6300M switch which runs ArubaOS-CX. Which rancid script can support it? The hlogin/hrancid script doesn?t seem to handle it. It logs in, shows some software Image information, some Management and Line Module outputs and then says: Invalid input: term Here is the output I get when hrancid runs against the 6300M switch stack: ;RANCID-CONTENT-TYPE: hp ; ; ; ;Image: ----------------------------------------------------------------------------- ;Image: ArubaOS-CX ;Image: (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP ;Image: ----------------------------------------------------------------------------- ;Image: Version : FL.10.05.0021 ;Image: Build Date : 2020-10-29 10:36:02 PDT ;Image: Build ID : ArubaOS-CX:FL.10.05.0021:ef0fef7f4b9d:202010291659 ;Image: Build SHA : ef0fef7f4b9d2732c70bed9fa25589c665319634 ;Image: Active Image : primary ;Image: Service OS Version : FL.01.07.0002 ;Image: BIOS Version : FL.01.0002 ; ; ; Management Modules ; ================== ; Product Serial ; Name Number Description Number Status ; ---- ------- -------------------------------------- ---------- ---------------- ; 1/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Active (local) ; 2/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Ready ; 3/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; 4/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; Line Modules ; ============ ; Product Serial ; Name Number Description Number Status ; ---- ------- -------------------------------------- ---------- ---------------- ; 1/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Ready ; 2/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Ready ; 3/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; 4/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; ; ; ; Invalid input: term -------------- next part -------------- An HTML attachment was scrubbed... URL: From JOSH.HILDEBRAND at pb.com Tue May 4 23:21:30 2021 From: JOSH.HILDEBRAND at pb.com (Josh Hildebrand) Date: Tue, 04 May 2021 23:21:30 -0000 Subject: [rancid] ArubaOS-CX RANCID backups Message-ID: <25288ADC-035D-459D-8ADA-B03BDEB5517B@pb.com> I now have my first HPE/Aruba 6300M switch which runs ArubaOS-CX. Which rancid script can support it? The hlogin/hrancid script doesn?t seem to handle it. It logs in, shows some software Image information, some Management and Line Module outputs and then says: Invalid input: term Here is the output I get when hrancid runs against the 6300M switch stack: ;RANCID-CONTENT-TYPE: hp ; ; ; ;Image: ----------------------------------------------------------------------------- ;Image: ArubaOS-CX ;Image: (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP ;Image: ----------------------------------------------------------------------------- ;Image: Version : FL.10.05.0021 ;Image: Build Date : 2020-10-29 10:36:02 PDT ;Image: Build ID : ArubaOS-CX:FL.10.05.0021:ef0fef7f4b9d:202010291659 ;Image: Build SHA : ef0fef7f4b9d2732c70bed9fa25589c665319634 ;Image: Active Image : primary ;Image: Service OS Version : FL.01.07.0002 ;Image: BIOS Version : FL.01.0002 ; ; ; Management Modules ; ================== ; Product Serial ; Name Number Description Number Status ; ---- ------- -------------------------------------- ---------- ---------------- ; 1/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Active (local) ; 2/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Ready ; 3/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; 4/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; Line Modules ; ============ ; Product Serial ; Name Number Description Number Status ; ---- ------- -------------------------------------- ---------- ---------------- ; 1/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Ready ; 2/1 JL658A 6300M 24SFP+ 4SFP56 Swch SG12XXXXXX Ready ; 3/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; 4/1 JL664A 6300M 24G 4SFP56 Swch SG0BXXXXXX Ready ; ; ; ; Invalid input: term -------------- next part -------------- An HTML attachment was scrubbed... URL: From viktor.svanstrom at advania.com Wed May 5 08:36:29 2021 From: viktor.svanstrom at advania.com (=?iso-8859-1?Q?Viktor_Svanstr=F6m?=) Date: Wed, 05 May 2021 08:36:29 -0000 Subject: [rancid] Support for new OS (HP) ArubaOS-CX Message-ID: Hi list, I have a Aruba JL581A HPE Aruba 8320 Switch running ArubaOS-CX TL.10.04.2000. At the moment it seems like there is no support for this OS in rancid? Is there any plan to support it or has anyone out there managed to make their own custom login script? Best regards Viktor -------------- next part -------------- An HTML attachment was scrubbed... URL: