[rancid] Enterasys Switches help

Azher azheramin at gmail.com
Fri Jan 5 21:25:46 UTC 2018


Yes, they are. All have the same command set (mostly).

Azher

On Fri, Jan 5, 2018, 1:24 PM heasley <heas at shrubbery.net> wrote:

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


More information about the Rancid-discuss mailing list