Mailing List Archive

Fwd: Rancid - cmwlogin - HPE switches
> I think I found the solution.
>
> I finally can use h3clogin//h3crancid work for my HPE 5130.
> Here is what I modified in the file h3crancid:
>
> I had to modify the first line by this:
>
> #! /usr/bin/perl5.16.3 --» Because it is what we have in
> /usr/bin
>
> And I also modified this line:
>
> my $logincmd = "/usr/local/rancid/bin/h3clogin"; --» because the
> script was unable to locate h3clogin
>
> Thanks for your help all!
>
>
>
> On Thu, Oct 24, 2019 at 10:27 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>
>> There is no such file on my version (2.3).
>>
>> In 2.3, the config was in rancid-fe, I think and it looked like this:
>>
>> 'h3c' => 'h3crancid',
>>
>> The login command was defined it the *rancid script:
>>
>> my $logincmd = "h3clogin";
>>
>>
>> On Thu, Oct 24, 2019 at 8:55 AM henri hemery <henri.hemery@gmail.com>
>> wrote:
>>
>>> Thanks Ugo, so you modified /usr/local/rancid/etc/rancid.types.conf like
>>> this? :
>>>
>>> h3c;script;h3crancid -t cmw
>>> h3c;login;h3clogin
>>>
>>> On Thu, Oct 24, 2019 at 8:11 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>>
>>>> I don't know if that helps, but I'm running rancid with a 5120, but I'm
>>>> using h3crancid, because I use an old version of rancid.
>>>>
>>>> Regards
>>>>
>>>> On Thu, Oct 24, 2019 at 8:07 AM henri hemery <henri.hemery@gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>>> Have you read this
>>>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid ?
>>>>>>
>>>>>> Yes, I dicovered cmwlogin from this page and I followed every step,
>>>>> but I think this module is not for every type of comware 7 devices
>>>>>
>>>>>
>>>>>> You may want to read this thread:
>>>>>> http://www.shrubbery.net/pipermail/rancid-discuss/2018-February/010065.html
>>>>>>
>>>>>
>>>>> Yes I read that thread, not so much to learn from..But I gonna try to
>>>>> get in touch with the person.
>>>>>
>>>>>>
>>>>>> On Wed, Oct 23, 2019 at 3:57 PM henri hemery <henri.hemery@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I would like to know if some of you succeeded in backing UP HPE
>>>>>>> switches.
>>>>>>>
>>>>>>> I successfully backed up HP FF 7910, HP 2530, but no way to back up
>>>>>>> HPE 5130 and HP 5120.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> If I type this command:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *[rancid@cardlswbkp1 bin]$ ./cmwlogin -c "display version"
>>>>>>> 10.1.170.1*
>>>>>>>
>>>>>>> *10.1.170.1*
>>>>>>>
>>>>>>> *spawn telnet 10.1.170.1*
>>>>>>>
>>>>>>> *Trying 10.1.170.1...*
>>>>>>>
>>>>>>> *Connected to 10.1.170.1.*
>>>>>>>
>>>>>>> *Escape character is '^]'.*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ********************************************************************************
>>>>>>>
>>>>>>> ** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development
>>>>>>> LP **
>>>>>>>
>>>>>>> ** Without the owner's prior written
>>>>>>> consent, **
>>>>>>>
>>>>>>> ** no decompiling or reverse-engineering shall be
>>>>>>> allowed. **
>>>>>>>
>>>>>>>
>>>>>>> ********************************************************************************
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *login: [login]*
>>>>>>>
>>>>>>> *Password:*
>>>>>>>
>>>>>>> *<MGMSW1>undo smart*
>>>>>>>
>>>>>>> * ^*
>>>>>>>
>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>
>>>>>>> *<MGMSW1>undo interactive*
>>>>>>>
>>>>>>> * ^*
>>>>>>>
>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>
>>>>>>> *<MGMSW1>undo terminal monitor*
>>>>>>>
>>>>>>> *The current terminal is disabled to display logs.*
>>>>>>>
>>>>>>> *<MGMSW1>*
>>>>>>>
>>>>>>> *<MGMSW1>terminal length 0*
>>>>>>>
>>>>>>> * ^*
>>>>>>>
>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>
>>>>>>> *<MGMSW1>terminal width 132*
>>>>>>>
>>>>>>> * ^*
>>>>>>>
>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>
>>>>>>> *<MGMSW1>display version*
>>>>>>>
>>>>>>> *HPE Comware Software, Version 7.1.070, Release 3208P03*
>>>>>>>
>>>>>>> *Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP*
>>>>>>>
>>>>>>> *HPE 5130 24G PoE+ 4SFP+ EI Switch uptime is 10 weeks, 4 days, 6
>>>>>>> hours, 28 minutes*
>>>>>>>
>>>>>>> *Last reboot reason : Cold reboot*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *####suppressed output###*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *Boot image: flash:/5130ei-cmw710-boot-r3208p03.bin*
>>>>>>>
>>>>>>> *Boot image version: 7.1.070, Release 3208P03*
>>>>>>>
>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>
>>>>>>> *System image: flash:/5130ei-cmw710-system-r3208p03.bin*
>>>>>>>
>>>>>>> *System image version: 7.1.070, Release 3208P03*
>>>>>>>
>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *<MGMSW1>exit*
>>>>>>>
>>>>>>> *Connection closed by foreign host.*
>>>>>>>
>>>>>>> *[rancid@cardlswbkp1 bin]$*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> It work. But when I launch rancid-run, I never receive the output.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> When I type: ./cmwlogin -dl 10.1.170.1, the output is stocked here:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *expect: does "" (spawn_id exp6) match regular expression "[\r\n]+"?
>>>>>>> (No Gate, RE only) gate=yes re=no*
>>>>>>>
>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>> gate=yes re=no*
>>>>>>>
>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=no*
>>>>>>>
>>>>>>> *<MGMSW1>*
>>>>>>>
>>>>>>> *expect: does "<MGMSW1>" (spawn_id exp6) match regular expression
>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>
>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>> gate=yes re=no*
>>>>>>>
>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=yes*
>>>>>>>
>>>>>>> *expect: set expect_out(0,string) "<MGMSW1>"*
>>>>>>>
>>>>>>> *expect: set expect_out(1,string) ">"*
>>>>>>>
>>>>>>> *expect: set expect_out(spawn_id) "exp6"*
>>>>>>>
>>>>>>> *expect: set expect_out(buffer) "<MGMSW1>"*
>>>>>>>
>>>>>>> *tty_raw_noecho: was raw = 0 echo = 1*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Anybody can help?
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Rancid-discuss mailing list
>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>> _______________________________________________
>>>>>> Rancid-discuss mailing list
>>>>>> Rancid-discuss@shrubbery.net
>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>
>>>
>>
>> --
>> Ugo Bellavance (ugob@lubik.ca)
>>
>

--
Ugo Bellavance (ugob@lubik.ca)
Re: Fwd: Rancid - cmwlogin - HPE switches [ In reply to ]
Are you using a recent release of rancid, eg. 3.9?

As these scripts did not work for me and the switch stack does not get many
updates, I simply backed them up myself in the past.
All other devices worked fine.

Kind regards
Kevin


Am Do., 24. Okt. 2019 um 20:29 Uhr schrieb henri hemery <
henri.hemery@gmail.com>:

>
> I think I found the solution.
>>
>> I finally can use h3clogin//h3crancid work for my HPE 5130.
>> Here is what I modified in the file h3crancid:
>>
>> I had to modify the first line by this:
>>
>> #! /usr/bin/perl5.16.3 --» Because it is what we have in
>> /usr/bin
>>
>> And I also modified this line:
>>
>> my $logincmd = "/usr/local/rancid/bin/h3clogin"; --» because the
>> script was unable to locate h3clogin
>>
>> Thanks for your help all!
>>
>>
>>
>> On Thu, Oct 24, 2019 at 10:27 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>
>>> There is no such file on my version (2.3).
>>>
>>> In 2.3, the config was in rancid-fe, I think and it looked like this:
>>>
>>> 'h3c' => 'h3crancid',
>>>
>>> The login command was defined it the *rancid script:
>>>
>>> my $logincmd = "h3clogin";
>>>
>>>
>>> On Thu, Oct 24, 2019 at 8:55 AM henri hemery <henri.hemery@gmail.com>
>>> wrote:
>>>
>>>> Thanks Ugo, so you modified /usr/local/rancid/etc/rancid.types.conf
>>>> like this? :
>>>>
>>>> h3c;script;h3crancid -t cmw
>>>> h3c;login;h3clogin
>>>>
>>>> On Thu, Oct 24, 2019 at 8:11 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>>>
>>>>> I don't know if that helps, but I'm running rancid with a 5120, but
>>>>> I'm using h3crancid, because I use an old version of rancid.
>>>>>
>>>>> Regards
>>>>>
>>>>> On Thu, Oct 24, 2019 at 8:07 AM henri hemery <henri.hemery@gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>> Have you read this
>>>>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid ?
>>>>>>>
>>>>>>> Yes, I dicovered cmwlogin from this page and I followed every step,
>>>>>> but I think this module is not for every type of comware 7 devices
>>>>>>
>>>>>>
>>>>>>> You may want to read this thread:
>>>>>>> http://www.shrubbery.net/pipermail/rancid-discuss/2018-February/010065.html
>>>>>>>
>>>>>>
>>>>>> Yes I read that thread, not so much to learn from..But I gonna try to
>>>>>> get in touch with the person.
>>>>>>
>>>>>>>
>>>>>>> On Wed, Oct 23, 2019 at 3:57 PM henri hemery <henri.hemery@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I would like to know if some of you succeeded in backing UP HPE
>>>>>>>> switches.
>>>>>>>>
>>>>>>>> I successfully backed up HP FF 7910, HP 2530, but no way to back up
>>>>>>>> HPE 5130 and HP 5120.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> If I type this command:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *[rancid@cardlswbkp1 bin]$ ./cmwlogin -c "display version"
>>>>>>>> 10.1.170.1*
>>>>>>>>
>>>>>>>> *10.1.170.1*
>>>>>>>>
>>>>>>>> *spawn telnet 10.1.170.1*
>>>>>>>>
>>>>>>>> *Trying 10.1.170.1...*
>>>>>>>>
>>>>>>>> *Connected to 10.1.170.1.*
>>>>>>>>
>>>>>>>> *Escape character is '^]'.*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ********************************************************************************
>>>>>>>>
>>>>>>>> ** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development
>>>>>>>> LP **
>>>>>>>>
>>>>>>>> ** Without the owner's prior written
>>>>>>>> consent, **
>>>>>>>>
>>>>>>>> ** no decompiling or reverse-engineering shall be
>>>>>>>> allowed. **
>>>>>>>>
>>>>>>>>
>>>>>>>> ********************************************************************************
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *login: [login]*
>>>>>>>>
>>>>>>>> *Password:*
>>>>>>>>
>>>>>>>> *<MGMSW1>undo smart*
>>>>>>>>
>>>>>>>> * ^*
>>>>>>>>
>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>
>>>>>>>> *<MGMSW1>undo interactive*
>>>>>>>>
>>>>>>>> * ^*
>>>>>>>>
>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>
>>>>>>>> *<MGMSW1>undo terminal monitor*
>>>>>>>>
>>>>>>>> *The current terminal is disabled to display logs.*
>>>>>>>>
>>>>>>>> *<MGMSW1>*
>>>>>>>>
>>>>>>>> *<MGMSW1>terminal length 0*
>>>>>>>>
>>>>>>>> * ^*
>>>>>>>>
>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>
>>>>>>>> *<MGMSW1>terminal width 132*
>>>>>>>>
>>>>>>>> * ^*
>>>>>>>>
>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>
>>>>>>>> *<MGMSW1>display version*
>>>>>>>>
>>>>>>>> *HPE Comware Software, Version 7.1.070, Release 3208P03*
>>>>>>>>
>>>>>>>> *Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP*
>>>>>>>>
>>>>>>>> *HPE 5130 24G PoE+ 4SFP+ EI Switch uptime is 10 weeks, 4 days, 6
>>>>>>>> hours, 28 minutes*
>>>>>>>>
>>>>>>>> *Last reboot reason : Cold reboot*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *####suppressed output###*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *Boot image: flash:/5130ei-cmw710-boot-r3208p03.bin*
>>>>>>>>
>>>>>>>> *Boot image version: 7.1.070, Release 3208P03*
>>>>>>>>
>>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>>
>>>>>>>> *System image: flash:/5130ei-cmw710-system-r3208p03.bin*
>>>>>>>>
>>>>>>>> *System image version: 7.1.070, Release 3208P03*
>>>>>>>>
>>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *<MGMSW1>exit*
>>>>>>>>
>>>>>>>> *Connection closed by foreign host.*
>>>>>>>>
>>>>>>>> *[rancid@cardlswbkp1 bin]$*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> It work. But when I launch rancid-run, I never receive the output.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> When I type: ./cmwlogin -dl 10.1.170.1, the output is stocked here:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *expect: does "" (spawn_id exp6) match regular expression
>>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>
>>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>>> gate=yes re=no*
>>>>>>>>
>>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>
>>>>>>>> *<MGMSW1>*
>>>>>>>>
>>>>>>>> *expect: does "<MGMSW1>" (spawn_id exp6) match regular expression
>>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>
>>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>>> gate=yes re=no*
>>>>>>>>
>>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=yes*
>>>>>>>>
>>>>>>>> *expect: set expect_out(0,string) "<MGMSW1>"*
>>>>>>>>
>>>>>>>> *expect: set expect_out(1,string) ">"*
>>>>>>>>
>>>>>>>> *expect: set expect_out(spawn_id) "exp6"*
>>>>>>>>
>>>>>>>> *expect: set expect_out(buffer) "<MGMSW1>"*
>>>>>>>>
>>>>>>>> *tty_raw_noecho: was raw = 0 echo = 1*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Anybody can help?
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Rancid-discuss mailing list
>>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>>> _______________________________________________
>>>>>>> Rancid-discuss mailing list
>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>
>>>>
>>>
>>> --
>>> Ugo Bellavance (ugob@lubik.ca)
>>>
>>
>
> --
> Ugo Bellavance (ugob@lubik.ca)
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
Re: Fwd: Rancid - cmwlogin - HPE switches [ In reply to ]
so i decided to upgrade rancid in hopes of getting rid of the message i
n the morning which one cisco switch produces on fresh boot. and so i
install from rancid-master which turned out to be rancid 3.9
and here is what i get

Trying to get all of the configs.
cisco-isr: missed cmd(s): dir /all bootflash:, show controllers, show
controllers cbus, show diagbus, show diag, show capture, show module
switch, show module, show spe version, show c7200, show cellular 0
profile, show inventory raw, show inventory, show vtp status, show
vlan, show vlan-switch, show switch detail, show sdm prefer, show
system mtu, show debug, show shun, more system:running-config, show
running-config view full, show running-config
cisco-isr: End of run not found
!Flash: bootflash: drwx 4096 Feb 27 2018 13:59:45
+03:00 vman_fdb

there is a folder vman_fdb which shows using the dir /all bootflash:

similar messages on other devices are:

cisconexus-1: missed cmd(s): dir logflash:, dir slot0:, dir usb1:, dir
usb2:, dir volatile:, show module, show inventory, show interface
transceiver, show vlan, show debug, show cores vdc-all, show processes
log vdc-all, show module fex, show fex
cisconexus-1: End of run not found
!Flash: logflash: Usage for logflash://sup-local

and from searching, the solution is to comment out the following
commands:

#cisco;command;ios::DirSlotN;dir /all nvram:
#cisco;command;ios::DirSlotN;dir /all bootflash:
#cisco;command;ios::DirSlotN;dir /all slot0:
#cisco;command;ios::DirSlotN;dir /all disk0:
#cisco;command;ios::DirSlotN;dir /all slot1:
#cisco;command;ios::DirSlotN;dir /all disk1:
#cisco;command;ios::DirSlotN;dir /all slot2:
#cisco;command;ios::DirSlotN;dir /all disk2:
#cisco;command;ios::DirSlotN;dir /all harddisk:
#cisco;command;ios::DirSlotN;dir /all harddiska:
#cisco;command;ios::DirSlotN;dir /all harddiskb:
#cisco;command;ios::DirSlotN;dir /all sup-bootdisk:;c6500 sup32
#cisco;command;ios::DirSlotN;dir /all sup-bootflash:;c6500 ios
#cisco;command;ios::DirSlotN;dir /all sup-microcode:;c6500 ios
#cisco;command;ios::DirSlotN;dir /all slavenvram:
#cisco;command;ios::DirSlotN;dir /all slavebootflash:
#cisco;command;ios::DirSlotN;dir /all slaveslot0:
#cisco;command;ios::DirSlotN;dir /all slavedisk0:
#cisco;command;ios::DirSlotN;dir /all slaveslot1:
#cisco;command;ios::DirSlotN;dir /all slavedisk1:
#cisco;command;ios::DirSlotN;dir /all slaveslot2:
#cisco;command;ios::DirSlotN;dir /all slavedisk2:
#cisco;command;ios::DirSlotN;dir /all slavesup-bootflash:;c7600
#cisco;command;ios::DirSlotN;dir /all sec-nvram:
#cisco;command;ios::DirSlotN;dir /all sec-bootflash:
#cisco;command;ios::DirSlotN;dir /all sec-slot0:
#cisco;command;ios::DirSlotN;dir /all sec-disk0:
#cisco;command;ios::DirSlotN;dir /all sec-slot1:
#cisco;command;ios::DirSlotN;dir /all sec-disk1:
#cisco;command;ios::DirSlotN;dir /all sec-slot2:
#cisco;command;ios::DirSlotN;dir /all sec-disk2:

