Re: [rancid] exit.. no, logout
Ryan Gelobter <[email protected]> Thu, 3 Oct 2019 21:43:06 -0500
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <CAFPFpmXCWps4O8qnjUc3mA9apOFRCm=0UaykB9OT5J_pLBeq=g@mail.gmail.com> |
--===============3809030613740824267== Content-Type: multipart/alternative; boundary="00000000000029c4a105940caad4" --00000000000029c4a105940caad4 Content-Type: text/plain; charset="UTF-8" Wayne, have you tried using device type of smc instead of powerconnect or cisco? On Fri, Sep 20, 2019, 10:05 AM Wayne Eisenberg < [email protected]> wrote: > Hi, > > I am dealing with a Dell 6224 switch that has an interesting quirk. The > powerconnect and cisco-sb types both do the job of logging in and > retrieving information, however at the very end when rancid is trying to > logout, it leaves enabled mode with "exit", and then tries to logoff the > switch completely with "exit" - except that that command does not exist in > disabled mode, only 'quit' and 'logout'. The result is that rancid gets > stuck in a loop issuing the 'exit' command, gets a 'command doesn't exist' > response and never successfully logs out. Where and how can I modify this > so that rancid tries the 'quit' and 'logout' commands as well as 'exit'? > > Some info that may be helpful: > #show system > System Description: Dell Ethernet Switch > System Object ID: 1.3.6.1.4.1.674.10895.3010 > System Model ID: PCT6224 > Machine Type: Dell 24 Port Gigabit Ethernet > > #show version > Image Descriptions > image1 : default image > image2 : > Images currently available on Flash > -------------------------------------------------------------------- > unit image1 image2 current-active next-active > -------------------------------------------------------------------- > 1 2.1.0.13 2.1.0.13 image1 image1 > > Thanks, > Wayne > > > _______________________________________________ > Rancid-discuss mailing list > [email protected] > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > --00000000000029c4a105940caad4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>Wayne, have you tried using device type of smc inste= ad of powerconnect or cisco?=C2=A0<br><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 20, 2019, 10:05 AM Wayne Eisenb= erg <<a href=3D"mailto:[email protected]">Wayne.Eisenberg@= carolinasit.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<= br> <br> I am dealing with a Dell 6224 switch that has an interesting quirk. The pow= erconnect and cisco-sb types both do the job of logging in and retrieving i= nformation, however at the very end when rancid is trying to logout, it lea= ves enabled mode with "exit", and then tries to logoff the switch= completely with "exit" - except that that command does not exist= in disabled mode, only 'quit' and 'logout'. The result is = that rancid gets stuck in a loop issuing the 'exit' command, gets a= 'command doesn't exist' response and never successfully logs o= ut. Where and how can I modify this so that rancid tries the 'quit'= and 'logout' commands as well as 'exit'?<br> <br> Some info that may be helpful:<br> #show system<br> System Description: Dell Ethernet Switch<br> System Object ID: 1.3.6.1.4.1.674.10895.3010<br> System Model ID: PCT6224<br> Machine Type: Dell 24 Port Gigabit Ethernet<br> <br> #show version<br> Image Descriptions<br> =C2=A0image1 : default image<br> =C2=A0image2 :<br> Images currently available on Flash<br> --------------------------------------------------------------------<br> =C2=A0unit=C2=A0 =C2=A0 =C2=A0 image1=C2=A0 =C2=A0 =C2=A0 image2=C2=A0 =C2= =A0 =C2=A0current-active=C2=A0 =C2=A0 =C2=A0 =C2=A0 next-active<br> --------------------------------------------------------------------<br> =C2=A0 =C2=A0 1=C2=A0 =C2=A0 2.1.0.13=C2=A0 =C2=A0 2.1.0.13=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0image1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0image1<br> <br> Thanks,<br> Wayne<br> <br> <br> _______________________________________________<br> Rancid-discuss mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"no= referrer">[email protected]</a><br> <a href=3D"http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel=3D= "noreferrer noreferrer" target=3D"_blank">http://www.shrubbery.net/mailman/= listinfo/rancid-discuss</a><br> </blockquote></div></div></div> --00000000000029c4a105940caad4-- --===============3809030613740824267== 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 --===============3809030613740824267==--