Mailing List Archive

is there scripts for 3com router
Hello team ,

Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up "3COM" router and I can't find scripts for this type of device.
Is there someone who can help with this?

Best Regards,
Adrian Dimitrov
System Administrator
[eFellows-Mark-RGB_Sign]
Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
Re: is there scripts for 3com router [ In reply to ]
There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.

From: Adrian Dimitrov <adrian.dimitrov@efellows.bg>
Date: Thursday, October 26, 2017 at 06:57
To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
Subject: [rancid] is there scripts for 3com router

Hello team ,

Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
Is there someone who can help with this?

Best Regards,
Adrian Dimitrov
System Administrator
[Fellows-Mark-RGB_Sign]
Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
Re: is there scripts for 3com router [ In reply to ]
Are these the 3com switches you’re interested in?

https://sites.google.com/site/jrbinks/code/rancid/h3c

Works for me...rancid 3.2


On Fri, 27 Oct 2017 at 9:13 AM, Piegorsch, Weylin William <weylin@bu.edu>
wrote:

> There are no 3com scripts. My predecessor had configured an SNMP thing,
> but that stopped working when we upgraded to rancid v3. If you find one,
> let me know because I would love to use it.
>
>
>
> *From: *Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> *Date: *Thursday, October 26, 2017 at 06:57
> *To: *"rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> *Subject: *[rancid] is there scripts for 3com router
>
>
>
> Hello team ,
>
>
>
> Hope all of you guys are doing well. I have my rancid set up working
> perfectly fine for a long time now. I am backing up a lot of different
> devices successfully, but now I have to back up “3COM” router and I can’t
> find scripts for this type of device.
>
> Is there someone who can help with this?
>
>
>
> Best Regards,
>
> Adrian Dimitrov
>
> System Administrator
>
> [image: Fellows-Mark-RGB_Sign]
>
> Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence):
> adrian.dimitrov@efellows.bg ; Website: http://www.efellows.bg;
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: is there scripts for 3com router [ In reply to ]
Thu, Oct 26, 2017 at 08:13:10PM +0000, Piegorsch, Weylin William:
> There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.

theres no reason that i can think of that a script from v2 would not work in
v3.

anyway, some SMC swtiches were marketed under a 3com name, so the smc device
type may support it.

> From: Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> Date: Thursday, October 26, 2017 at 06:57
> To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> Subject: [rancid] is there scripts for 3com router
>
> Hello team ,
>
> Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
> Is there someone who can help with this?
>
> Best Regards,
> Adrian Dimitrov
> System Administrator
> [Fellows-Mark-RGB_Sign]
> Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
>



> _______________________________________________
> 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: is there scripts for 3com router [ In reply to ]
Yes, these were my scripts originally (they work "just enough" for me,
unfortunately I hardly have any development time). They will work for
anything(ish) that is Comware-based, (3, 5, 7). But there were few
3Com-branded Comware poroducts, before they became H3C or HP branded, now
HPE; or separately Huawei.

If you're talking about the ancient 3Com lanswitch software (I think
that's what it was called internally) with the menu-driven CLI ... well
you're partly out of luck.

There is a theoretical way, from what I recall, though I never did it for
3Com. I think there was a way of pulling the underlying config off by
tftp, maybe triggered through the CLI, so you might be able to use
something like wraprancid:

https://sites.google.com/site/jrbinks/code/rancid/wraprancid

to do that with a new module for 3Com. Maybe.

Jethro.

. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.



On Fri, 27 Oct 2017, Daniel Kerse wrote:

> Are these the 3com switches you’re interested in?
>
> https://sites.google.com/site/jrbinks/code/rancid/h3c
>
> Works for me...rancid 3.2
>
>
> On Fri, 27 Oct 2017 at 9:13 AM, Piegorsch, Weylin William <weylin@bu.edu>
> wrote:
>
> > There are no 3com scripts. My predecessor had configured an SNMP thing,
> > but that stopped working when we upgraded to rancid v3. If you find one,
> > let me know because I would love to use it.
> >
> >
> >
> > *From: *Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> > *Date: *Thursday, October 26, 2017 at 06:57
> > *To: *"rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> > *Subject: *[rancid] is there scripts for 3com router
> >
> >
> >
> > Hello team ,
> >
> >
> >
> > Hope all of you guys are doing well. I have my rancid set up working
> > perfectly fine for a long time now. I am backing up a lot of different
> > devices successfully, but now I have to back up “3COM” router and I can’t
> > find scripts for this type of device.
> >
> > Is there someone who can help with this?
> >
> >
> >
> > Best Regards,
> >
> > Adrian Dimitrov
> >
> > System Administrator
> >
> > [image: Fellows-Mark-RGB_Sign]
> >
> > Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence):
> > adrian.dimitrov@efellows.bg ; Website: http://www.efellows.bg;
> >
> >
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
Re: is there scripts for 3com router [ In reply to ]
Hello Daniel , team,

Thanks you very much for the link! I downloaded the scripts and configured everything. However the switch I need to backup is not in the list of the tested ones. Mine is G4500. Anyway running rancid on the device seems to be working fine with these scripts, but still I cannot get any configuration. The logs looks like this :

Trying to get all of the configs.
ip.ad.rr.es: missed cmd(s): display lacp sys,display mirror all
=====================================
Getting missed routers: round 1.
ip.ad.rr.es: missed cmd(s): display lacp sys,display mirror all
=====================================
Getting missed routers: round 2.
ip.ad.rr.es: missed cmd(s): display mirror all,display lacp sys

any ideas if I am doing something wrong or just the scripts doesn’t support my device type/model?

Best Regards,
Adrian Dimitrov
System Administrator
[eFellows-Mark-RGB_Sign]
Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;

From: Daniel Kerse [mailto:daniel.kerse@gmail.com]
Sent: Saturday, October 28, 2017 1:50 AM
To: Piegorsch, Weylin William <weylin@bu.edu>; Adrian Dimitrov <adrian.dimitrov@efellows.bg>; rancid-discuss@shrubbery.net
Subject: Re: [rancid] is there scripts for 3com router

Are these the 3com switches you’re interested in?

https://sites.google.com/site/jrbinks/code/rancid/h3c

Works for me...rancid 3.2

On Fri, 27 Oct 2017 at 9:13 AM, Piegorsch, Weylin William <weylin@bu.edu<mailto:weylin@bu.edu>> wrote:
There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.

From: Adrian Dimitrov <adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg>>
Date: Thursday, October 26, 2017 at 06:57
To: "rancid-discuss@shrubbery.net<mailto:rancid-discuss@shrubbery.net>" <rancid-discuss@shrubbery.net<mailto:rancid-discuss@shrubbery.net>>
Subject: [rancid] is there scripts for 3com router

Hello team ,

Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
Is there someone who can help with this?

Best Regards,
Adrian Dimitrov
System Administrator
[Fellows-Mark-RGB_Sign]
Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net<mailto:Rancid-discuss@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: is there scripts for 3com router [ In reply to ]
> I think there was a way of pulling the underlying config off by tftp, maybe triggered through the CLI,

I have the CLI menu stuff, and yes I’m SOL. I did some hard digging at one point, and found a few approaches that might work for this version of software.