and

#cisco-nx;command;nxos::DirSlotN;dir bootflash:
#cisco-nx;command;nxos::DirSlotN;dir debug:
#cisco-nx;command;nxos::DirSlotN;dir logflash:
cisco-nx;command;nxos::DirSlotN;dir slot0:
cisco-nx;command;nxos::DirSlotN;dir usb1:
cisco-nx;command;nxos::DirSlotN;dir usb2:
#cisco-nx;command;nxos::DirSlotN;dir volatile:
cisco-nx;command;nxos::ShowModule;show module
#cisco-nx;command;nxos::ShowModule;show module xbar
#cisco-nx;command;nxos::ShowModule;show module X;add, but wait for show
all
#cisco-nx;command;nxos::ShowModule;show module X epld;add, but wait for
show all

this all sounds abnormal because in the previous version there were
just 2 commands commented out for nexus ..


_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Fwd: Rancid - cmwlogin - HPE switches [ In reply to ]
Hi Henri,

ok, old releases are a no-go for me, as I have HP devices with recent FW
that would loop (find diff on every refresh) as HP introduced a timestamp
for some commands.
I would like to see CMW work in 3.9+ but I was unable to get this working
on my own (I have no perl skills and don't plan to extend them).

Kind regards
Kevin

Am Fr., 25. Okt. 2019 um 13:50 Uhr schrieb henri hemery <
henri.hemery@gmail.com>:

> Hi Kevin, I am using rancid 3.4.1, I followed this procedure:
> https://www.petenetlive.com/KB/Article/0001331
>
> HPE 5130 was not working with cmwlogin module, but works fine with module
> h3crancid, after I modified it as mentioned in my previous mail.
>
>
>
> On Fri, Oct 25, 2019 at 5:20 AM Kevin Olbrich <ko@sv01.de> wrote:
>
>> Are you using a recent release of rancid, eg. 3.9?
>>
>> As these scripts did not work for me and the switch stack does not get
>> many updates, I simply backed them up myself in the past.
>> All other devices worked fine.
>>
>> Kind regards
>> Kevin
>>
>>
>> Am Do., 24. Okt. 2019 um 20:29 Uhr schrieb henri hemery <
>> henri.hemery@gmail.com>:
>>
>>>
>>> I think I found the solution.
>>>>
>>>> I finally can use h3clogin//h3crancid work for my HPE 5130.
>>>> Here is what I modified in the file h3crancid:
>>>>
>>>> I had to modify the first line by this:
>>>>
>>>> #! /usr/bin/perl5.16.3 --» Because it is what we have in
>>>> /usr/bin
>>>>
>>>> And I also modified this line:
>>>>
>>>> my $logincmd = "/usr/local/rancid/bin/h3clogin"; --» because the
>>>> script was unable to locate h3clogin
>>>>
>>>> Thanks for your help all!
>>>>
>>>>
>>>>
>>>> On Thu, Oct 24, 2019 at 10:27 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>>>
>>>>> There is no such file on my version (2.3).
>>>>>
>>>>> In 2.3, the config was in rancid-fe, I think and it looked like this:
>>>>>
>>>>> 'h3c' => 'h3crancid',
>>>>>
>>>>> The login command was defined it the *rancid script:
>>>>>
>>>>> my $logincmd = "h3clogin";
>>>>>
>>>>>
>>>>> On Thu, Oct 24, 2019 at 8:55 AM henri hemery <henri.hemery@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Thanks Ugo, so you modified /usr/local/rancid/etc/rancid.types.conf
>>>>>> like this? :
>>>>>>
>>>>>> h3c;script;h3crancid -t cmw
>>>>>> h3c;login;h3clogin
>>>>>>
>>>>>> On Thu, Oct 24, 2019 at 8:11 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>>>>>
>>>>>>> I don't know if that helps, but I'm running rancid with a 5120, but
>>>>>>> I'm using h3crancid, because I use an old version of rancid.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> On Thu, Oct 24, 2019 at 8:07 AM henri hemery <henri.hemery@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>> Have you read this
>>>>>>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid ?
>>>>>>>>>
>>>>>>>>> Yes, I dicovered cmwlogin from this page and I followed every
>>>>>>>> step, but I think this module is not for every type of comware 7 devices
>>>>>>>>
>>>>>>>>
>>>>>>>>> You may want to read this thread:
>>>>>>>>> http://www.shrubbery.net/pipermail/rancid-discuss/2018-February/010065.html
>>>>>>>>>
>>>>>>>>
>>>>>>>> Yes I read that thread, not so much to learn from..But I gonna try
>>>>>>>> to get in touch with the person.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Oct 23, 2019 at 3:57 PM henri hemery <
>>>>>>>>> henri.hemery@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I would like to know if some of you succeeded in backing UP HPE
>>>>>>>>>> switches.
>>>>>>>>>>
>>>>>>>>>> I successfully backed up HP FF 7910, HP 2530, but no way to back
>>>>>>>>>> up HPE 5130 and HP 5120.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> If I type this command:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *[rancid@cardlswbkp1 bin]$ ./cmwlogin -c "display version"
>>>>>>>>>> 10.1.170.1*
>>>>>>>>>>
>>>>>>>>>> *10.1.170.1*
>>>>>>>>>>
>>>>>>>>>> *spawn telnet 10.1.170.1*
>>>>>>>>>>
>>>>>>>>>> *Trying 10.1.170.1...*
>>>>>>>>>>
>>>>>>>>>> *Connected to 10.1.170.1.*
>>>>>>>>>>
>>>>>>>>>> *Escape character is '^]'.*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ********************************************************************************
>>>>>>>>>>
>>>>>>>>>> ** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development
>>>>>>>>>> LP **
>>>>>>>>>>
>>>>>>>>>> ** Without the owner's prior written
>>>>>>>>>> consent, **
>>>>>>>>>>
>>>>>>>>>> ** no decompiling or reverse-engineering shall be
>>>>>>>>>> allowed. **
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ********************************************************************************
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *login: [login]*
>>>>>>>>>>
>>>>>>>>>> *Password:*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>undo smart*
>>>>>>>>>>
>>>>>>>>>> * ^*
>>>>>>>>>>
>>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>undo interactive*
>>>>>>>>>>
>>>>>>>>>> * ^*
>>>>>>>>>>
>>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>undo terminal monitor*
>>>>>>>>>>
>>>>>>>>>> *The current terminal is disabled to display logs.*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>terminal length 0*
>>>>>>>>>>
>>>>>>>>>> * ^*
>>>>>>>>>>
>>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>terminal width 132*
>>>>>>>>>>
>>>>>>>>>> * ^*
>>>>>>>>>>
>>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>display version*
>>>>>>>>>>
>>>>>>>>>> *HPE Comware Software, Version 7.1.070, Release 3208P03*
>>>>>>>>>>
>>>>>>>>>> *Copyright (c) 2010-2017 Hewlett Packard Enterprise Development
>>>>>>>>>> LP*
>>>>>>>>>>
>>>>>>>>>> *HPE 5130 24G PoE+ 4SFP+ EI Switch uptime is 10 weeks, 4 days, 6
>>>>>>>>>> hours, 28 minutes*
>>>>>>>>>>
>>>>>>>>>> *Last reboot reason : Cold reboot*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *####suppressed output###*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *Boot image: flash:/5130ei-cmw710-boot-r3208p03.bin*
>>>>>>>>>>
>>>>>>>>>> *Boot image version: 7.1.070, Release 3208P03*
>>>>>>>>>>
>>>>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>>>>
>>>>>>>>>> *System image: flash:/5130ei-cmw710-system-r3208p03.bin*
>>>>>>>>>>
>>>>>>>>>> *System image version: 7.1.070, Release 3208P03*
>>>>>>>>>>
>>>>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>exit*
>>>>>>>>>>
>>>>>>>>>> *Connection closed by foreign host.*
>>>>>>>>>>
>>>>>>>>>> *[rancid@cardlswbkp1 bin]$*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> It work. But when I launch rancid-run, I never receive the output.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> When I type: ./cmwlogin -dl 10.1.170.1, the output is stocked
>>>>>>>>>> here:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *expect: does "" (spawn_id exp6) match regular expression
>>>>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>>>
>>>>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>>>>> gate=yes re=no*
>>>>>>>>>>
>>>>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>>>
>>>>>>>>>> *<MGMSW1>*
>>>>>>>>>>
>>>>>>>>>> *expect: does "<MGMSW1>" (spawn_id exp6) match regular expression
>>>>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>>>
>>>>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>>>>> gate=yes re=no*
>>>>>>>>>>
>>>>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes
>>>>>>>>>> re=yes*
>>>>>>>>>>
>>>>>>>>>> *expect: set expect_out(0,string) "<MGMSW1>"*
>>>>>>>>>>
>>>>>>>>>> *expect: set expect_out(1,string) ">"*
>>>>>>>>>>
>>>>>>>>>> *expect: set expect_out(spawn_id) "exp6"*
>>>>>>>>>>
>>>>>>>>>> *expect: set expect_out(buffer) "<MGMSW1>"*
>>>>>>>>>>
>>>>>>>>>> *tty_raw_noecho: was raw = 0 echo = 1*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Anybody can help?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Rancid-discuss mailing list
>>>>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>>>>> _______________________________________________
>>>>>>>>> Rancid-discuss mailing list
>>>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>
>>>>
>>>
>>> --
>>> Ugo Bellavance (ugob@lubik.ca)
>>> _______________________________________________
>>> 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: Fwd: Rancid - cmwlogin - HPE switches [ In reply to ]
Hi Kevin, I am using rancid 3.4.1, I followed this procedure:
https://www.petenetlive.com/KB/Article/0001331

HPE 5130 was not working with cmwlogin module, but works fine with module
h3crancid, after I modified it as mentioned in my previous mail.



On Fri, Oct 25, 2019 at 5:20 AM Kevin Olbrich <ko@sv01.de> wrote:

> Are you using a recent release of rancid, eg. 3.9?
>
> As these scripts did not work for me and the switch stack does not get
> many updates, I simply backed them up myself in the past.
> All other devices worked fine.
>
> Kind regards
> Kevin
>
>
> Am Do., 24. Okt. 2019 um 20:29 Uhr schrieb henri hemery <
> henri.hemery@gmail.com>:
>
>>
>> I think I found the solution.
>>>
>>> I finally can use h3clogin//h3crancid work for my HPE 5130.
>>> Here is what I modified in the file h3crancid:
>>>
>>> I had to modify the first line by this:
>>>
>>> #! /usr/bin/perl5.16.3 --» Because it is what we have in
>>> /usr/bin
>>>
>>> And I also modified this line:
>>>
>>> my $logincmd = "/usr/local/rancid/bin/h3clogin"; --» because the
>>> script was unable to locate h3clogin
>>>
>>> Thanks for your help all!
>>>
>>>
>>>
>>> On Thu, Oct 24, 2019 at 10:27 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>>
>>>> There is no such file on my version (2.3).
>>>>
>>>> In 2.3, the config was in rancid-fe, I think and it looked like this:
>>>>
>>>> 'h3c' => 'h3crancid',
>>>>
>>>> The login command was defined it the *rancid script:
>>>>
>>>> my $logincmd = "h3clogin";
>>>>
>>>>
>>>> On Thu, Oct 24, 2019 at 8:55 AM henri hemery <henri.hemery@gmail.com>
>>>> wrote:
>>>>
>>>>> Thanks Ugo, so you modified /usr/local/rancid/etc/rancid.types.conf
>>>>> like this? :
>>>>>
>>>>> h3c;script;h3crancid -t cmw
>>>>> h3c;login;h3clogin
>>>>>
>>>>> On Thu, Oct 24, 2019 at 8:11 AM Ugo Bellavance <ugob@lubik.ca> wrote:
>>>>>
>>>>>> I don't know if that helps, but I'm running rancid with a 5120, but
>>>>>> I'm using h3crancid, because I use an old version of rancid.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> On Thu, Oct 24, 2019 at 8:07 AM henri hemery <henri.hemery@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>> Have you read this
>>>>>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid ?
>>>>>>>>
>>>>>>>> Yes, I dicovered cmwlogin from this page and I followed every step,
>>>>>>> but I think this module is not for every type of comware 7 devices
>>>>>>>
>>>>>>>
>>>>>>>> You may want to read this thread:
>>>>>>>> http://www.shrubbery.net/pipermail/rancid-discuss/2018-February/010065.html
>>>>>>>>
>>>>>>>
>>>>>>> Yes I read that thread, not so much to learn from..But I gonna try
>>>>>>> to get in touch with the person.
>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Oct 23, 2019 at 3:57 PM henri hemery <
>>>>>>>> henri.hemery@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I would like to know if some of you succeeded in backing UP HPE
>>>>>>>>> switches.
>>>>>>>>>
>>>>>>>>> I successfully backed up HP FF 7910, HP 2530, but no way to back
>>>>>>>>> up HPE 5130 and HP 5120.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> If I type this command:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *[rancid@cardlswbkp1 bin]$ ./cmwlogin -c "display version"
>>>>>>>>> 10.1.170.1*
>>>>>>>>>
>>>>>>>>> *10.1.170.1*
>>>>>>>>>
>>>>>>>>> *spawn telnet 10.1.170.1*
>>>>>>>>>
>>>>>>>>> *Trying 10.1.170.1...*
>>>>>>>>>
>>>>>>>>> *Connected to 10.1.170.1.*
>>>>>>>>>
>>>>>>>>> *Escape character is '^]'.*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ********************************************************************************
>>>>>>>>>
>>>>>>>>> ** Copyright (c) 2010-2017 Hewlett Packard Enterprise Development
>>>>>>>>> LP **
>>>>>>>>>
>>>>>>>>> ** Without the owner's prior written
>>>>>>>>> consent, **
>>>>>>>>>
>>>>>>>>> ** no decompiling or reverse-engineering shall be
>>>>>>>>> allowed. **
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ********************************************************************************
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *login: [login]*
>>>>>>>>>
>>>>>>>>> *Password:*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>undo smart*
>>>>>>>>>
>>>>>>>>> * ^*
>>>>>>>>>
>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>undo interactive*
>>>>>>>>>
>>>>>>>>> * ^*
>>>>>>>>>
>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>undo terminal monitor*
>>>>>>>>>
>>>>>>>>> *The current terminal is disabled to display logs.*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>terminal length 0*
>>>>>>>>>
>>>>>>>>> * ^*
>>>>>>>>>
>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>terminal width 132*
>>>>>>>>>
>>>>>>>>> * ^*
>>>>>>>>>
>>>>>>>>> *% Unrecognized command found at '^' position.*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>display version*
>>>>>>>>>
>>>>>>>>> *HPE Comware Software, Version 7.1.070, Release 3208P03*
>>>>>>>>>
>>>>>>>>> *Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP*
>>>>>>>>>
>>>>>>>>> *HPE 5130 24G PoE+ 4SFP+ EI Switch uptime is 10 weeks, 4 days, 6
>>>>>>>>> hours, 28 minutes*
>>>>>>>>>
>>>>>>>>> *Last reboot reason : Cold reboot*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *####suppressed output###*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *Boot image: flash:/5130ei-cmw710-boot-r3208p03.bin*
>>>>>>>>>
>>>>>>>>> *Boot image version: 7.1.070, Release 3208P03*
>>>>>>>>>
>>>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>>>
>>>>>>>>> *System image: flash:/5130ei-cmw710-system-r3208p03.bin*
>>>>>>>>>
>>>>>>>>> *System image version: 7.1.070, Release 3208P03*
>>>>>>>>>
>>>>>>>>> * Compiled Dec 14 2017 18:00:00*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *<MGMSW1>exit*
>>>>>>>>>
>>>>>>>>> *Connection closed by foreign host.*
>>>>>>>>>
>>>>>>>>> *[rancid@cardlswbkp1 bin]$*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> It work. But when I launch rancid-run, I never receive the output.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> When I type: ./cmwlogin -dl 10.1.170.1, the output is stocked here:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *expect: does "" (spawn_id exp6) match regular expression
>>>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>>
>>>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>>>> gate=yes re=no*
>>>>>>>>>
>>>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>>
>>>>>>>>> *<MGMSW1>*
>>>>>>>>>
>>>>>>>>> *expect: does "<MGMSW1>" (spawn_id exp6) match regular expression
>>>>>>>>> "[\r\n]+"? (No Gate, RE only) gate=yes re=no*
>>>>>>>>>
>>>>>>>>> *"^(.+[:.])1 ((>\u0007?|#| \(enable\)))"? (No Gate, RE only)
>>>>>>>>> gate=yes re=no*
>>>>>>>>>
>>>>>>>>> *"^.+(>\u0007?|#| \(enable\))"? (No Gate, RE only) gate=yes re=yes*
>>>>>>>>>
>>>>>>>>> *expect: set expect_out(0,string) "<MGMSW1>"*
>>>>>>>>>
>>>>>>>>> *expect: set expect_out(1,string) ">"*
>>>>>>>>>
>>>>>>>>> *expect: set expect_out(spawn_id) "exp6"*
>>>>>>>>>
>>>>>>>>> *expect: set expect_out(buffer) "<MGMSW1>"*
>>>>>>>>>
>>>>>>>>> *tty_raw_noecho: was raw = 0 echo = 1*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Anybody can help?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Rancid-discuss mailing list
>>>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>>>> _______________________________________________
>>>>>>>> Rancid-discuss mailing list
>>>>>>>> Rancid-discuss@shrubbery.net
>>>>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Ugo Bellavance (ugob@lubik.ca)
>>>>
>>>
>>
>> --
>> Ugo Bellavance (ugob@lubik.ca)
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss@shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>
Re: Fwd: Rancid - cmwlogin - HPE switches [ In reply to ]
Fri, Oct 25, 2019 at 02:27:52PM +0200, Kevin Olbrich:
> Hi Henri,
>
> ok, old releases are a no-go for me, as I have HP devices with recent FW
> that would loop (find diff on every refresh) as HP introduced a timestamp
> for some commands.
> I would like to see CMW work in 3.9+ but I was unable to get this working
> on my own (I have no perl skills and don't plan to extend them).

Assuming code quality, old scripts ought to work to with rancid 3.9/3.10.
See the FAQ S4 Q1. The shebang of the script may need to be updated for
your environment.

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