Discussion:
[rancid] Enterasys Switches help
Azher
2017-12-28 19:47:59 UTC
Permalink
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 ~/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 ~/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
Gauthier, Chris
2017-12-28 22:39:51 UTC
Permalink
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 |
***@comscore.com
317 SW Alder Street, Suite 700 | Portland, OR 97204 United States
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-***@shrubbery.net> on behalf of Azher <***@gmail.com>
Date: Thursday, December 28, 2017 at 2:26 PM
To: "rancid-***@shrubbery.net" <rancid-***@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 ~/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 ~/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
Azher
2017-12-29 02:08:57 UTC
Permalink
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

Running in debug mode:

[***@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 ~]$ rivrancid -d cal3-n7
executing rivlogin -t 90 -c"system show uptime;system show version;system
show hardware;system show active-config" cal3-n7
cal3-n7: missed cmd(s): all commands
cal3-n7: End of run not found
cal3-n7: clean_run is false
!

Thanks
-Azher
Post by Gauthier, Chris
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> |
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%A0Suite%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.
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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.
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
---------------
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
heasley
2018-01-02 23:27:07 UTC
Permalink
Post by 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.
Post by Azher
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
# This routine parses "show version"
sub ShowVersion {
print STDERR " In ShowVersion: $_" if ($debug);
# 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'},
);
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.
Post by Azher
cal3-n7: missed cmd(s): all commands
cal3-n7: End of run not found
cal3-n7: clean_run is false
!
Thanks
-Azher
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> |
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%A0Suite%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.
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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.
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
---------------
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
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Azher
2018-01-04 21:38:15 UTC
Permalink
Hi Heasley,

