Mailing List Archive

Aruba 2930M
What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use
hlogin, hrancid. This is the output error:

[rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
executing hlogin -t 90 -c"show version;show flash;show
system-information;show system information;show module;show stack;show tech
transceivers;show config files;show config status;write term" xx.xx.xx.xx
sh: hlogin: command not found
xx.xx.xx.xx: missed cmd(s): all commands
xx.xx.xx.xx: End of run not found
xx.xx.xx.xx: clean_run is false
xx.xx.xx.xx: found_end is false
Re: Aruba 2930M [ In reply to ]
Hi Guisepp,

I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin and
it works:

[rancid@xxxswbkp1 bin]$ ./hlogin XXXX
xxsw3
spawn telnet -K XXXsw3
Trying 10.X.X.X...
Connected to XXXsw3.
Escape character is '^]'.

On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
wrote:

> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use
> hlogin, hrancid. This is the output error:
>
> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
> executing hlogin -t 90 -c"show version;show flash;show
> system-information;show system information;show module;show stack;show tech
> transceivers;show config files;show config status;write term" xx.xx.xx.xx
> sh: hlogin: command not found
> xx.xx.xx.xx: missed cmd(s): all commands
> xx.xx.xx.xx: End of run not found
> xx.xx.xx.xx: clean_run is false
> xx.xx.xx.xx: found_end is false
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
Re: Aruba 2930M [ In reply to ]
What version of rancid do you have?

Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com> a
écrit :

> Hi Guisepp,
>
> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin
> and it works:
>
> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
> xxsw3
> spawn telnet -K XXXsw3
> Trying 10.X.X.X...
> Connected to XXXsw3.
> Escape character is '^]'.
>
> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
> wrote:
>
>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use
>> hlogin, hrancid. This is the output error:
>>
>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>> executing hlogin -t 90 -c"show version;show flash;show
>> system-information;show system information;show module;show stack;show tech
>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>> sh: hlogin: command not found
>> xx.xx.xx.xx: missed cmd(s): all commands
>> xx.xx.xx.xx: End of run not found
>> xx.xx.xx.xx: clean_run is false
>> xx.xx.xx.xx: found_end is false
>>
>>
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss@shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>

--
*Guisepp Rodriguez*

Cell: (001) 514 627-9441
Tél: (001) 450 655-5384
Re: Aruba 2930M [ In reply to ]
I am using 3.9

On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
wrote:

> What version of rancid do you have?
>
> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com> a
> écrit :
>
>> Hi Guisepp,
>>
>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin
>> and it works:
>>
>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>> xxsw3
>> spawn telnet -K XXXsw3
>> Trying 10.X.X.X...
>> Connected to XXXsw3.
>> Escape character is '^]'.
>>
>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
>> wrote:
>>
>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I
>>> use hlogin, hrancid. This is the output error:
>>>
>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>> executing hlogin -t 90 -c"show version;show flash;show
>>> system-information;show system information;show module;show stack;show tech
>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>> sh: hlogin: command not found
>>> xx.xx.xx.xx: missed cmd(s): all commands
>>> xx.xx.xx.xx: End of run not found
>>> xx.xx.xx.xx: clean_run is false
>>> xx.xx.xx.xx: found_end is false
>>>
>>>
>>> _______________________________________________
>>> Rancid-discuss mailing list
>>> Rancid-discuss@shrubbery.net
>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>
>>
>
> --
> *Guisepp Rodriguez*
>
> Cell: (001) 514 627-9441
> Tél: (001) 450 655-5384
>
>
>
Re: Aruba 2930M [ In reply to ]
Ok, thanks.

Le mer. 18 déc. 2019, à 10 h 41, henri hemery <henri.hemery@gmail.com> a
écrit :

> I am using 3.9
>
> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
> wrote:
>
>> What version of rancid do you have?
>>
>> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com> a
>> écrit :
>>
>>> Hi Guisepp,
>>>
>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use hlogin
>>> and it works:
>>>
>>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>>> xxsw3
>>> spawn telnet -K XXXsw3
>>> Trying 10.X.X.X...
>>> Connected to XXXsw3.
>>> Escape character is '^]'.
>>>
>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>> wrote:
>>>
>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I
>>>> use hlogin, hrancid. This is the output error:
>>>>
>>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>>> executing hlogin -t 90 -c"show version;show flash;show
>>>> system-information;show system information;show module;show stack;show tech
>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>>> sh: hlogin: command not found
>>>> xx.xx.xx.xx: missed cmd(s): all commands
>>>> xx.xx.xx.xx: End of run not found
>>>> xx.xx.xx.xx: clean_run is false
>>>> xx.xx.xx.xx: found_end is false
>>>>
>>>>
>>>> _______________________________________________
>>>> Rancid-discuss mailing list
>>>> Rancid-discuss@shrubbery.net
>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>
>>>
>>
>> --
>> *Guisepp Rodriguez*
>>
>> Cell: (001) 514 627-9441
>> Tél: (001) 450 655-5384
>>
>>
>>

--
*Guisepp Rodriguez*

Cell: (001) 514 627-9441
Tél: (001) 450 655-5384
Re: Aruba 2930M [ In reply to ]
Eventually, I can share with you my hlogin script

Le mer. 18 déc. 2019 à 10:48, Guisepp Rodriguez <guisrodi@gmail.com> a
écrit :

> Ok, thanks.
>
> Le mer. 18 déc. 2019, à 10 h 41, henri hemery <henri.hemery@gmail.com> a
> écrit :
>
>> I am using 3.9
>>
>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>> wrote:
>>
>>> What version of rancid do you have?
>>>
>>> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com>
>>> a écrit :
>>>
>>>> Hi Guisepp,
>>>>
>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use
>>>> hlogin and it works:
>>>>
>>>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>>>> xxsw3
>>>> spawn telnet -K XXXsw3
>>>> Trying 10.X.X.X...
>>>> Connected to XXXsw3.
>>>> Escape character is '^]'.
>>>>
>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>>> wrote:
>>>>
>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I
>>>>> use hlogin, hrancid. This is the output error:
>>>>>
>>>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>>>> executing hlogin -t 90 -c"show version;show flash;show
>>>>> system-information;show system information;show module;show stack;show tech
>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>>>> sh: hlogin: command not found
>>>>> xx.xx.xx.xx: missed cmd(s): all commands
>>>>> xx.xx.xx.xx: End of run not found
>>>>> xx.xx.xx.xx: clean_run is false
>>>>> xx.xx.xx.xx: found_end is false
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Rancid-discuss mailing list
>>>>> Rancid-discuss@shrubbery.net
>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>
>>>>
>>>
>>> --
>>> *Guisepp Rodriguez*
>>>
>>> Cell: (001) 514 627-9441
>>> Tél: (001) 450 655-5384
>>>
>>>
>>>
>
> --
> *Guisepp Rodriguez*
>
> Cell: (001) 514 627-9441
> Tél: (001) 450 655-5384
>
>
>
Re: Aruba 2930M [ In reply to ]
Hi Guisepp,

For me, the problem I still have with tis Aruba/HP switches that run
comware 5 I think, it is the authentication.
The enable mode ask for username+password again, and it seems that the
scripts are not designed for that

If someone found the solution, I take it!

On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
wrote:

> Ok, thanks.
>
> Le mer. 18 déc. 2019, à 10 h 41, henri hemery <henri.hemery@gmail.com> a
> écrit :
>
>> I am using 3.9
>>
>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>> wrote:
>>
>>> What version of rancid do you have?
>>>
>>> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com>
>>> a écrit :
>>>
>>>> Hi Guisepp,
>>>>
>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use
>>>> hlogin and it works:
>>>>
>>>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>>>> xxsw3
>>>> spawn telnet -K XXXsw3
>>>> Trying 10.X.X.X...
>>>> Connected to XXXsw3.
>>>> Escape character is '^]'.
>>>>
>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>>> wrote:
>>>>
>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I
>>>>> use hlogin, hrancid. This is the output error:
>>>>>
>>>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>>>> executing hlogin -t 90 -c"show version;show flash;show
>>>>> system-information;show system information;show module;show stack;show tech
>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>>>> sh: hlogin: command not found
>>>>> xx.xx.xx.xx: missed cmd(s): all commands
>>>>> xx.xx.xx.xx: End of run not found
>>>>> xx.xx.xx.xx: clean_run is false
>>>>> xx.xx.xx.xx: found_end is false
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Rancid-discuss mailing list
>>>>> Rancid-discuss@shrubbery.net
>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>
>>>>
>>>
>>> --
>>> *Guisepp Rodriguez*
>>>
>>> Cell: (001) 514 627-9441
>>> Tél: (001) 450 655-5384
>>>
>>>
>>>
>
> --
> *Guisepp Rodriguez*
>
> Cell: (001) 514 627-9441
> Tél: (001) 450 655-5384
>
>
>
Re: Aruba 2930M [ In reply to ]
I notice that the backup its done! Even if the command hrancid doesn't work
when I test

./bin/hrancid -t hp -d xx.xx.xx.xx

*****************
[rancid@rancid ~]$ more
/usr/local/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx
;RANCID-CONTENT-TYPE: hp
;
;Serial Number: xxxxxxxxx
;
;Memory: 331M
;
;Image: stamp:
/ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah_qaoff_rel_ukiah)
;Image: Jul 21 2017 14:09:42
;Image: WC.16.04.0008
;Image: 423
;Image: Boot Image: Primary
;Image: Boot ROM Version: WC.17.02.0003
;Image: Active Boot ROM: Primary
;Image: ROM WC.17.02.0003
;
;Flash: Image Size (bytes) Date Version
;Flash: ----------------- ------------ -------- --------------
;Flash: Primary Image : 28278126 07/21/17 WC.16.04.0008
;Flash: Secondary Image : 28278126 07/21/17 WC.16.04.0008
;Flash: Boot ROM Version
;Flash: ----------------
;Flash: Primary Boot ROM Version : WC.17.02.0003
;Flash: Secondary Boot ROM Version : WC.17.02.0003
;Flash: Default Boot Image : Primary
;Flash: Default Boot ROM : Primary




Le ven. 20 déc. 2019, à 09 h 37, henri hemery <henri.hemery@gmail.com> a
écrit :

> Hi Guisepp,
>
> For me, the problem I still have with tis Aruba/HP switches that run
> comware 5 I think, it is the authentication.
> The enable mode ask for username+password again, and it seems that the
> scripts are not designed for that
>
> If someone found the solution, I take it!
>
> On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
> wrote:
>
>> Ok, thanks.
>>
>> Le mer. 18 déc. 2019, à 10 h 41, henri hemery <henri.hemery@gmail.com> a
>> écrit :
>>
>>> I am using 3.9
>>>
>>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>> wrote:
>>>
>>>> What version of rancid do you have?
>>>>
>>>> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com>
>>>> a écrit :
>>>>
>>>>> Hi Guisepp,
>>>>>
>>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use
>>>>> hlogin and it works:
>>>>>
>>>>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>>>>> xxsw3
>>>>> spawn telnet -K XXXsw3
>>>>> Trying 10.X.X.X...
>>>>> Connected to XXXsw3.
>>>>> Escape character is '^]'.
>>>>>
>>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I
>>>>>> use hlogin, hrancid. This is the output error:
>>>>>>
>>>>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>>>>> executing hlogin -t 90 -c"show version;show flash;show
>>>>>> system-information;show system information;show module;show stack;show tech
>>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>>>>> sh: hlogin: command not found
>>>>>> xx.xx.xx.xx: missed cmd(s): all commands
>>>>>> xx.xx.xx.xx: End of run not found
>>>>>> xx.xx.xx.xx: clean_run is false
>>>>>> xx.xx.xx.xx: found_end is false
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Rancid-discuss mailing list
>>>>>> Rancid-discuss@shrubbery.net
>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>
>>>>>
>>>>
>>>> --
>>>> *Guisepp Rodriguez*
>>>>
>>>> Cell: (001) 514 627-9441
>>>> Tél: (001) 450 655-5384
>>>>
>>>>
>>>>
>>
>> --
>> *Guisepp Rodriguez*
>>
>> Cell: (001) 514 627-9441
>> Tél: (001) 450 655-5384
>>
>>
>>

--
*Guisepp Rodriguez*

Cell: (001) 514 627-9441
Tél: (001) 450 655-5384
Re: Aruba 2930M [ In reply to ]
Cool for you!

Can you tell me how you configured the authentication on the switch?
Does the rancid user get particular privilege mode?
In you .cloginrc file, is it autoenable?

On Fri, Dec 20, 2019 at 9:45 AM Guisepp Rodriguez <guisrodi@gmail.com>
wrote:

> I notice that the backup its done! Even if the command hrancid doesn't
> work when I test
>
> ./bin/hrancid -t hp -d xx.xx.xx.xx
>
> *****************
> [rancid@rancid ~]$ more
> /usr/local/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx
> ;RANCID-CONTENT-TYPE: hp
> ;
> ;Serial Number: xxxxxxxxx
> ;
> ;Memory: 331M
> ;
> ;Image: stamp:
> /ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah_qaoff_rel_ukiah)
> ;Image: Jul 21 2017 14:09:42
> ;Image: WC.16.04.0008
> ;Image: 423
> ;Image: Boot Image: Primary
> ;Image: Boot ROM Version: WC.17.02.0003
> ;Image: Active Boot ROM: Primary
> ;Image: ROM WC.17.02.0003
> ;
> ;Flash: Image Size (bytes) Date Version
> ;Flash: ----------------- ------------ -------- --------------
> ;Flash: Primary Image : 28278126 07/21/17 WC.16.04.0008
> ;Flash: Secondary Image : 28278126 07/21/17 WC.16.04.0008
> ;Flash: Boot ROM Version
> ;Flash: ----------------
> ;Flash: Primary Boot ROM Version : WC.17.02.0003
> ;Flash: Secondary Boot ROM Version : WC.17.02.0003
> ;Flash: Default Boot Image : Primary
> ;Flash: Default Boot ROM : Primary
>
>
>
>
> Le ven. 20 déc. 2019, à 09 h 37, henri hemery <henri.hemery@gmail.com> a
> écrit :
>
>> Hi Guisepp,
>>
>> For me, the problem I still have with tis Aruba/HP switches that run
>> comware 5 I think, it is the authentication.
>> The enable mode ask for username+password again, and it seems that the
>> scripts are not designed for that
>>
>> If someone found the solution, I take it!
>>
>> On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>> wrote:
>>
>>> Ok, thanks.
>>>
>>> Le mer. 18 déc. 2019, à 10 h 41, henri hemery <henri.hemery@gmail.com>
>>> a écrit :
>>>
>>>> I am using 3.9
>>>>
>>>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>>> wrote:
>>>>
>>>>> What version of rancid do you have?
>>>>>
>>>>> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com>
>>>>> a écrit :
>>>>>
>>>>>> Hi Guisepp,
>>>>>>
>>>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use
>>>>>> hlogin and it works:
>>>>>>
>>>>>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>>>>>> xxsw3
>>>>>> spawn telnet -K XXXsw3
>>>>>> Trying 10.X.X.X...
>>>>>> Connected to XXXsw3.
>>>>>> Escape character is '^]'.
>>>>>>
>>>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M
>>>>>>> I use hlogin, hrancid. This is the output error:
>>>>>>>
>>>>>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>>>>>> executing hlogin -t 90 -c"show version;show flash;show
>>>>>>> system-information;show system information;show module;show stack;show tech
>>>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>>>>>> sh: hlogin: command not found
>>>>>>> xx.xx.xx.xx: missed cmd(s): all commands
>>>>>>> xx.xx.xx.xx: End of run not found
>>>>>>> xx.xx.xx.xx: clean_run is false
>>>>>>> xx.xx.xx.xx: found_end is false
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Rancid-discuss mailing list
>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> *Guisepp Rodriguez*
>>>>>
>>>>> Cell: (001) 514 627-9441
>>>>> Tél: (001) 450 655-5384
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> *Guisepp Rodriguez*
>>>
>>> Cell: (001) 514 627-9441
>>> Tél: (001) 450 655-5384
>>>
>>>
>>>
>
> --
> *Guisepp Rodriguez*
>
> Cell: (001) 514 627-9441
> Tél: (001) 450 655-5384
>
>
>
Re: Aruba 2930M [ In reply to ]
This is my config

add autoenable xx.xx.xx.xx 1
add method xx.xx.xx.xx ssh
add user * xxxx
add password * xxxx

Le ven. 20 déc. 2019, à 10 h 10, henri hemery <henri.hemery@gmail.com> a
écrit :

> Cool for you!
>
> Can you tell me how you configured the authentication on the switch?
> Does the rancid user get particular privilege mode?
> In you .cloginrc file, is it autoenable?
>
> On Fri, Dec 20, 2019 at 9:45 AM Guisepp Rodriguez <guisrodi@gmail.com>
> wrote:
>
>> I notice that the backup its done! Even if the command hrancid doesn't
>> work when I test
>>
>> ./bin/hrancid -t hp -d xx.xx.xx.xx
>>
>> *****************
>> [rancid@rancid ~]$ more
>> /usr/local/rancid/var/xxxxxxxxxxx/configs/xx.xx.xx.xx
>> ;RANCID-CONTENT-TYPE: hp
>> ;
>> ;Serial Number: xxxxxxxxx
>> ;
>> ;Memory: 331M
>> ;
>> ;Image: stamp:
>> /ws/swbuildm/rel_ukiah_qaoff/code/build/lvm(swbuildm_rel_ukiah_qaoff_rel_ukiah)
>> ;Image: Jul 21 2017 14:09:42
>> ;Image: WC.16.04.0008
>> ;Image: 423
>> ;Image: Boot Image: Primary
>> ;Image: Boot ROM Version: WC.17.02.0003
>> ;Image: Active Boot ROM: Primary
>> ;Image: ROM WC.17.02.0003
>> ;
>> ;Flash: Image Size (bytes) Date Version
>> ;Flash: ----------------- ------------ -------- --------------
>> ;Flash: Primary Image : 28278126 07/21/17 WC.16.04.0008
>> ;Flash: Secondary Image : 28278126 07/21/17 WC.16.04.0008
>> ;Flash: Boot ROM Version
>> ;Flash: ----------------
>> ;Flash: Primary Boot ROM Version : WC.17.02.0003
>> ;Flash: Secondary Boot ROM Version : WC.17.02.0003
>> ;Flash: Default Boot Image : Primary
>> ;Flash: Default Boot ROM : Primary
>>
>>
>>
>>
>> Le ven. 20 déc. 2019, à 09 h 37, henri hemery <henri.hemery@gmail.com> a
>> écrit :
>>
>>> Hi Guisepp,
>>>
>>> For me, the problem I still have with tis Aruba/HP switches that run
>>> comware 5 I think, it is the authentication.
>>> The enable mode ask for username+password again, and it seems that the
>>> scripts are not designed for that
>>>
>>> If someone found the solution, I take it!
>>>
>>> On Wed, Dec 18, 2019 at 10:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>> wrote:
>>>
>>>> Ok, thanks.
>>>>
>>>> Le mer. 18 déc. 2019, à 10 h 41, henri hemery <henri.hemery@gmail.com>
>>>> a écrit :
>>>>
>>>>> I am using 3.9
>>>>>
>>>>> On Wed, Dec 18, 2019 at 9:48 AM Guisepp Rodriguez <guisrodi@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> What version of rancid do you have?
>>>>>>
>>>>>> Le mer. 18 déc. 2019, à 09 h 24, henri hemery <henri.hemery@gmail.com>
>>>>>> a écrit :
>>>>>>
>>>>>>> Hi Guisepp,
>>>>>>>
>>>>>>> I have Aruba JL258A 2930F-8G-PoE+-2SFP+ in production, and I use
>>>>>>> hlogin and it works:
>>>>>>>
>>>>>>> [rancid@xxxswbkp1 bin]$ ./hlogin XXXX
>>>>>>> xxsw3
>>>>>>> spawn telnet -K XXXsw3
>>>>>>> Trying 10.X.X.X...
>>>>>>> Connected to XXXsw3.
>>>>>>> Escape character is '^]'.
>>>>>>>
>>>>>>> On Wed, Dec 18, 2019 at 9:02 AM Guisepp Rodriguez <
>>>>>>> guisrodi@gmail.com> wrote:
>>>>>>>
>>>>>>>> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M
>>>>>>>> I use hlogin, hrancid. This is the output error:
>>>>>>>>
>>>>>>>> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
>>>>>>>> executing hlogin -t 90 -c"show version;show flash;show
>>>>>>>> system-information;show system information;show module;show stack;show tech
>>>>>>>> transceivers;show config files;show config status;write term" xx.xx.xx.xx
>>>>>>>> sh: hlogin: command not found
>>>>>>>> xx.xx.xx.xx: missed cmd(s): all commands
>>>>>>>> xx.xx.xx.xx: End of run not found
>>>>>>>> xx.xx.xx.xx: clean_run is false
>>>>>>>> xx.xx.xx.xx: found_end is false
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Rancid-discuss mailing list
>>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Guisepp Rodriguez*
>>>>>>
>>>>>> Cell: (001) 514 627-9441
>>>>>> Tél: (001) 450 655-5384
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> *Guisepp Rodriguez*
>>>>
>>>> Cell: (001) 514 627-9441
>>>> Tél: (001) 450 655-5384
>>>>
>>>>
>>>>
>>
>> --
>> *Guisepp Rodriguez*
>>
>> Cell: (001) 514 627-9441
>> Tél: (001) 450 655-5384
>>
>>
>>

--
*Guisepp Rodriguez*

Cell: (001) 514 627-9441
Tél: (001) 450 655-5384
Re: Aruba 2930M [ In reply to ]
Here, we use h3clogin for HP/Aruba Comware 5 or 7 switches. Our Comware 5 switches are the little Network Jack 5000 series, and Comware 7 are flexible fabric switches we use for iSCSI (5700 and 5300 series).

No issues with authentication, there are occasionally some setup errors when Rancid initially connects but they’re not fatal. We always get a configuration stored though.

h3clogin -c"display current-configuration" AA.BB.CC.DD


James

From: Rancid-discuss <rancid-discuss-bounces@shrubbery.net> On Behalf Of henri hemery
Sent: Friday, December 20, 2019 5:38 AM
To: Guisepp Rodriguez <guisrodi@gmail.com>
Cc: Rancid-discuss@shrubbery.net
Subject: Re: [rancid] Aruba 2930M

EXTERNAL E-MAIL: BE CAUTIOUS WHEN OPENING FILES OR FOLLOWING LINKS
________________________________
Hi Guisepp,

For me, the problem I still have with tis Aruba/HP switches that run comware 5 I think, it is the authentication.
The enable mode ask for username+password again, and it seems that the scripts are not designed for that

If someone found the solution, I take it!
Re: Aruba 2930M [ In reply to ]
Hi,

