Welcome, Guest. Please login or register.

Author Topic: Backup Hirschmann cfg  (Read 1932 times)

msbs

  • Newbie
  • *
  • Posts: 13
    • View Profile
Backup Hirschmann cfg
« on: April 25, 2012, 01:09:03 PM »
Add to inc/libcli-iopty.pm:
Code: [Select]
# Hirschmann
$cmd{'Hirschmann'}{'ropr'} = '(.+?)>\s?$';
$cmd{'Hirschmann'}{'enpr'} = '(.+?)#\s?$';
$cmd{'Hirschmann'}{'enab'} = 'enable';
$cmd{'Hirschmann'}{'conf'} = 'show run';
$cmd{'Hirschmann'}{'strt'} = '!Current';

Add to html/ Other-Defgen.php:
Code: [Select]
<option value="">--------
<option value="Hirschmann"<?=($os == "Hirschmann")?" selected":""?>>Hirschmann

Edit nedi.conf
Code: [Select]
uselogin (User|username|login|Login\sName)\s?:\s?(\x1b\[[;\?0-9A-Za-z]+)*$

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2496
    • View Profile
    • NeDi
Re: Backup Hirschmann cfg
« Reply #1 on: April 25, 2012, 06:03:07 PM »
tx  :)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo