[rancid] Ciena waveserver

2019-01-27 Thread Azher
Hi ,

I am using tacacs for authentication and the priompt I am getting
based on certain access level is "$"

Welcome to the Waveserver OS CLI!
mcc-ws1$ file ls
^C[rancid@rancid ~]$

However it does not take any command and Ctrl C is the only way to quit.

I have used both clogin and hlogin but same result. Changing the
access level to get the # prompt works fine.

Any thoughts ?

Thanks
-Azher

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] HP Aruba support?

2018-12-11 Thread Azher
Default HP.

On Mon, Dec 10, 2018, 11:09 PM Wayne Eisenberg <
wayne.eisenb...@carolinasit.com> wrote:

> What do you use for rancid type? The default 'hp'? Any tweaks?
>
>
> Yes, we have several here.
>
> On Fri, Dec 7, 2018 at 8:27 AM Wayne Eisenberg  wayne.eisenb...@carolinasit.com> wrote:
> Does rancid support the HP Aruba J9726A 2920-24G switch ?
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


[rancid] Arista Power supply timestamps

2018-09-17 Thread Azher
Hello,

I am backing up Arista devices using RANCID and works great, version
3.7. Is there a way to ignore the following timestamped lines for
power supplies ?

Thanks
-Azher

- !Power Supply 1: PWR-3KT-AC-RED 3000W Ok 122 days, 21:25:54

- !Power Supply 2: PWR-3KT-AC-RED 3000W Ok 122 days, 21:25:49

- !Power Supply 3: PWR-3KT-AC-RED 3000W Ok 122 days, 21:25:50

- !Power Supply 4: PWR-3KT-AC-RED 3000W Ok 122 days, 21:25:53

+ !Power Supply 1: PWR-3KT-AC-RED 3000W Ok 123 days, 21:25:51

+ !Power Supply 2: PWR-3KT-AC-RED 3000W Ok 123 days, 21:25:46

+ !Power Supply 3: PWR-3KT-AC-RED 3000W Ok 123 days, 21:25:48

+ !Power Supply 4: PWR-3KT-AC-RED 3000W Ok 123 days, 21:25:50


- !Power Supply 1: PWR-500AC-F 500W Ok 56 days, 14:55:49

- !Power Supply 2: PWR-500AC-F 500W Ok  58 days, 8:59:50

+ !Power Supply 1: PWR-500AC-F 500W Ok 57 days, 14:55:47

+ !Power Supply 2: PWR-500AC-F 500W Ok  59 days, 8:59:48

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Enterasys Switches help

2018-01-05 Thread Azher
Yes, they are. All have the same command set (mostly).

Azher