On Thu, 19 Dec 2019 at 1:02 am, Guisepp Rodriguez <guisrodi@gmail.com>
wrote:

> What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use
> hlogin, hrancid. This is the output error:
>
> [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
> executing hlogin -t 90 -c"show version;show flash;show
> system-information;show system information;show module;show stack;show tech
> transceivers;show config files;show config status;write term" xx.xx.xx.xx
> sh: hlogin: command not found
>

^^ do you have a $PATH environment variable problem? It seems hrancid can’t
execute hlogin. From memory, this can be set in rancid.conf.

Cheers,
Dale
Re: Aruba 2930M [ In reply to ]
Sat, Dec 21, 2019 at 08:30:39AM +1100, Dale Shaw:
> On Thu, 19 Dec 2019 at 1:02 am, Guisepp Rodriguez <guisrodi@gmail.com>
> > What version of Rancid I need? I use rancid 3.7 and for Aruba 2930M I use
> > hlogin, hrancid. This is the output error:
> >
> > [rancid@rancid rancid]$ ./bin/hrancid -t hp -d xx.xx.xx.xx
> > executing hlogin -t 90 -c"show version;show flash;show
> > system-information;show system information;show module;show stack;show tech
> > transceivers;show config files;show config status;write term" xx.xx.xx.xx
> > sh: hlogin: command not found
> >
>
> ^^ do you have a $PATH environment variable problem? It seems hrancid can’t
> execute hlogin. From memory, this can be set in rancid.conf.

To clarify; the scripts inherit PATH from their parent, expect rancid-run and
control_rancid which include rancid.conf.

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