1. Upgrade to 3Com OS version 3.0. I have 2.<something> and can’t find a newer version of code, so I wasn’t able to use this approach, but the command is something like “system backup <tftp server address and path>”
2. Install 3Com Network Director (http://web.archive.org/web/*/http:/support.3com.com/software*), which in theory does backups of menu-drive 3Com devices older than 2.999. HP stopped supporting this sometime between 2008 and 2010, but if you happen to have (or are able to acquire) a licensed copy, this is a viable approach to investigate. Network Director license cost something like $1500, the official (as of 2010) HP replacement cost $20k. These URLs might be interesting to read:
http://www.techsupportforum.com/forums/f31/3com-network-director-539929.html
https://community.spiceworks.com/topic/152273-alternatives-to-3com-network-supervisior
3. There’s a 3rd party software that reports itself able to support 3Com gear. https://support.solarwinds.com/Success_Center/Kiwi_CatTools/Kiwi_CatTools_3.11_Administrator_Guide/030_Devices/030_Device_speciific_infomation/050_3Com_superstack_switches
4. I’ve heard rumors that HP Open View can do this as well, though I haven’t investigated this avenue.

Unfortunately for me none of these are viable approaches so I was forced to resort to SNMP polling, that at least got us VLAN assignments for the switchports. Since our 3Com deployment is hopefully on a short remaining lifespan, and since these days they’re largely static in their config across all 3Com switches, therefor switch replacement-on-failure is a manageable process and my director hasn’t authorized investigation of switch backup beyond this cursory level.

But if it’s something that interests you, I’m sure there’s a way to get any of these into a state that rancid can ingest it into the repository.

BTW... if you’re looking for a 3Com owner/operator manual: http://www.mtmnet.com/PDF_FILES/3C16980_MgmtGuide.pdf

Weylin

-----Original Message-----
From: Jethro R Binks <jethro.binks@strath.ac.uk>
Date: Monday, October 30, 2017 at 04:46
To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
Subject: Re: [rancid] is there scripts for 3com router

Yes, these were my scripts originally (they work "just enough" for me,
unfortunately I hardly have any development time). They will work for
anything(ish) that is Comware-based, (3, 5, 7). But there were few
3Com-branded Comware poroducts, before they became H3C or HP branded, now
HPE; or separately Huawei.

If you're talking about the ancient 3Com lanswitch software (I think
that's what it was called internally) with the menu-driven CLI ... well
you're partly out of luck.

There is a theoretical way, from what I recall, though I never did it for
3Com. I think there was a way of pulling the underlying config off by
tftp, maybe triggered through the CLI, so you might be able to use
something like wraprancid:

https://sites.google.com/site/jrbinks/code/rancid/wraprancid

to do that with a new module for 3Com. Maybe.

Jethro.

. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.



On Fri, 27 Oct 2017, Daniel Kerse wrote:

> Are these the 3com switches you’re interested in?
>
> https://sites.google.com/site/jrbinks/code/rancid/h3c
>
> Works for me...rancid 3.2
>
>
> On Fri, 27 Oct 2017 at 9:13 AM, Piegorsch, Weylin William <weylin@bu.edu>
> wrote:
>
> > There are no 3com scripts. My predecessor had configured an SNMP thing,
> > but that stopped working when we upgraded to rancid v3. If you find one,
> > let me know because I would love to use it.
> >
> >
> >
> > *From: *Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> > *Date: *Thursday, October 26, 2017 at 06:57
> > *To: *"rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> > *Subject: *[rancid] is there scripts for 3com router
> >
> >
> >
> > Hello team ,
> >
> >
> >
> > Hope all of you guys are doing well. I have my rancid set up working
> > perfectly fine for a long time now. I am backing up a lot of different
> > devices successfully, but now I have to back up “3COM” router and I can’t
> > find scripts for this type of device.
> >
> > Is there someone who can help with this?
> >
> >
> >
> > Best Regards,
> >
> > Adrian Dimitrov
> >
> > System Administrator
> >
> > [image: Fellows-Mark-RGB_Sign]
> >
> > Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence):
> > adrian.dimitrov@efellows.bg ; Website: http://www.efellows.bg;
> >
> >
> > _______________________________________________
> > 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: is there scripts for 3com router [ In reply to ]
Would a script from v1 work in v3? That’s what we upgraded from; the old server was circa 2002 or so.

Anyway, thanks for the SMC info; I’ll check that out. Our 3COMs are so old I doubt it (the oldest we have running were installed around 1990 I think, with further installations until sometime 1999 - 2002). But, it can’t hurt to check, maybe we can restore rancid’s service to some of them at least.

weylin

-----Original Message-----
From: heasley <heas@shrubbery.net>
Date: Monday, October 30, 2017 at 04:32
To: Weylin Piegorsch <weylin@bu.edu>
Cc: Adrian Dimitrov <adrian.dimitrov@efellows.bg>, "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
Subject: Re: [rancid] is there scripts for 3com router

Thu, Oct 26, 2017 at 08:13:10PM +0000, Piegorsch, Weylin William:
> There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.

theres no reason that i can think of that a script from v2 would not work in
v3.

anyway, some SMC swtiches were marketed under a 3com name, so the smc device
type may support it.

> From: Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> Date: Thursday, October 26, 2017 at 06:57
> To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> Subject: [rancid] is there scripts for 3com router
>
> Hello team ,
>
> Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
> Is there someone who can help with this?
>
> Best Regards,
> Adrian Dimitrov
> System Administrator
> [Fellows-Mark-RGB_Sign]
> Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
>