On Fri, Jan 5, 2018, 1:24 PM heasley  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  wrote:
> >
> > > Thu, Jan 04, 2018 at 01:38:15PM -0800, Azher:
> > > > Hi Heasley,
> > > >
> > > > [rancid@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  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@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@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
> > > > &g

Re: [rancid] Enterasys Switches help

2018-01-04 Thread Azher
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



On Thu, Jan 4, 2018 at 3:19 PM, heasley  wrote:

> Thu, Jan 04, 2018 at 01:38:15PM -0800, Azher:
> > Hi Heasley,
> >
> > [rancid@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  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@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@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 <
> cgauth...@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

Re: [rancid] Enterasys Switches help

2018-01-04 Thread Azher
Hi Heasley,

[rancid@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



On Tue, Jan 2, 2018 at 3:27 PM, heasley  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@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@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  >
> > 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>  |
> > > *cgauth...@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

Re: [rancid] ASA-5585 Enable mode

2018-01-01 Thread Azher
I think so. Having this detected by clogin would definitely help many
others.
-Azher


On Mon, Jan 1, 2018 at 8:36 PM, Piegorsch, Weylin William 
wrote:

> Awesome.  Though, since it’s the default parameter, would it make sense to
> account for it in clogin?
>
> weylin
>
>
>
> *From: *Azher 
> *Date: *Monday, January 1, 2018 at 23:09
> *To: *Weylin Piegorsch 
>
> *Subject: *Re: [rancid] ASA-5585 Enable mode
>
>
>
> Thanks, that fixed it.
>
> no aaa authentication login-history
>
> -Azher
>
>
>
> On Mon, Jan 1, 2018 at 7:18 PM, Piegorsch, Weylin William 
> wrote:
>
> This is a behavior change to the ASA made in version 9.8.  I believe it’s
> a response to a US DOD mandate, to aid in detecting unauthorized logins.
> At least, that was a requirement implemented sometime around 2005 (for
> systems that supported the capability), though I can’t find a .mil URL more
> recent than 2008 discussing the requirement (though I can find it
> referenced in some current commercial locations like Red Hat’s site).
>
> I noticed it recently in lab trials; I had assumed Cisco decided it made
> sense to make this the normal behavior for all deployments, given ASA
> stands for Adaptive Security Appliance.  I hadn’t noticed it in rancid,
> since I’m still in lab trials.
>
> Luckily, it’s configurable, see “Enable and View the Login History” at
> this URL:
> https://www.cisco.com/c/en/us/td/docs/security/asa/asa98/
> configuration/general/asa-98-general-config/admin-management.pdf
>
> weylin
>
>
> -Original Message-
> From: heasley 
> Date: Sunday, December 31, 2017 at 16:19
> To: Azher 
> Cc: 
> Subject: Re: [rancid] ASA-5585 Enable mode
>
> Thu, Dec 28, 2017 at 06:42:46PM -0800, Azher:
> > Hi All,
> >
> > Our current Cisco ASA devices "ASA5550" , 8.4(7)30, work fine with
> RANCID.
> >
> > Same config does not work for ASA-5585, 9.8(1). I am not sure why it
> is
> > sending "admin" twice and later it sends "enable" at the prompt 
> Any
> > suggestions ?
> >
> > add user sslvpnb admin
> > add password sslvpnb pass1 pass2
> > add autoenable sslvpnb 0
> > add method sslvpnb ssh
> >
> > [rancid@rancid ~]$ more var/asa/router.db
> > sslvpn1;cisco;up
> > sslvpn2;cisco;up
> > sslvpna;cisco;up
> > sslvpnb;cisco;up
> >
> > [rancid@rancid ~]$ clogin sslvpnb
> > sslvpnb
> > spawn ssh -c aes128-ctr,aes128-cbc,3des-cbc -x -l admin sslvpnb
> > admin@sslvpnb's password:
> > User admin logged in to sslvpnb
> > Logins over the last 44 days: 29.  Last login: 18:09:41 PST Dec 28
> 2017
> > from 68.181.191.19
> > Failed logins since the last login: 0.  Last failed login: 06:47:32
> PST Dec
> > 28 2017 from 68.181.191.19
>
> its sending admin again because it sees "login:" before a prompt.  why
> is it displaying this?
>
> > Type help or '?' for a list of available commands.
> > sslvpnb> admin
> >  ^
> > ERROR: % Invalid input detected at '^' marker.
> >
> > Error: Unrecognized command, check your enable command
> > sslvpnb> admin
> >  ^
> > ERROR: % Invalid input detected at '^' marker.
> > sslvpnb> enable
> > Password:
> > Invalid password
> > Password:
> > Invalid password
> > Password:
> > Invalid password
> > Access denied.
> > sslvpnb>
> >
> >
> > Thanks
> > -Azher
>
> > ___
> > Rancid-discuss mailing list
> > Rancid-discuss@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
>
>
>
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] ASA-5585 Enable mode

2018-01-01 Thread Azher
In the ASA version 9.8.X , there are sending out the "Last login: " and the
"Last failed Login: " as default. There is no way to disable this.

I tried adding following lines in .cloginrc but no luck:

add prompt sslvpna {"sslvpna>"}
add enableprompt sslvpna {"sslvpna>"}

Is there a way to skip login: for this specific device ?

Thanks
-Azher



On Sun, Dec 31, 2017 at 1:19 PM, heasley  wrote:

> Thu, Dec 28, 2017 at 06:42:46PM -0800, Azher:
> > Hi All,
> >
> > Our current Cisco ASA devices "ASA5550" , 8.4(7)30, work fine with
> RANCID.
> >
> > Same config does not work for ASA-5585, 9.8(1). I am not sure why it is
> > sending "admin" twice and later it sends "enable" at the prompt  Any
> > suggestions ?
> >
> > add user sslvpnb admin
> > add password sslvpnb pass1 pass2
> > add autoenable sslvpnb 0
> > add method sslvpnb ssh
> >
> > [rancid@rancid ~]$ more var/asa/router.db
> > sslvpn1;cisco;up
> > sslvpn2;cisco;up
> > sslvpna;cisco;up
> > sslvpnb;cisco;up
> >
> > [rancid@rancid ~]$ clogin sslvpnb
> > sslvpnb
> > spawn ssh -c aes128-ctr,aes128-cbc,3des-cbc -x -l admin sslvpnb
> > admin@sslvpnb's password:
> > User admin logged in to sslvpnb
> > Logins over the last 44 days: 29.  Last login: 18:09:41 PST Dec 28 2017
> > from 68.181.191.19
> > Failed logins since the last login: 0.  Last failed login: 06:47:32 PST
> Dec
> > 28 2017 from 68.181.191.19
>
> its sending admin again because it sees "login:" before a prompt.  why
> is it displaying this?
>
> > Type help or '?' for a list of available commands.
> > sslvpnb> admin
> >  ^
> > ERROR: % Invalid input detected at '^' marker.
> >
> > Error: Unrecognized command, check your enable command
> > sslvpnb> admin
> >  ^
> > ERROR: % Invalid input detected at '^' marker.
> > sslvpnb> enable
> > Password:
> > Invalid password
> > Password:
> > Invalid password
> > Password:
> > Invalid password
> > Access denied.
> > sslvpnb>
> >
> >
> > Thanks
> > -Azher
>
> > ___
> > Rancid-discuss mailing list
> > Rancid-discuss@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

[rancid] ASA-5585 Enable mode

2017-12-28 Thread Azher
Hi All,

Our current Cisco ASA devices "ASA5550" , 8.4(7)30, work fine with RANCID.

Same config does not work for ASA-5585, 9.8(1). I am not sure why it is
sending "admin" twice and later it sends "enable" at the prompt  Any
suggestions ?

add user sslvpnb admin
add password sslvpnb pass1 pass2
add autoenable sslvpnb 0
add method sslvpnb ssh

[rancid@rancid ~]$ more var/asa/router.db
sslvpn1;cisco;up
sslvpn2;cisco;up
sslvpna;cisco;up
sslvpnb;cisco;up

[rancid@rancid ~]$ clogin sslvpnb
sslvpnb
spawn ssh -c aes128-ctr,aes128-cbc,3des-cbc -x -l admin sslvpnb
admin@sslvpnb's password:
User admin logged in to sslvpnb
Logins over the last 44 days: 29.  Last login: 18:09:41 PST Dec 28 2017
from 68.181.191.19
Failed logins since the last login: 0.  Last failed login: 06:47:32 PST Dec
28 2017 from 68.181.191.19
Type help or '?' for a list of available commands.
sslvpnb> admin
 ^
ERROR: % Invalid input detected at '^' marker.

Error: Unrecognized command, check your enable command
sslvpnb> admin
 ^
ERROR: % Invalid input detected at '^' marker.
sslvpnb> enable
Password:
Invalid password
Password:
Invalid password
Password:
Invalid password
Access denied.
sslvpnb>


Thanks
-Azher
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] Enterasys Switches help

2017-12-28 Thread 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

Running in debug mode:

[rancid@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@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




On Thu, Dec 28, 2017 at 2:39 PM, Gauthier, Chris 
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>  |
> *cgauth...@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%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 (includi

[rancid] Enterasys Switches help

2017-12-28 Thread Azher
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@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@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 
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@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss