Re: [rancid] Aruba 2930M
Guisepp Rodriguez <[email protected]> Fri, 20 Dec 2019 10:12:48 -0500
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <CA+-HkKqkWR2rHZ6-U9ECV-3c5GgdRbyUuPjk+8yf5=RmGv+mog@mail.gmail.com> |
--===============6256510846240137489== Content-Type: multipart/alternative; boundary="00000000000000aee9059a241d7f" --00000000000000aee9059a241d7f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9c. 2019, =C3=A0 10 h 10, henri hemery <henri.hemery@gmail= .com> a =C3=A9crit : > 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 <[email protected]> > 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@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_re= l_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=C3=A9c. 2019, =C3=A0 09 h 37, henri hemery <henri.hemery@gm= ail.com> a >> =C3=A9crit : >> >>> 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 <[email protected]> >>> wrote: >>> >>>> Ok, thanks. >>>> >>>> Le mer. 18 d=C3=A9c. 2019, =C3=A0 10 h 41, henri hemery <henri.hemery@= gmail.com> >>>> a =C3=A9crit : >>>> >>>>> I am using 3.9 >>>>> >>>>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <[email protected]= > >>>>> wrote: >>>>> >>>>>> What version of rancid do you have? >>>>>> >>>>>> Le mer. 18 d=C3=A9c. 2019, =C3=A0 09 h 24, henri hemery <henri.hemer= [email protected]> >>>>>> a =C3=A9crit : >>>>>> >>>>>>> Hi Guisepp, >>>>>>> >>>>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use >>>>>>> hlogin and it works: >>>>>>> >>>>>>> [rancid@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 < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930= M >>>>>>>> I use hlogin, hrancid. This is the output error: >>>>>>>> >>>>>>>> [rancid@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.x= x.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 >>>>>>>> [email protected] >>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> *Guisepp Rodriguez* >>>>>> >>>>>> Cell: (001) 514 627-9441 >>>>>> T=C3=A9l: (001) 450 655-5384 >>>>>> >>>>>> >>>>>> >>>> >>>> -- >>>> *Guisepp Rodriguez* >>>> >>>> Cell: (001) 514 627-9441 >>>> T=C3=A9l: (001) 450 655-5384 >>>> >>>> >>>> >> >> -- >> *Guisepp Rodriguez* >> >> Cell: (001) 514 627-9441 >> T=C3=A9l: (001) 450 655-5384 >> >> >> --=20 *Guisepp Rodriguez* Cell: (001) 514 627-9441 T=C3=A9l: (001) 450 655-5384 --00000000000000aee9059a241d7f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div cl= ass=3D"gmail_default" style=3D"font-family:verdana,sans-serif">This is my c= onfig</div><div class=3D"gmail_default" style=3D"font-family:verdana,sans-s= erif"><br></div><div class=3D"gmail_default" style=3D"font-family:verdana,s= ans-serif">add autoenable xx.xx.xx.xx 1</div><div class=3D"gmail_default" s= tyle=3D"font-family:verdana,sans-serif">add method xx.xx.xx.xx ssh</div><di= v class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">add user= * xxxx</div><div class=3D"gmail_default" style=3D"font-family:verdana,sans= -serif">add password * xxxx</div></div></div></div></div><br><div class=3D"= gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le ven. 20 d=C3=A9c. 201= 9, =C3=A0 10 h 10, henri hemery <<a href=3D"mailto:[email protected]= m">[email protected]</a>> a =C3=A9crit=C2=A0:<br></div><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Cool for you!<div><b= r></div><div>Can you tell me how you configured the authentication on the s= witch?</div><div>Does the rancid user get particular privilege mode?=C2=A0<= /div><div>In you .cloginrc file, is it autoenable?</div></div><br><div clas= s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 20, 201= 9 at 9:45 AM Guisepp Rodriguez <<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>> wrote:<br></div><blockquote clas= s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r= gb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div di= r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"= gmail_default" style=3D"font-family:verdana,sans-serif">I notice that the b= ackup its done!=C2=A0Even if the command hrancid doesn't work when I te= st</div><div class=3D"gmail_default" style=3D"font-family:verdana,sans-seri= f"><br></div><div class=3D"gmail_default"><font face=3D"verdana, sans-serif= ">./bin/hrancid -t hp -d=C2=A0</font><span style=3D"color:rgb(80,0,80);font= -family:verdana,sans-serif">xx.xx.xx.xx</span><br></div><div class=3D"gmail= _default"><span style=3D"color:rgb(80,0,80);font-family:verdana,sans-serif"= ><br></span></div><div class=3D"gmail_default"><span style=3D"color:rgb(80,= 0,80);font-family:verdana,sans-serif">*****************</span></div><div cl= ass=3D"gmail_default"><span style=3D"color:rgb(80,0,80);font-family:verdana= ,sans-serif"><div class=3D"gmail_default">[rancid@rancid ~]$ more /usr/loca= l/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx=C2=A0</div><div class=3D"gmail= _default">;RANCID-CONTENT-TYPE: hp</div><div class=3D"gmail_default">;</div= ><div class=3D"gmail_default">;Serial Number: xxxxxxxxx</div><div class=3D"= gmail_default">;</div><div class=3D"gmail_default">;Memory: 331M</div><div = class=3D"gmail_default">;</div><div class=3D"gmail_default">;Image: stamp: = =C2=A0 =C2=A0/ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah= _qaoff_rel_ukiah)</div><div class=3D"gmail_default">;Image: Jul 21 2017 14:= 09:42</div><div class=3D"gmail_default">;Image: WC.16.04.0008</div><div cla= ss=3D"gmail_default">;Image: 423</div><div class=3D"gmail_default">;Image: = Boot Image: =C2=A0 =C2=A0 Primary</div><div class=3D"gmail_default">;Image:= Boot ROM Version: =C2=A0 =C2=A0WC.17.02.0003</div><div class=3D"gmail_defa= ult">;Image: Active Boot ROM: =C2=A0 =C2=A0 Primary</div><div class=3D"gmai= l_default">;Image: ROM WC.17.02.0003</div><div class=3D"gmail_default">;</d= iv><div class=3D"gmail_default">;Flash: Image =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 Size (bytes) Date =C2=A0 =C2=A0 Version=C2=A0</div><div class= =3D"gmail_default">;Flash: ----------------- ------------ -------- --------= ------</div><div class=3D"gmail_default">;Flash: Primary Image =C2=A0 =C2= =A0: =C2=A0 =C2=A028278126 07/21/17 WC.16.04.0008 =C2=A0 =C2=A0 =C2=A0 =C2= =A0</div><div class=3D"gmail_default">;Flash: Secondary Image =C2=A0: =C2= =A0 =C2=A028278126 07/21/17 WC.16.04.0008 =C2=A0 =C2=A0 =C2=A0=C2=A0</div><= div class=3D"gmail_default">;Flash: Boot ROM Version=C2=A0</div><div class= =3D"gmail_default">;Flash: ----------------</div><div class=3D"gmail_defaul= t">;Flash: Primary Boot ROM Version =C2=A0 : WC.17.02.0003</div><div class= =3D"gmail_default">;Flash: Secondary Boot ROM Version : WC.17.02.0003</div>= <div class=3D"gmail_default">;Flash: Default Boot Image =C2=A0 : Primary</d= iv><div class=3D"gmail_default">;Flash: Default Boot ROM =C2=A0 =C2=A0 : Pr= imary</div></span></div><div class=3D"gmail_default"><span style=3D"color:r= gb(80,0,80);font-family:verdana,sans-serif"><br></span></div><div class=3D"= gmail_default"><span style=3D"color:rgb(80,0,80);font-family:verdana,sans-s= erif"><br></span></div><div class=3D"gmail_default" style=3D"font-family:ve= rdana,sans-serif"><br></div></div></div></div></div></div></div><br><div cl= ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le ven. 20 d=C3= =A9c. 2019, =C3=A0 09 h 37, henri hemery <<a href=3D"mailto:henri.hemery= @gmail.com" target=3D"_blank">[email protected]</a>> a =C3=A9crit= =C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir= =3D"ltr">Hi Guisepp,<div><br></div><div>For me, the problem I still have wi= th tis Aruba/HP switches that run comware 5 I think, it is the authenticati= on.</div><div>The enable mode ask for username+password again, and it seems= that the scripts are not designed for that</div><div><br></div><div>If som= eone found the solution, I take it!</div></div><br><div class=3D"gmail_quot= e"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Dec 18, 2019 at 10:48 AM G= uisepp Rodriguez <<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quo= te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204= );padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"= font-family:verdana,sans-serif">Ok, thanks.=C2=A0<br></div></div><br><div c= lass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le mer. 18 d=C3= =A9c. 2019, =C3=A0 10 h 41, henri hemery <<a href=3D"mailto:henri.hemery= @gmail.com" target=3D"_blank">[email protected]</a>> a =C3=A9crit= =C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir= =3D"ltr">I am using 3.9</div><br><div class=3D"gmail_quote"><div dir=3D"ltr= " class=3D"gmail_attr">On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez &l= t;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= m</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana= ,sans-serif">What version of rancid do you=C2=A0have?</div></div><br><div c= lass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le mer. 18 d=C3= =A9c. 2019, =C3=A0 09 h 24, henri hemery <<a href=3D"mailto:henri.hemery= @gmail.com" target=3D"_blank">[email protected]</a>> a =C3=A9crit= =C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir= =3D"ltr">Hi Guisepp,<div><br></div><div>I have Aruba=C2=A0<span style=3D"ba= ckground-color:rgb(250,250,250);color:rgb(0,0,0);font-family:monospace;font= -size:medium;white-space:pre-wrap">JL258A </span>2930F-8G-PoE+-2SFP+ in pro= duction, and I use hlogin and it works:</div><div><br></div><div>[rancid@xx= xswbkp1 bin]$ ./hlogin XXXX<br>xxsw3<br>spawn telnet -K XXXsw3<br>Trying 10= .X.X.X...<br>Connected to XXXsw3.<br>Escape character is '^]'.<br><= /div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a= ttr">On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>> wrote:<b= r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex= ;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">= <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di= r=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,sans-se= rif">What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I = use hlogin, hrancid. This is the output error:=C2=A0</div><div class=3D"gma= il_default" style=3D"font-family:verdana,sans-serif"><br></div><div class= =3D"gmail_default" style=3D"font-family:verdana,sans-serif"><div class=3D"g= mail_default">[rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx</d= iv><div class=3D"gmail_default">executing hlogin -t 90 -c"show version= ;show flash;show system-information;show system information;show module;sho= w stack;show tech transceivers;show config files;show config status;write t= erm" xx.xx.xx.xx</div><div class=3D"gmail_default">sh: hlogin: command= not found</div><div class=3D"gmail_default">xx.xx.xx.xx: missed cmd(s): al= l commands</div><div class=3D"gmail_default">xx.xx.xx.xx: End of run not fo= und</div><div class=3D"gmail_default">xx.xx.xx.xx: clean_run is false</div>= <div class=3D"gmail_default">xx.xx.xx.xx: found_end is false</div></div><di= v class=3D"gmail_default" style=3D"font-family:verdana,sans-serif"><br></di= v><div><br></div></div></div></div></div></div></div> _______________________________________________<br> Rancid-discuss mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Rancid-di= [email protected]</a><br> <a href=3D"http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel=3D= "noreferrer" target=3D"_blank">http://www.shrubbery.net/mailman/listinfo/ra= ncid-discuss</a><br> </blockquote></div> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= ><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><strong>= <font color=3D"#3333ff" size=3D"4">Guisepp Rodriguez</font></strong></div><= div><span lang=3D"ES-TRAD" style=3D"color:rgb(54,95,145)"><span lang=3D"ES-= TRAD"><font color=3D"#999999"><p style=3D"margin:0cm 0cm 5.45pt"><span styl= e=3D"color:gray;font-family:tahoma,sans-serif;font-size:small">Cell: (001) = =C2=A0</span><span style=3D"color:rgb(128,128,128);font-family:verdana,sans= -serif;font-size:small">514 627-9441</span><br><span style=3D"color:gray;fo= nt-family:tahoma,sans-serif;font-size:small">T=C3=A9l: (001) 450 655-5384= =C2=A0</span><br></p><p style=3D"margin:0cm 0cm 5.45pt"><br></p></font></sp= an></span></div></div></div></div></div></div></div> </blockquote></div> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= ><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><strong>= <font color=3D"#3333ff" size=3D"4">Guisepp Rodriguez</font></strong></div><= div><span lang=3D"ES-TRAD" style=3D"color:rgb(54,95,145)"><span lang=3D"ES-= TRAD"><font color=3D"#999999"><p style=3D"margin:0cm 0cm 5.45pt"><span styl= e=3D"color:gray;font-family:tahoma,sans-serif;font-size:small">Cell: (001) = =C2=A0</span><span style=3D"color:rgb(128,128,128);font-family:verdana,sans= -serif;font-size:small">514 627-9441</span><br><span style=3D"color:gray;fo= nt-family:tahoma,sans-serif;font-size:small">T=C3=A9l: (001) 450 655-5384= =C2=A0</span><br></p><p style=3D"margin:0cm 0cm 5.45pt"><br></p></font></sp= an></span></div></div></div></div></div></div></div> </blockquote></div> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= ><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><strong>= <font color=3D"#3333ff" size=3D"4">Guisepp Rodriguez</font></strong></div><= div><span lang=3D"ES-TRAD" style=3D"color:rgb(54,95,145)"><span lang=3D"ES-= TRAD"><font color=3D"#999999"><p style=3D"margin:0cm 0cm 5.45pt"><span styl= e=3D"color:gray;font-family:tahoma,sans-serif;font-size:small">Cell: (001) = =C2=A0</span><span style=3D"color:rgb(128,128,128);font-family:verdana,sans= -serif;font-size:small">514 627-9441</span><br><span style=3D"color:gray;fo= nt-family:tahoma,sans-serif;font-size:small">T=C3=A9l: (001) 450 655-5384= =C2=A0</span><br></p><p style=3D"margin:0cm 0cm 5.45pt"><br></p></font></sp= an></span></div></div></div></div></div></div></div> </blockquote></div> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div= dir=3D"ltr"><div><strong><font color=3D"#3333ff" size=3D"4">Guisepp Rodrig= uez</font></strong></div><div><span lang=3D"ES-TRAD" style=3D"color:rgb(54,= 95,145)"><span lang=3D"ES-TRAD"><font color=3D"#999999"><p style=3D"margin:= 0cm 0cm 5.45pt"><span style=3D"color:gray;font-family:tahoma,sans-serif;fon= t-size:small">Cell: (001) =C2=A0</span><span style=3D"color:rgb(128,128,128= );font-family:verdana,sans-serif;font-size:small">514 627-9441</span><br><s= pan style=3D"color:gray;font-family:tahoma,sans-serif;font-size:small">T=C3= =A9l: (001) 450 655-5384=C2=A0</span><br></p><p style=3D"margin:0cm 0cm 5.4= 5pt"><br></p></font></span></span></div></div></div></div></div></div></div= > --00000000000000aee9059a241d7f-- --===============6256510846240137489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rancid-discuss mailing list [email protected] http://www.shrubbery.net/mailman/listinfo/rancid-discuss --===============6256510846240137489==--