Welcome, Guest. Please login or register.

Author Topic: Config backup unsupported  (Read 1477 times)

starrag

  • Newbie
  • *
  • Posts: 2
    • View Profile
Config backup unsupported
« on: August 27, 2015, 08:35:55 AM »
Hi,
after update to 1.5 i am getting this message. On Version 1.4 it was working, but the switch backup just had about 400 lines. (real about 800)
I am using extreme network switches. Is there a way to fix that?

Best Regards
Markus

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2545
    • View Profile
    • NeDi
Re: Config backup unsupported
« Reply #1 on: August 27, 2015, 07:31:40 PM »
I'll try to reproduce in my lab, tx for the info.
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2545
    • View Profile
    • NeDi
Re: Config backup unsupported
« Reply #2 on: August 30, 2015, 03:45:09 PM »
Ok, got it. Extreme is using # in configs as well as prompt. For some reason the telnet library matches random parts of the config as prompts. Ironically this problem surfaces now, that I've changed my code for petter support for those like ProCurve, which throw out lots of escape sequences...

Getting the CLI right, is rather cumbersome...will be fixed in Patch1.
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

starrag

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Config backup unsupported
« Reply #3 on: August 31, 2015, 10:56:08 AM »
Hi,

can i please have the changed codelines. I will test it on all my extreme network switches and give you a feedback.

Thx and best Regards
Markus

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2545
    • View Profile
    • NeDi
Re: Config backup unsupported
« Reply #4 on: September 03, 2015, 10:22:54 PM »
Sure...

 388 $cmd{'XOS'}{'ropr'} = '[\w.-]+\s>\s?$';
 389 $cmd{'XOS'}{'enpr'} = '[\w.-]+\s#\s?$';
 390 $cmd{'XOS'}{'enab'} = 'enable';
 391 $cmd{'XOS'}{'shcf'} = 'show configuration';
 392 $cmd{'XOS'}{'cfst'} = '^#';
 393 $cmd{'XOS'}{'page'} = 'disable clipaging';
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo