<div dir="ltr"><div><div><div><div><div>This is Enterasys <span class="gmail-part-number">"71K11L4-48" switch. It has the same CLI and commands like the other S/N/K series switches.<br><br></span></div><span class="gmail-part-number">Some commands are:<br><br></span></div><span class="gmail-part-number">show version<br></span></div><span class="gmail-part-number">show config<br>show system hardware<br><br></span></div><span class="gmail-part-number"></span></div><span class="gmail-part-number">-Azher<br></span><div><div><span class="gmail-part-number"><br></span><div><div><div><div><div><span class="gmail-part-number"><br></span></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 4, 2018 at 3:19 PM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thu, Jan 04, 2018 at 01:38:15PM -0800, Azher:<br>
<span class="">> Hi Heasley,<br>
><br>
> [rancid@rancid ~]$ rivrancid -d -t enterasys cal-7100-1<br>
> executing rivlogin -t 90 -c"system show uptime;system show version;system<br>
> show hardware;system show active-config" cal-7100-1<br>
> cal-7100-1: missed cmd(s): all commands<br>
> cal-7100-1: End of run not found<br>
> cal-7100-1: clean_run is false<br>
><br>
> These commands starting with "system" does not work on the Enterasys<br>
> switches.<br>
<br>
</span>is it an oem of someone else's box?  or a completely new enterasys<br>
o/s?<br>
<div class="HOEnZb"><div class="h5"><br>
> Thanks<br>
> -Azher<br>
><br>
><br>
><br>
> On Tue, Jan 2, 2018 at 3:27 PM, heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:<br>
><br>
> > Thu, Dec 28, 2017 at 06:08:57PM -0800, Azher:<br>
> > > Hi Chris,<br>
> > ><br>
> > > I added following lines in the "rancid.types.base " otherwise there is<br>
> > just<br>
> > > a reference of enterasys to rivrancid.<br>
> > ><br>
> > > enterasys;script;xrancid<br>
> > > enterasys;login;xlogin<br>
> > > enterasys;command;enterasys::<wbr>ShowVersion;show version<br>
> > > enterasys;command;enterasys::<wbr>WriteTerm;show config<br>
> ><br>
> > you should not need that; there is already an entry in rancid.types.base<br>
> > for this device type - use that.<br>
> ><br>
> > > Running in debug mode:<br>
> > ><br>
> > > [rancid@rancid ~/etc]$ rancid -d -t enterasys cal3-n7<br>
> > > loadtype: device type enterasys<br>
> > > loadtype: found device type enterasys in /opt/rancid/etc/rancid.types.<br>
> > base<br>
> > > loadtype: undefined function in enterasys: enterasys::ShowVersion<br>
> > > Couldn't load device type spec for enterasys<br>
> > ><br>
> > > I am not sure why it is complaining because xrancid does have this<br>
> > function<br>
> > > defined:<br>
> > ><br>
> > > # This routine parses "show version"<br>
> > > sub ShowVersion {<br>
> > >     print STDERR "    In ShowVersion: $_" if ($debug);<br>
> > ><br>
> > > And in the main routine:<br>
> > ><br>
> > > # Main<br>
> > > @commandtable = (<br>
> > >         {'show version'                 => 'ShowVersion'},<br>
> > > ###     {'show memory'                  => 'ShowMemory'},<br>
> > > ###     {'show diag'                    => 'ShowDiag'},<br>
> > > ###     {'show switch'                  => 'ShowSwitch'},<br>
> > > ###     {'show slot'                    => 'ShowSlot'},<br>
> > > # way too confusing     {'show configuration detail'    => 'WriteTerm'},<br>
> > >         {'show config'                  => 'WriteTerm'},<br>
> > > );<br>
> > ><br>
> > > Trying rivrancid also complains about no commands:<br>
> > ><br>
> > > [rancid@rancid ~]$ rivrancid -d cal3-n7<br>
> > > executing rivlogin -t 90 -c"system show uptime;system show version;system<br>
> > > show hardware;system show active-config" cal3-n7<br>
> ><br>
> > manually run the rivlogin command that is there to see if there is a<br>
> > failure in that login script.<br>
> ><br>
> > > cal3-n7: missed cmd(s): all commands<br>
> > > cal3-n7: End of run not found<br>
> > > cal3-n7: clean_run is false<br>
> > > !<br>
> > ><br>
> > > Thanks<br>
> > > -Azher<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > On Thu, Dec 28, 2017 at 2:39 PM, Gauthier, Chris <<a href="mailto:cgauthier@comscore.com">cgauthier@comscore.com</a><br>
> > ><br>
> > > wrote:<br>
> > ><br>
> > > > I would take a look at the rancid types file to make sure it’s running<br>
> > the<br>
> > > > commands you need.  It seems like it’s throwing up in the very<br>
> > beginning of<br>
> > > > its run.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > There are several emails in the list on how to get into a “debugging”<br>
> > mode<br>
> > > > if you’re not already familiar.  That will help completely isolate the<br>
> > > > issue.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --Chris<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Chris  Gauthier  Senior Network Engineer  |  comScore, Inc.<br>
> > > > t +1 *<a href="tel:%28503%29%20331-2704" value="+15033312704">(503) 331-2704</a>* <(503)%20331-2704>  |<br>
> > > > *<a href="mailto:cgauthier@comscore.com">cgauthier@comscore.com</a>* <<a href="mailto:cgauthier@comscore.com">cgauthier@comscore.com</a>><br>
> > > > 317<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  SW<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  Alder<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  Street,<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  Suite<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  700<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  |<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >   Portland,<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  OR<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  97204<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >    United<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > >  States<br>
> > > > <<a href="https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%" rel="noreferrer" target="_blank">https://maps.google.com/?q=<wbr>317%C2%A0SW%C2%A0Alder%C2%</a><br>
> > A0Street,%C2%A0Suite%C2%A0700%<wbr>C2%A0%7C%C2%A0Portland,%C2%<br>
> > A0OR%C2%A097204%C2%A0%C2%<wbr>A0United%C2%A0States&entry=<wbr>gmail&source=g><br>
> > > > *<a href="http://comscore.com" rel="noreferrer" target="_blank">comscore.com</a>* <<a href="http://www.comscore.com/" rel="noreferrer" target="_blank">http://www.comscore.com/</a>><br>
> > > > ​​​This e-mail (including any attachments) may contain information<br>
> > that is<br>
> > > > private, confidential, or protected by attorney-client or other<br>
> > privilege.<br>
> > > > If you received this e-mail in error, please delete it from your<br>
> > system and<br>
> > > > notify sender.<br>
> > > ><br>
> > > ><br>
> > > > *From: *Rancid-discuss <<a href="mailto:rancid-discuss-bounces@shrubbery.net">rancid-discuss-bounces@<wbr>shrubbery.net</a>> on<br>
> > behalf<br>
> > > > of Azher <<a href="mailto:azheramin@gmail.com">azheramin@gmail.com</a>><br>
> > > > *Date: *Thursday, December 28, 2017 at 2:26 PM<br>
> > > > *To: *"<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><wbr>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>><br>
> > > > *Subject: *[rancid] Enterasys Switches help<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Hi All,<br>
> > > ><br>
> > > > I have a large deployment of different Enterasys switches<br>
> > > > (S,K,B,C,D,7100). It seems rancid is not happy with these switches<br>
> > somehow.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > clogin to the same device successfully logs into the switch and gives<br>
> > > > prompt and I can type the commands.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > When trying "rancid-run -r cal3-n7", the log file throws this error:<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > [rancid@rancid ~/var/logs]$ tail -f extreme.20171228.113653<br>
> > > ><br>
> > > > starting: Thu Dec 28 11:36:53 PST 2017<br>
> > > ><br>
> > > > Trying to get all of the configs.<br>
> > > ><br>
> > > > cal3-n7 xlogin error: Error: Unknown: "terminal"<br>
> > > > cal3-n7: missed cmd(s): show version,show config<br>
> > > > cal3-n7: End of run not found<br>
> > > > #<br>
> > > > ==============================<wbr>=======<br>
> > > > Getting missed routers: round 1.<br>
> > > > cal3-n7 xlogin error: Error: Unknown: "terminal"<br>
> > > > cal3-n7: missed cmd(s): show version,show config<br>
> > > > cal3-n7: End of run not found<br>
> > > > #<br>
> > > > All routers successfully completed.<br>
> > > ><br>
> > > > cvs diff: Diffing .<br>
> > > > cvs diff: Diffing configs<br>
> > > > cvs commit: Examining .<br>
> > > > cvs commit: Examining configs<br>
> > > > ---------------<br>
> > > ><br>
> > > > Here is the config section:<br>
> > > > [rancid@rancid ~/var/extreme]$ more router.db | grep cal3-n7<br>
> > > > cal3-n7;enterasys;up<br>
> > > ><br>
> > > > # Extreme Switches<br>
> > > > add user cal3-n7 admin<br>
> > > > add autoenable cal3-n7 1<br>
> > > > add password cal3-n7 xxxxxxxxxxxx<br>
> > > > add method cal3-n7 ssh<br>
> > > ><br>
> > > > I have gone through some of the scripts which are in the mailing list,<br>
> > > > tried them, but no luck.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Any one has experience with Enterasys devices ? Any working scripts<br>
> > would<br>
> > > > greatly help.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Thanks<br>
> > > ><br>
> > > > -Azher<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> ><br>
> > > ______________________________<wbr>_________________<br>
> > > Rancid-discuss mailing list<br>
> > > <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> > > <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/<wbr>mailman/listinfo/rancid-<wbr>discuss</a><br>
> ><br>
> ><br>
</div></div></blockquote></div><br></div>