From athompson at merlin.mb.ca Tue Dec 3 20:49:12 2019 From: athompson at merlin.mb.ca (Adam Thompson) Date: Tue, 3 Dec 2019 20:49:12 +0000 Subject: [rancid] Extreme EXOS switches - what model? Message-ID: I?m somewhat confused here; I have some Extreme X620 switches (that?s the Summit / EX-OS line) that I?m trying to add into RANCID. However, my v3.9 installation, upon seeing ?extreme? in router.db, still tries to run the ?enable? command after logging in, which is wrong ? VERY wrong, and tells me the wrong device type in is use. Yet when I manually run ?xlogin? to one of these devices, it still fails because it treats it like a Cisco-ish device, not like an EXOS device. What device type am I supposed to put in router.db? Why doesn?t xlogin successfully log in?? I feel like I?m missing something here? Pointers appreciated. -Adam Adam Thompson Consultant, Infrastructure Services [[MERLIN LOGO]] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2381 bytes Desc: image001.png URL: From heas at shrubbery.net Tue Dec 3 21:14:26 2019 From: heas at shrubbery.net (john heasley) Date: Tue, 3 Dec 2019 21:14:26 +0000 Subject: [rancid] Extreme EXOS switches - what model? In-Reply-To: References: Message-ID: <20191203211426.GA33116@shrubbery.net> Tue, Dec 03, 2019 at 08:49:12PM +0000, Adam Thompson: > I?m somewhat confused here; I have some Extreme X620 switches (that?s the Summit / EX-OS line) that I?m trying to add into RANCID. > However, my v3.9 installation, upon seeing ?extreme? in router.db, still tries to run the ?enable? command after logging in, which is wrong ? VERY wrong, and tells me the wrong device type in is use. > Yet when I manually run ?xlogin? to one of these devices, it still fails because it treats it like a Cisco-ish device, not like an EXOS device. > > What device type am I supposed to put in router.db? Why doesn?t xlogin successfully log in?? > > I feel like I?m missing something here? clogin(5) ... CAVEATS ... The Extreme is supported by clogin, but it has no concept of an "enabled" privilege level. You must set autoenable for these devices in your .cloginrc. From Wayne.Eisenberg at CarolinasIT.com Sat Dec 14 13:20:37 2019 From: Wayne.Eisenberg at CarolinasIT.com (Wayne Eisenberg) Date: Sat, 14 Dec 2019 13:20:37 +0000 Subject: [rancid] git vs svn Message-ID: Hi, I'm considering changing over to git from svn for my rancid version control. A brief Google search seems to show that converting from one to the other is not terribly difficult. (So I don't have to lose my history.) For those who are using git with rancid, what has the experience been like? Worth doing? Stay with SVN? Doesn't really matter? Thanks, Wayne From heas at shrubbery.net Sat Dec 14 19:16:22 2019 From: heas at shrubbery.net (john heasley) Date: Sat, 14 Dec 2019 19:16:22 +0000 Subject: [rancid] git vs svn In-Reply-To: References: Message-ID: <20191214191622.GB65827@shrubbery.net> Sat, Dec 14, 2019 at 01:20:37PM +0000, Wayne Eisenberg: > I'm considering changing over to git from svn for my rancid version control. A brief Google search seems to show that converting from one to the other is not terribly difficult. (So I don't have to lose my history.) > > For those who are using git with rancid, what has the experience been like? Worth doing? Stay with SVN? Doesn't really matter? I use all three - IMO, religion. git is slightly easier to implement a remote copy of the repo. both are much faster than cvs. From ugob at lubik.ca Sat Dec 14 21:47:08 2019 From: ugob at lubik.ca (Ugo Bellavance) Date: Sat, 14 Dec 2019 16:47:08 -0500 Subject: [rancid] git vs svn In-Reply-To: <20191214191622.GB65827@shrubbery.net> References: <20191214191622.GB65827@shrubbery.net> Message-ID: I personally think that implementing a remote copy of the repo with git is a big plus. We're currently using SVN but I'd like to make the move. On Sat, Dec 14, 2019 at 2:16 PM john heasley wrote: > Sat, Dec 14, 2019 at 01:20:37PM +0000, Wayne Eisenberg: > > I'm considering changing over to git from svn for my rancid version > control. A brief Google search seems to show that converting from one to > the other is not terribly difficult. (So I don't have to lose my history.) > > > > For those who are using git with rancid, what has the experience been > like? Worth doing? Stay with SVN? Doesn't really matter? > > I use all three - IMO, religion. git is slightly easier to implement a > remote > copy of the repo. both are much faster than cvs. > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > -- Ugo Bellavance (ugob at lubik.ca) -------------- next part -------------- An HTML attachment was scrubbed... URL: From guisrodi at gmail.com Wed Dec 18 14:01:43 2019 From: guisrodi at gmail.com (Guisepp Rodriguez) Date: Wed, 18 Dec 2019 09:01:43 -0500 Subject: [rancid] Aruba 2930M Message-ID: What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use hlogin, hrancid. This is the output error: [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx executing hlogin -t 90 -c"show version;show flash;show system-information;show system information;show module;show stack;show tech transceivers;show config files;show config status;write term" xx.xx.xx.xx sh: hlogin: command not found xx.xx.xx.xx: missed cmd(s): all commands xx.xx.xx.xx: End of run not found xx.xx.xx.xx: clean_run is false xx.xx.xx.xx: found_end is false -------------- next part -------------- An HTML attachment was scrubbed... URL: From henri.hemery at gmail.com Wed Dec 18 14:24:53 2019 From: henri.hemery at gmail.com (henri hemery) Date: Wed, 18 Dec 2019 09:24:53 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: Hi Guisepp, I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin and it works: [rancid at xxxswbkp1 bin]$ ./hlogin XXXX xxsw3 spawn telnet -K XXXsw3 Trying 10.X.X.X... Connected to XXXsw3. Escape character is '^]'. On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez wrote: > What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use > hlogin, hrancid. This is the output error: > > [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx > executing hlogin -t 90 -c"show version;show flash;show > system-information;show system information;show module;show stack;show tech > transceivers;show config files;show config status;write term" xx.xx.xx.xx > sh: hlogin: command not found > xx.xx.xx.xx: missed cmd(s): all commands > xx.xx.xx.xx: End of run not found > xx.xx.xx.xx: clean_run is false > xx.xx.xx.xx: found_end is false > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guisrodi at gmail.com Wed Dec 18 14:48:02 2019 From: guisrodi at gmail.com (Guisepp Rodriguez) Date: Wed, 18 Dec 2019 09:48:02 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: What version of rancid do you have? Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery a ?crit : > Hi Guisepp, > > I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin > and it works: > > [rancid at xxxswbkp1 bin]$ ./hlogin XXXX > xxsw3 > spawn telnet -K XXXsw3 > Trying 10.X.X.X... > Connected to XXXsw3. > Escape character is '^]'. > > On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez > wrote: > >> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use >> hlogin, hrancid. This is the output error: >> >> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >> executing hlogin -t 90 -c"show version;show flash;show >> system-information;show system information;show module;show stack;show tech >> transceivers;show config files;show config status;write term" xx.xx.xx.xx >> sh: hlogin: command not found >> xx.xx.xx.xx: missed cmd(s): all commands >> xx.xx.xx.xx: End of run not found >> xx.xx.xx.xx: clean_run is false >> xx.xx.xx.xx: found_end is false >> >> >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at shrubbery.net >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >> > -- *Guisepp Rodriguez* Cell: (001) 514 627-9441 T?l: (001) 450 655-5384 -------------- next part -------------- An HTML attachment was scrubbed... URL: From henri.hemery at gmail.com Wed Dec 18 15:42:34 2019 From: henri.hemery at gmail.com (henri hemery) Date: Wed, 18 Dec 2019 10:42:34 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: I am using 3.9 On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez wrote: > What version of rancid do you have? > > Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery a > ?crit : > >> Hi Guisepp, >> >> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin >> and it works: >> >> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >> xxsw3 >> spawn telnet -K XXXsw3 >> Trying 10.X.X.X... >> Connected to XXXsw3. >> Escape character is '^]'. >> >> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez >> wrote: >> >>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I >>> use hlogin, hrancid. This is the output error: >>> >>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>> executing hlogin -t 90 -c"show version;show flash;show >>> system-information;show system information;show module;show stack;show tech >>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>> sh: hlogin: command not found >>> xx.xx.xx.xx: missed cmd(s): all commands >>> xx.xx.xx.xx: End of run not found >>> xx.xx.xx.xx: clean_run is false >>> xx.xx.xx.xx: found_end is false >>> >>> >>> _______________________________________________ >>> Rancid-discuss mailing list >>> Rancid-discuss at shrubbery.net >>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>> >> > > -- > *Guisepp Rodriguez* > > Cell: (001) 514 627-9441 > T?l: (001) 450 655-5384 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guisrodi at gmail.com Wed Dec 18 15:48:00 2019 From: guisrodi at gmail.com (Guisepp Rodriguez) Date: Wed, 18 Dec 2019 10:48:00 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: Ok, thanks. Le mer. 18 d?c. 2019, ? 10 h 41, henri hemery a ?crit : > I am using 3.9 > > On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez > wrote: > >> What version of rancid do you have? >> >> Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery a >> ?crit : >> >>> Hi Guisepp, >>> >>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin >>> and it works: >>> >>> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >>> xxsw3 >>> spawn telnet -K XXXsw3 >>> Trying 10.X.X.X... >>> Connected to XXXsw3. >>> Escape character is '^]'. >>> >>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez >>> wrote: >>> >>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I >>>> use hlogin, hrancid. This is the output error: >>>> >>>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>>> executing hlogin -t 90 -c"show version;show flash;show >>>> system-information;show system information;show module;show stack;show tech >>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>>> sh: hlogin: command not found >>>> xx.xx.xx.xx: missed cmd(s): all commands >>>> xx.xx.xx.xx: End of run not found >>>> xx.xx.xx.xx: clean_run is false >>>> xx.xx.xx.xx: found_end is false >>>> >>>> >>>> _______________________________________________ >>>> Rancid-discuss mailing list >>>> Rancid-discuss at shrubbery.net >>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>> >>> >> >> -- >> *Guisepp Rodriguez* >> >> Cell: (001) 514 627-9441 >> T?l: (001) 450 655-5384 >> >> >> -- *Guisepp Rodriguez* Cell: (001) 514 627-9441 T?l: (001) 450 655-5384 -------------- next part -------------- An HTML attachment was scrubbed... URL: From henri.hemery at gmail.com Wed Dec 18 16:37:19 2019 From: henri.hemery at gmail.com (henri hemery) Date: Wed, 18 Dec 2019 11:37:19 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: Eventually, I can share with you my hlogin script Le mer. 18 d?c. 2019 ? 10:48, Guisepp Rodriguez a ?crit : > Ok, thanks. > > Le mer. 18 d?c. 2019, ? 10 h 41, henri hemery a > ?crit : > >> I am using 3.9 >> >> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez >> wrote: >> >>> What version of rancid do you have? >>> >>> Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery >>> a ?crit : >>> >>>> Hi Guisepp, >>>> >>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use >>>> hlogin and it works: >>>> >>>> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >>>> xxsw3 >>>> spawn telnet -K XXXsw3 >>>> Trying 10.X.X.X... >>>> Connected to XXXsw3. >>>> Escape character is '^]'. >>>> >>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez >>>> wrote: >>>> >>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I >>>>> use hlogin, hrancid. This is the output error: >>>>> >>>>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>>>> executing hlogin -t 90 -c"show version;show flash;show >>>>> system-information;show system information;show module;show stack;show tech >>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>>>> sh: hlogin: command not found >>>>> xx.xx.xx.xx: missed cmd(s): all commands >>>>> xx.xx.xx.xx: End of run not found >>>>> xx.xx.xx.xx: clean_run is false >>>>> xx.xx.xx.xx: found_end is false >>>>> >>>>> >>>>> _______________________________________________ >>>>> Rancid-discuss mailing list >>>>> Rancid-discuss at shrubbery.net >>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>>> >>>> >>> >>> -- >>> *Guisepp Rodriguez* >>> >>> Cell: (001) 514 627-9441 >>> T?l: (001) 450 655-5384 >>> >>> >>> > > -- > *Guisepp Rodriguez* > > Cell: (001) 514 627-9441 > T?l: (001) 450 655-5384 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From henri.hemery at gmail.com Fri Dec 20 14:38:27 2019 From: henri.hemery at gmail.com (henri hemery) Date: Fri, 20 Dec 2019 09:38:27 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: Hi Guisepp, For me, the problem I still have with tis Aruba/HP switches that run comware 5 I think, it is the authentication. The enable mode ask for username+password again, and it seems that the scripts are not designed for that If someone found the solution, I take it! On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez wrote: > Ok, thanks. > > Le mer. 18 d?c. 2019, ? 10 h 41, henri hemery a > ?crit : > >> I am using 3.9 >> >> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez >> wrote: >> >>> What version of rancid do you have? >>> >>> Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery >>> a ?crit : >>> >>>> Hi Guisepp, >>>> >>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use >>>> hlogin and it works: >>>> >>>> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >>>> xxsw3 >>>> spawn telnet -K XXXsw3 >>>> Trying 10.X.X.X... >>>> Connected to XXXsw3. >>>> Escape character is '^]'. >>>> >>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez >>>> wrote: >>>> >>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I >>>>> use hlogin, hrancid. This is the output error: >>>>> >>>>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>>>> executing hlogin -t 90 -c"show version;show flash;show >>>>> system-information;show system information;show module;show stack;show tech >>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>>>> sh: hlogin: command not found >>>>> xx.xx.xx.xx: missed cmd(s): all commands >>>>> xx.xx.xx.xx: End of run not found >>>>> xx.xx.xx.xx: clean_run is false >>>>> xx.xx.xx.xx: found_end is false >>>>> >>>>> >>>>> _______________________________________________ >>>>> Rancid-discuss mailing list >>>>> Rancid-discuss at shrubbery.net >>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>>> >>>> >>> >>> -- >>> *Guisepp Rodriguez* >>> >>> Cell: (001) 514 627-9441 >>> T?l: (001) 450 655-5384 >>> >>> >>> > > -- > *Guisepp Rodriguez* > > Cell: (001) 514 627-9441 > T?l: (001) 450 655-5384 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guisrodi at gmail.com Fri Dec 20 14:45:25 2019 From: guisrodi at gmail.com (Guisepp Rodriguez) Date: Fri, 20 Dec 2019 09:45:25 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: I notice that the backup its done! Even if the command hrancid doesn't work when I test ./bin/hrancid -t hp -d xx.xx.xx.xx ***************** [rancid at rancid ~]$ more /usr/local/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx ;RANCID-CONTENT-TYPE: hp ; ;Serial Number: xxxxxxxxx ; ;Memory: 331M ; ;Image: stamp: /ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah_qaoff_rel_ukiah) ;Image: Jul 21 2017 14:09:42 ;Image: WC.16.04.0008 ;Image: 423 ;Image: Boot Image: Primary ;Image: Boot ROM Version: WC.17.02.0003 ;Image: Active Boot ROM: Primary ;Image: ROM WC.17.02.0003 ; ;Flash: Image Size (bytes) Date Version ;Flash: ----------------- ------------ -------- -------------- ;Flash: Primary Image : 28278126 07/21/17 WC.16.04.0008 ;Flash: Secondary Image : 28278126 07/21/17 WC.16.04.0008 ;Flash: Boot ROM Version ;Flash: ---------------- ;Flash: Primary Boot ROM Version : WC.17.02.0003 ;Flash: Secondary Boot ROM Version : WC.17.02.0003 ;Flash: Default Boot Image : Primary ;Flash: Default Boot ROM : Primary Le ven. 20 d?c. 2019, ? 09 h 37, henri hemery a ?crit : > Hi Guisepp, > > For me, the problem I still have with tis Aruba/HP switches that run > comware 5 I think, it is the authentication. > The enable mode ask for username+password again, and it seems that the > scripts are not designed for that > > If someone found the solution, I take it! > > On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez > wrote: > >> Ok, thanks. >> >> Le mer. 18 d?c. 2019, ? 10 h 41, henri hemery a >> ?crit : >> >>> I am using 3.9 >>> >>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez >>> wrote: >>> >>>> What version of rancid do you have? >>>> >>>> Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery >>>> a ?crit : >>>> >>>>> Hi Guisepp, >>>>> >>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use >>>>> hlogin and it works: >>>>> >>>>> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >>>>> xxsw3 >>>>> spawn telnet -K XXXsw3 >>>>> Trying 10.X.X.X... >>>>> Connected to XXXsw3. >>>>> Escape character is '^]'. >>>>> >>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez >>>>> wrote: >>>>> >>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I >>>>>> use hlogin, hrancid. This is the output error: >>>>>> >>>>>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>>>>> executing hlogin -t 90 -c"show version;show flash;show >>>>>> system-information;show system information;show module;show stack;show tech >>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>>>>> sh: hlogin: command not found >>>>>> xx.xx.xx.xx: missed cmd(s): all commands >>>>>> xx.xx.xx.xx: End of run not found >>>>>> xx.xx.xx.xx: clean_run is false >>>>>> xx.xx.xx.xx: found_end is false >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Rancid-discuss mailing list >>>>>> Rancid-discuss at shrubbery.net >>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>>>> >>>>> >>>> >>>> -- >>>> *Guisepp Rodriguez* >>>> >>>> Cell: (001) 514 627-9441 >>>> T?l: (001) 450 655-5384 >>>> >>>> >>>> >> >> -- >> *Guisepp Rodriguez* >> >> Cell: (001) 514 627-9441 >> T?l: (001) 450 655-5384 >> >> >> -- *Guisepp Rodriguez* Cell: (001) 514 627-9441 T?l: (001) 450 655-5384 -------------- next part -------------- An HTML attachment was scrubbed... URL: From henri.hemery at gmail.com Fri Dec 20 15:10:55 2019 From: henri.hemery at gmail.com (henri hemery) Date: Fri, 20 Dec 2019 10:10:55 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: Cool for you! Can you tell me how you configured the authentication on the switch? Does the rancid user get particular privilege mode? In you .cloginrc file, is it autoenable? On Fri, Dec 20, 2019 at 9:45 AM Guisepp Rodriguez wrote: > I notice that the backup its done! Even if the command hrancid doesn't > work when I test > > ./bin/hrancid -t hp -d xx.xx.xx.xx > > ***************** > [rancid at rancid ~]$ more > /usr/local/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx > ;RANCID-CONTENT-TYPE: hp > ; > ;Serial Number: xxxxxxxxx > ; > ;Memory: 331M > ; > ;Image: stamp: > /ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah_qaoff_rel_ukiah) > ;Image: Jul 21 2017 14:09:42 > ;Image: WC.16.04.0008 > ;Image: 423 > ;Image: Boot Image: Primary > ;Image: Boot ROM Version: WC.17.02.0003 > ;Image: Active Boot ROM: Primary > ;Image: ROM WC.17.02.0003 > ; > ;Flash: Image Size (bytes) Date Version > ;Flash: ----------------- ------------ -------- -------------- > ;Flash: Primary Image : 28278126 07/21/17 WC.16.04.0008 > ;Flash: Secondary Image : 28278126 07/21/17 WC.16.04.0008 > ;Flash: Boot ROM Version > ;Flash: ---------------- > ;Flash: Primary Boot ROM Version : WC.17.02.0003 > ;Flash: Secondary Boot ROM Version : WC.17.02.0003 > ;Flash: Default Boot Image : Primary > ;Flash: Default Boot ROM : Primary > > > > > Le ven. 20 d?c. 2019, ? 09 h 37, henri hemery a > ?crit : > >> Hi Guisepp, >> >> For me, the problem I still have with tis Aruba/HP switches that run >> comware 5 I think, it is the authentication. >> The enable mode ask for username+password again, and it seems that the >> scripts are not designed for that >> >> If someone found the solution, I take it! >> >> On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez >> wrote: >> >>> Ok, thanks. >>> >>> Le mer. 18 d?c. 2019, ? 10 h 41, henri hemery >>> a ?crit : >>> >>>> I am using 3.9 >>>> >>>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez >>>> wrote: >>>> >>>>> What version of rancid do you have? >>>>> >>>>> Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery >>>>> a ?crit : >>>>> >>>>>> Hi Guisepp, >>>>>> >>>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use >>>>>> hlogin and it works: >>>>>> >>>>>> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >>>>>> xxsw3 >>>>>> spawn telnet -K XXXsw3 >>>>>> Trying 10.X.X.X... >>>>>> Connected to XXXsw3. >>>>>> Escape character is '^]'. >>>>>> >>>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez >>>>>> wrote: >>>>>> >>>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M >>>>>>> I use hlogin, hrancid. This is the output error: >>>>>>> >>>>>>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>>>>>> executing hlogin -t 90 -c"show version;show flash;show >>>>>>> system-information;show system information;show module;show stack;show tech >>>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>>>>>> sh: hlogin: command not found >>>>>>> xx.xx.xx.xx: missed cmd(s): all commands >>>>>>> xx.xx.xx.xx: End of run not found >>>>>>> xx.xx.xx.xx: clean_run is false >>>>>>> xx.xx.xx.xx: found_end is false >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Rancid-discuss mailing list >>>>>>> Rancid-discuss at shrubbery.net >>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> *Guisepp Rodriguez* >>>>> >>>>> Cell: (001) 514 627-9441 >>>>> T?l: (001) 450 655-5384 >>>>> >>>>> >>>>> >>> >>> -- >>> *Guisepp Rodriguez* >>> >>> Cell: (001) 514 627-9441 >>> T?l: (001) 450 655-5384 >>> >>> >>> > > -- > *Guisepp Rodriguez* > > Cell: (001) 514 627-9441 > T?l: (001) 450 655-5384 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guisrodi at gmail.com Fri Dec 20 15:12:48 2019 From: guisrodi at gmail.com (Guisepp Rodriguez) Date: Fri, 20 Dec 2019 10:12:48 -0500 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: This is my config add autoenable xx.xx.xx.xx 1 add method xx.xx.xx.xx ssh add user * xxxx add password * xxxx Le ven. 20 d?c. 2019, ? 10 h 10, henri hemery a ?crit : > Cool for you! > > Can you tell me how you configured the authentication on the switch? > Does the rancid user get particular privilege mode? > In you .cloginrc file, is it autoenable? > > On Fri, Dec 20, 2019 at 9:45 AM Guisepp Rodriguez > wrote: > >> I notice that the backup its done! Even if the command hrancid doesn't >> work when I test >> >> ./bin/hrancid -t hp -d xx.xx.xx.xx >> >> ***************** >> [rancid at rancid ~]$ more >> /usr/local/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx >> ;RANCID-CONTENT-TYPE: hp >> ; >> ;Serial Number: xxxxxxxxx >> ; >> ;Memory: 331M >> ; >> ;Image: stamp: >> /ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah_qaoff_rel_ukiah) >> ;Image: Jul 21 2017 14:09:42 >> ;Image: WC.16.04.0008 >> ;Image: 423 >> ;Image: Boot Image: Primary >> ;Image: Boot ROM Version: WC.17.02.0003 >> ;Image: Active Boot ROM: Primary >> ;Image: ROM WC.17.02.0003 >> ; >> ;Flash: Image Size (bytes) Date Version >> ;Flash: ----------------- ------------ -------- -------------- >> ;Flash: Primary Image : 28278126 07/21/17 WC.16.04.0008 >> ;Flash: Secondary Image : 28278126 07/21/17 WC.16.04.0008 >> ;Flash: Boot ROM Version >> ;Flash: ---------------- >> ;Flash: Primary Boot ROM Version : WC.17.02.0003 >> ;Flash: Secondary Boot ROM Version : WC.17.02.0003 >> ;Flash: Default Boot Image : Primary >> ;Flash: Default Boot ROM : Primary >> >> >> >> >> Le ven. 20 d?c. 2019, ? 09 h 37, henri hemery a >> ?crit : >> >>> Hi Guisepp, >>> >>> For me, the problem I still have with tis Aruba/HP switches that run >>> comware 5 I think, it is the authentication. >>> The enable mode ask for username+password again, and it seems that the >>> scripts are not designed for that >>> >>> If someone found the solution, I take it! >>> >>> On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez >>> wrote: >>> >>>> Ok, thanks. >>>> >>>> Le mer. 18 d?c. 2019, ? 10 h 41, henri hemery >>>> a ?crit : >>>> >>>>> I am using 3.9 >>>>> >>>>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez >>>>> wrote: >>>>> >>>>>> What version of rancid do you have? >>>>>> >>>>>> Le mer. 18 d?c. 2019, ? 09 h 24, henri hemery >>>>>> a ?crit : >>>>>> >>>>>>> Hi Guisepp, >>>>>>> >>>>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use >>>>>>> hlogin and it works: >>>>>>> >>>>>>> [rancid at xxxswbkp1 bin]$ ./hlogin XXXX >>>>>>> xxsw3 >>>>>>> spawn telnet -K XXXsw3 >>>>>>> Trying 10.X.X.X... >>>>>>> Connected to XXXsw3. >>>>>>> Escape character is '^]'. >>>>>>> >>>>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez < >>>>>>> guisrodi at gmail.com> wrote: >>>>>>> >>>>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M >>>>>>>> I use hlogin, hrancid. This is the output error: >>>>>>>> >>>>>>>> [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx >>>>>>>> executing hlogin -t 90 -c"show version;show flash;show >>>>>>>> system-information;show system information;show module;show stack;show tech >>>>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx >>>>>>>> sh: hlogin: command not found >>>>>>>> xx.xx.xx.xx: missed cmd(s): all commands >>>>>>>> xx.xx.xx.xx: End of run not found >>>>>>>> xx.xx.xx.xx: clean_run is false >>>>>>>> xx.xx.xx.xx: found_end is false >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Rancid-discuss mailing list >>>>>>>> Rancid-discuss at shrubbery.net >>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> *Guisepp Rodriguez* >>>>>> >>>>>> Cell: (001) 514 627-9441 >>>>>> T?l: (001) 450 655-5384 >>>>>> >>>>>> >>>>>> >>>> >>>> -- >>>> *Guisepp Rodriguez* >>>> >>>> Cell: (001) 514 627-9441 >>>> T?l: (001) 450 655-5384 >>>> >>>> >>>> >> >> -- >> *Guisepp Rodriguez* >> >> Cell: (001) 514 627-9441 >> T?l: (001) 450 655-5384 >> >> >> -- *Guisepp Rodriguez* Cell: (001) 514 627-9441 T?l: (001) 450 655-5384 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dale.shaw+rancid-discuss at gmail.com Fri Dec 20 21:30:39 2019 From: dale.shaw+rancid-discuss at gmail.com (Dale Shaw) Date: Sat, 21 Dec 2019 08:30:39 +1100 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: Hi, On Thu, 19 Dec 2019 at 1:02 am, Guisepp Rodriguez wrote: > What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use > hlogin, hrancid. This is the output error: > > [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx > executing hlogin -t 90 -c"show version;show flash;show > system-information;show system information;show module;show stack;show tech > transceivers;show config files;show config status;write term" xx.xx.xx.xx > sh: hlogin: command not found > ^^ do you have a $PATH environment variable problem? It seems hrancid can?t execute hlogin. From memory, this can be set in rancid.conf. Cheers, Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Zuelow at juneau.org Fri Dec 20 18:00:08 2019 From: James.Zuelow at juneau.org (James Zuelow) Date: Fri, 20 Dec 2019 18:00:08 +0000 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: <0c6f7b00be274e618ef463c1f2ecfb78@City-Exch-DB2.cbj.local> Here, we use h3clogin for HP/Aruba Comware 5 or 7 switches. Our Comware 5 switches are the little Network Jack 5000 series, and Comware 7 are flexible fabric switches we use for iSCSI (5700 and 5300 series). No issues with authentication, there are occasionally some setup errors when Rancid initially connects but they?re not fatal. We always get a configuration stored though. h3clogin -c"display current-configuration" AA.BB.CC.DD James From: Rancid-discuss On Behalf Of henri hemery Sent: Friday, December 20, 2019 5:38 AM To: Guisepp Rodriguez Cc: Rancid-discuss at shrubbery.net Subject: Re: [rancid] Aruba 2930M EXTERNAL E-MAIL: BE CAUTIOUS WHEN OPENING FILES OR FOLLOWING LINKS ________________________________ Hi Guisepp, For me, the problem I still have with tis Aruba/HP switches that run comware 5 I think, it is the authentication. The enable mode ask for username+password again, and it seems that the scripts are not designed for that If someone found the solution, I take it! -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Mon Dec 23 02:15:42 2019 From: heas at shrubbery.net (john heasley) Date: Mon, 23 Dec 2019 02:15:42 +0000 Subject: [rancid] Aruba 2930M In-Reply-To: References: Message-ID: <20191223021542.GB58349@shrubbery.net> Sat, Dec 21, 2019 at 08:30:39AM +1100, Dale Shaw: > On Thu, 19 Dec 2019 at 1:02 am, Guisepp Rodriguez > > What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use > > hlogin, hrancid. This is the output error: > > > > [rancid at rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx > > executing hlogin -t 90 -c"show version;show flash;show > > system-information;show system information;show module;show stack;show tech > > transceivers;show config files;show config status;write term" xx.xx.xx.xx > > sh: hlogin: command not found > > > > ^^ do you have a $PATH environment variable problem? It seems hrancid can?t > execute hlogin. From memory, this can be set in rancid.conf. To clarify; the scripts inherit PATH from their parent, expect rancid-run and control_rancid which include rancid.conf.