> _______________________________________________
> 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: is there scripts for 3com router [ In reply to ]
Tue, Dec 26, 2017 at 04:39:09AM +0000, Piegorsch, Weylin William:
> Would a script from v1 work in v3? That’s what we upgraded from; the old server was circa 2002 or so.

it should, if the login script hasn't changed in an incompatible way
with the device. to use a v1 or v2 script in v3, the device type must
be added to your rancid.types.conf; see an existing v2 entry in
rancid.types.base, such as smc.

> Anyway, thanks for the SMC info; I’ll check that out. Our 3COMs are so old I doubt it (the oldest we have running were installed around 1990 I think, with further installations until sometime 1999 - 2002). But, it can’t hurt to check, maybe we can restore rancid’s service to some of them at least.
>
> weylin
>
> -----Original Message-----
> From: heasley <heas@shrubbery.net>
> Date: Monday, October 30, 2017 at 04:32
> To: Weylin Piegorsch <weylin@bu.edu>
> Cc: Adrian Dimitrov <adrian.dimitrov@efellows.bg>, "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> Subject: Re: [rancid] is there scripts for 3com router
>
> Thu, Oct 26, 2017 at 08:13:10PM +0000, Piegorsch, Weylin William:
> > There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.
>
> theres no reason that i can think of that a script from v2 would not work in
> v3.
>
> anyway, some SMC swtiches were marketed under a 3com name, so the smc device
> type may support it.
>
> > From: Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> > Date: Thursday, October 26, 2017 at 06:57
> > To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> > Subject: [rancid] is there scripts for 3com router
> >
> > Hello team ,
> >
> > Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
> > Is there someone who can help with this?
> >
> > Best Regards,
> > Adrian Dimitrov
> > System Administrator
> > [Fellows-Mark-RGB_Sign]
> > Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
> >
>
>
>
> > _______________________________________________
> > 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: is there scripts for 3com router [ In reply to ]
Hello,

I tried the SMC script and, well...

Weylin


[rancid@nsgv-prod-59 ~]$ NOPIPE=yes rancid -d -t smc babc273-1032es02.bu.edu
loadtype: device type smc
loadtype: found device type smc in /usr/local/rancid/etc/rancid.types.base
executing hlogin -t 90 -c"" babc273-1032es02.bu.edu
inloop is not configured for device type smc at /usr/local/rancid/bin/rancid line 126.
[rancid@nsgv-prod-59 ~]$


-----Original Message-----
From: heasley <heas@shrubbery.net>
Sent: Wednesday, December 27, 2017 2:02 PM
To: Piegorsch, Weylin William <weylin@bu.edu>
Cc: heasley <heas@shrubbery.net>; Adrian Dimitrov <adrian.dimitrov@efellows.bg>; rancid-discuss@shrubbery.net
Subject: Re: [rancid] is there scripts for 3com router

Tue, Dec 26, 2017 at 04:39:09AM +0000, Piegorsch, Weylin William:
> Would a script from v1 work in v3? That’s what we upgraded from; the old server was circa 2002 or so.

it should, if the login script hasn't changed in an incompatible way with the device. to use a v1 or v2 script in v3, the device type must be added to your rancid.types.conf; see an existing v2 entry in rancid.types.base, such as smc.

> Anyway, thanks for the SMC info; I’ll check that out. Our 3COMs are so old I doubt it (the oldest we have running were installed around 1990 I think, with further installations until sometime 1999 - 2002). But, it can’t hurt to check, maybe we can restore rancid’s service to some of them at least.
>
> weylin
>
> -----Original Message-----
> From: heasley <heas@shrubbery.net>
> Date: Monday, October 30, 2017 at 04:32
> To: Weylin Piegorsch <weylin@bu.edu>
> Cc: Adrian Dimitrov <adrian.dimitrov@efellows.bg>,
> "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> Subject: Re: [rancid] is there scripts for 3com router
>
> Thu, Oct 26, 2017 at 08:13:10PM +0000, Piegorsch, Weylin William:
> > There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.
>
> theres no reason that i can think of that a script from v2 would not work in
> v3.
>
> anyway, some SMC swtiches were marketed under a 3com name, so the smc device
> type may support it.
>
> > From: Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> > Date: Thursday, October 26, 2017 at 06:57
> > To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> > Subject: [rancid] is there scripts for 3com router
> >
> > Hello team ,
> >
> > Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
> > Is there someone who can help with this?
> >
> > Best Regards,
> > Adrian Dimitrov
> > System Administrator
> > [Fellows-Mark-RGB_Sign]
> > Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
> >
>
>
>
> > _______________________________________________
> > 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: is there scripts for 3com router [ In reply to ]
Thu, Jul 26, 2018 at 09:25:54PM +0000, Piegorsch, Weylin William:
> Hello,
>
> I tried the SMC script and, well...
>
> Weylin
>
>
> [rancid@nsgv-prod-59 ~]$ NOPIPE=yes rancid -d -t smc babc273-1032es02.bu.edu
> loadtype: device type smc
> loadtype: found device type smc in /usr/local/rancid/etc/rancid.types.base
> executing hlogin -t 90 -c"" babc273-1032es02.bu.edu
> inloop is not configured for device type smc at /usr/local/rancid/bin/rancid line 126.