[***@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.

Thanks
-Azher
Post by heasley
Post by Azher
Hi Chris,
I added following lines in the "rancid.types.base " otherwise there is
just
Post by Azher
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.
Post by Azher
loadtype: device type enterasys
loadtype: found device type enterasys in /opt/rancid/etc/rancid.types.
base
Post by Azher
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
Post by Azher
# This routine parses "show version"
sub ShowVersion {
print STDERR " In ShowVersion: $_" if ($debug);
# 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'},
);
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.
Post by Azher
cal3-n7: missed cmd(s): all commands
cal3-n7: End of run not found
cal3-n7: clean_run is false
!
Thanks
-Azher
Post by Gauthier, Chris
I would take a look at the rancid types file to make sure it’s running
the
Post by Azher
Post by Gauthier, Chris
commands you need. It seems like it’s throwing up in the very
beginning of
Post by Azher
Post by Gauthier, Chris
its run.
There are several emails in the list on how to get into a “debugging”
mode
Post by Azher
Post by Gauthier, Chris
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> |
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
Suite
<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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
|
<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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
*comscore.com* <http://www.comscore.com/>
​​​This e-mail (including any attachments) may contain information
that is
Post by Azher
Post by Gauthier, Chris
private, confidential, or protected by attorney-client or other
privilege.
Post by Azher
Post by Gauthier, Chris
If you received this e-mail in error, please delete it from your
system and
Post by Azher
Post by Gauthier, Chris
notify sender.
behalf
Post by Azher
Post by Gauthier, Chris
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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.
Post by Azher
Post by Gauthier, Chris
clogin to the same device successfully logs into the switch and gives
prompt and I can type the commands.
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
---------------
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
Post by Azher
Post by Gauthier, Chris
greatly help.
Thanks
-Azher
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2018-01-04 23:19:36 UTC
Permalink
Post by Azher
Hi Heasley,
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?
Post by Azher
Thanks
-Azher
Post by heasley
Post by Azher
Hi Chris,
I added following lines in the "rancid.types.base " otherwise there is
just
Post by Azher
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.
Post by Azher
loadtype: device type enterasys
loadtype: found device type enterasys in /opt/rancid/etc/rancid.types.
base
Post by Azher
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
Post by Azher
# This routine parses "show version"
sub ShowVersion {
print STDERR " In ShowVersion: $_" if ($debug);
# 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'},
);
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.
Post by Azher
cal3-n7: missed cmd(s): all commands
cal3-n7: End of run not found
cal3-n7: clean_run is false
!
Thanks
-Azher
I would take a look at the rancid types file to make sure it’s running
the
Post by Azher
commands you need. It seems like it’s throwing up in the very
beginning of
Post by Azher
its run.
There are several emails in the list on how to get into a “debugging”
mode
Post by Azher
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> |
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
Suite
<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>
Post by Azher
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>
Post by Azher
|
<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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
*comscore.com* <http://www.comscore.com/>
​​​This e-mail (including any attachments) may contain information
that is
Post by Azher
private, confidential, or protected by attorney-client or other
privilege.
Post by Azher
If you received this e-mail in error, please delete it from your
system and
Post by Azher
notify sender.
behalf
Post by Azher
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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.
Post by Azher
clogin to the same device successfully logs into the switch and gives
prompt and I can type the commands.
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
---------------
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
Post by Azher
greatly help.
Thanks
-Azher
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Azher
2018-01-04 23:43:50 UTC
Permalink
This is Enterasys "71K11L4-48" switch. It has the same CLI and commands
like the other S/N/K series switches.

Some commands are:

show version
show config
show system hardware

-Azher
Post by heasley
Post by Azher
Hi Heasley,
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?
Post by Azher
Thanks
-Azher
Post by heasley
Post by Azher
Hi Chris,
I added following lines in the "rancid.types.base " otherwise there
is
Post by Azher
Post by heasley
just
Post by Azher
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
Post by Azher
Post by heasley
for this device type - use that.
Post by Azher
loadtype: device type enterasys
loadtype: found device type enterasys in
/opt/rancid/etc/rancid.types.
Post by Azher
Post by heasley
base
Post by Azher
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
Post by Azher
# This routine parses "show version"
sub ShowVersion {
print STDERR " In ShowVersion: $_" if ($debug);
# Main
@commandtable = (
{'show version' => 'ShowVersion'},
### {'show memory' => 'ShowMemory'},
### {'show diag' => 'ShowDiag'},
### {'show switch' => 'ShowSwitch'},
### {'show slot' => 'ShowSlot'},
# way too confusing {'show configuration detail' =>
'WriteTerm'},
Post by Azher
Post by heasley
Post by Azher
{'show config' => 'WriteTerm'},
);
executing rivlogin -t 90 -c"system show uptime;system show
version;system
Post by Azher
Post by heasley
Post by Azher
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.
Post by Azher
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 <
Post by Gauthier, Chris
I would take a look at the rancid types file to make sure it’s
running
Post by Azher
Post by heasley
the
Post by Azher
Post by Gauthier, Chris
commands you need. It seems like it’s throwing up in the very
beginning of
Post by Azher
Post by Gauthier, Chris
its run.
There are several emails in the list on how to get into a
“debugging”
Post by Azher
Post by heasley
mode
Post by Azher
Post by Gauthier, Chris
if you’re not already familiar. That will help completely isolate
the
Post by Azher
Post by heasley
Post by Azher
Post by Gauthier, Chris
issue.
--Chris
Chris Gauthier Senior Network Engineer | comScore, Inc.
t +1 *(503) 331-2704* <(503)%20331-2704> |
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
Suite
<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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
|
<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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
*comscore.com* <http://www.comscore.com/>
​​​This e-mail (including any attachments) may contain information
that is
Post by Azher
Post by Gauthier, Chris
private, confidential, or protected by attorney-client or other
privilege.
Post by Azher
Post by Gauthier, Chris
If you received this e-mail in error, please delete it from your
system and
Post by Azher
Post by Gauthier, Chris
notify sender.
behalf
Post by Azher
Post by Gauthier, Chris
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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.
Post by Azher
Post by Gauthier, Chris
clogin to the same device successfully logs into the switch and
gives
Post by Azher
Post by heasley
Post by Azher
Post by Gauthier, Chris
prompt and I can type the commands.
When trying "rancid-run -r cal3-n7", the log file throws this
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
---------------
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,
Post by Azher
Post by heasley
Post by Azher
Post by Gauthier, Chris
tried them, but no luck.
Any one has experience with Enterasys devices ? Any working scripts
would
Post by Azher
Post by Gauthier, Chris
greatly help.
Thanks
-Azher
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2018-01-05 21:24:05 UTC
Permalink
Post by 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?
Post by Azher
show version
show config
show system hardware
-Azher
Post by heasley
Post by Azher
Hi Heasley,
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?
Post by Azher
Thanks
-Azher
Post by heasley
Post by Azher
Hi Chris,
I added following lines in the "rancid.types.base " otherwise there
is
Post by Azher
Post by heasley
just
Post by Azher
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
Post by Azher
Post by heasley
for this device type - use that.
Post by Azher
loadtype: device type enterasys
loadtype: found device type enterasys in
/opt/rancid/etc/rancid.types.
Post by Azher
Post by heasley
base
Post by Azher
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
Post by Azher
# This routine parses "show version"
sub ShowVersion {
print STDERR " In ShowVersion: $_" if ($debug);
# Main
@commandtable = (
{'show version' => 'ShowVersion'},
### {'show memory' => 'ShowMemory'},
### {'show diag' => 'ShowDiag'},
### {'show switch' => 'ShowSwitch'},
### {'show slot' => 'ShowSlot'},
# way too confusing {'show configuration detail' =>
'WriteTerm'},
Post by Azher
Post by heasley
Post by Azher
{'show config' => 'WriteTerm'},
);
executing rivlogin -t 90 -c"system show uptime;system show
version;system
Post by Azher
Post by heasley
Post by Azher
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.
Post by Azher
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 <
I would take a look at the rancid types file to make sure it’s
running
Post by Azher
Post by heasley
the
Post by Azher
commands you need. It seems like it’s throwing up in the very
beginning of
Post by Azher
its run.
There are several emails in the list on how to get into a
“debugging”
Post by Azher
Post by heasley
mode
Post by Azher
if you’re not already familiar. That will help completely isolate
the
Post by Azher
Post by heasley
Post by Azher
issue.
--Chris
Chris Gauthier Senior Network Engineer | comScore, Inc.
t +1 *(503) 331-2704* <(503)%20331-2704> |
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
Suite
<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>
Post by Azher
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>
Post by Azher
|
<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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
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>
Post by Azher
*comscore.com* <http://www.comscore.com/>
​​​This e-mail (including any attachments) may contain information
that is
Post by Azher
private, confidential, or protected by attorney-client or other
privilege.
Post by Azher
If you received this e-mail in error, please delete it from your
system and
Post by Azher
notify sender.
behalf
Post by Azher
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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.
Post by Azher
clogin to the same device successfully logs into the switch and
gives
Post by Azher
Post by heasley
Post by Azher
prompt and I can type the commands.
When trying "rancid-run -r cal3-n7", the log file throws this
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
---------------
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,
Post by Azher
Post by heasley
Post by Azher
tried them, but no luck.
Any one has experience with Enterasys devices ? Any working scripts
would
Post by Azher
greatly help.
Thanks
-Azher
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Azher
2018-01-05 21:25:46 UTC
Permalink
Yes, they are. All have the same command set (mostly).

Azher
Post by heasley
Post by 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?
Post by Azher
show version
show config
show system hardware
-Azher
Post by heasley
Post by Azher
Hi Heasley,
executing rivlogin -t 90 -c"system show uptime;system show
version;system
Post by Azher
Post by heasley
Post by Azher
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?
Post by Azher
Thanks
-Azher
Post by heasley
Post by Azher
Hi Chris,
I added following lines in the "rancid.types.base " otherwise
there
Post by Azher
Post by heasley
is
Post by Azher
Post by heasley
just
Post by Azher
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
Post by Azher
Post by heasley
for this device type - use that.
Post by Azher
loadtype: device type enterasys
loadtype: found device type enterasys in
/opt/rancid/etc/rancid.types.
Post by Azher
Post by heasley
base
Post by Azher
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
Post by Azher
Post by heasley
Post by Azher
Post by heasley
function
Post by Azher
# This routine parses "show version"
sub ShowVersion {
print STDERR " In ShowVersion: $_" if ($debug);
# Main
@commandtable = (
{'show version' => 'ShowVersion'},
### {'show memory' => 'ShowMemory'},
### {'show diag' => 'ShowDiag'},
### {'show switch' => 'ShowSwitch'},
### {'show slot' => 'ShowSlot'},
# way too confusing {'show configuration detail' =>
'WriteTerm'},
Post by Azher
Post by heasley
Post by Azher
{'show config' => 'WriteTerm'},
);
executing rivlogin -t 90 -c"system show uptime;system show
version;system
Post by Azher
Post by heasley
Post by Azher
show hardware;system show active-config" cal3-n7
manually run the rivlogin command that is there to see if there is
a
Post by Azher
Post by heasley
Post by Azher
Post by heasley
failure in that login script.
Post by Azher
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 <
Post by Gauthier, Chris
I would take a look at the rancid types file to make sure it’s
running
Post by Azher
Post by heasley
the
Post by Azher
Post by Gauthier, Chris
commands you need. It seems like it’s throwing up in the very
beginning of
Post by Azher
Post by Gauthier, Chris
its run.
There are several emails in the list on how to get into a
“debugging”
Post by Azher
Post by heasley
mode
Post by Azher
Post by Gauthier, Chris
if you’re not already familiar. That will help completely
isolate
Post by Azher
Post by heasley
the
Post by Azher
Post by heasley
Post by Azher
Post by Gauthier, Chris
issue.
--Chris
Chris Gauthier Senior Network Engineer | comScore, Inc.
t +1 *(503) 331-2704* <(503)%20331-2704> |
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
Suite
<https://maps.google.com/?q=317%C2%A0SW%C2%A0Alder%C2%
A0Street,%C2%A
0Suite%C2%A0700%C2%A0%7C%C2%A0Portland,%C2%
Post by Azher
Post by heasley
Post by Azher
Post by heasley
A0OR%C2%A097204%C2%A0%C2%A0United%C2%A0States&entry=gmail&source=g>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
|
<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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
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>
Post by Azher
Post by Gauthier, Chris
*comscore.com* <http://www.comscore.com/>
​​​This e-mail (including any attachments) may contain
information
Post by Azher
Post by heasley
Post by Azher
Post by heasley
that is
Post by Azher
Post by Gauthier, Chris
private, confidential, or protected by attorney-client or other
privilege.
Post by Azher
Post by Gauthier, Chris
If you received this e-mail in error, please delete it from
your
Post by Azher
Post by heasley
Post by Azher
Post by heasley
system and
Post by Azher
Post by Gauthier, Chris
notify sender.
on
Post by Azher
Post by heasley
Post by Azher
Post by heasley
behalf
Post by Azher
Post by Gauthier, Chris
*Date: *Thursday, December 28, 2017 at 2:26 PM
*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
Post by Azher
Post by heasley
Post by Azher
Post by heasley
somehow.
Post by Azher
Post by Gauthier, Chris
clogin to the same device successfully logs into the switch and
gives
Post by Azher
Post by heasley
Post by Azher
Post by Gauthier, Chris
prompt and I can type the commands.
When trying "rancid-run -r cal3-n7", the log file throws this
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
---------------
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
Post by Azher
Post by heasley
list,
Post by Azher
Post by heasley
Post by Azher
Post by Gauthier, Chris
tried them, but no luck.
Any one has experience with Enterasys devices ? Any working
scripts
Post by Azher
Post by heasley
Post by Azher
Post by heasley
would
Post by Azher
Post by Gauthier, Chris
greatly help.
Thanks
-Azher
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...