have you altered the smc definition? It should be as follows:
smc;script;srancid
smc;login;hlogin

and that works properly. you would add a definition similar this to
etc/rancid.type.conf for your own v2-like (or v3) script. see the manpage.

> [rancid@nsgv-prod-59 ~]$
>
>
> -----Original Message-----
> From: heasley <heas@shrubbery.net>
> Sent: Wednesday, December 27, 2017 2:02 PM
> To: Piegorsch, Weylin William <weylin@bu.edu>
> Cc: heasley <heas@shrubbery.net>; Adrian Dimitrov <adrian.dimitrov@efellows.bg>; rancid-discuss@shrubbery.net
> Subject: Re: [rancid] is there scripts for 3com router
>
> Tue, Dec 26, 2017 at 04:39:09AM +0000, Piegorsch, Weylin William:
> > Would a script from v1 work in v3? That’s what we upgraded from; the old server was circa 2002 or so.
>
> it should, if the login script hasn't changed in an incompatible way with the device. to use a v1 or v2 script in v3, the device type must be added to your rancid.types.conf; see an existing v2 entry in rancid.types.base, such as smc.
>
> > Anyway, thanks for the SMC info; I’ll check that out. Our 3COMs are so old I doubt it (the oldest we have running were installed around 1990 I think, with further installations until sometime 1999 - 2002). But, it can’t hurt to check, maybe we can restore rancid’s service to some of them at least.
> >
> > weylin
> >
> > -----Original Message-----
> > From: heasley <heas@shrubbery.net>
> > Date: Monday, October 30, 2017 at 04:32
> > To: Weylin Piegorsch <weylin@bu.edu>
> > Cc: Adrian Dimitrov <adrian.dimitrov@efellows.bg>,
> > "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> > Subject: Re: [rancid] is there scripts for 3com router
> >
> > Thu, Oct 26, 2017 at 08:13:10PM +0000, Piegorsch, Weylin William:
> > > There are no 3com scripts. My predecessor had configured an SNMP thing, but that stopped working when we upgraded to rancid v3. If you find one, let me know because I would love to use it.
> >
> > theres no reason that i can think of that a script from v2 would not work in
> > v3.
> >
> > anyway, some SMC swtiches were marketed under a 3com name, so the smc device
> > type may support it.
> >
> > > From: Adrian Dimitrov <adrian.dimitrov@efellows.bg>
> > > Date: Thursday, October 26, 2017 at 06:57
> > > To: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net>
> > > Subject: [rancid] is there scripts for 3com router
> > >
> > > Hello team ,
> > >
> > > Hope all of you guys are doing well. I have my rancid set up working perfectly fine for a long time now. I am backing up a lot of different devices successfully, but now I have to back up “3COM” router and I can’t find scripts for this type of device.
> > > Is there someone who can help with this?
> > >
> > > Best Regards,
> > > Adrian Dimitrov
> > > System Administrator
> > > [Fellows-Mark-RGB_Sign]
> > > Direct line: ; Mobile: +359 876 7744 41; SIP URI (Telepresence): adrian.dimitrov@efellows.bg<mailto:adrian.dimitrov@efellows.bg> ; Website: http://www.efellows.bg<http://www.efellows.bg/>;
> > >
> >
> >
> >
> > > _______________________________________________
> > > 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