Welcome, Guest. Please login or register.

Author Topic: Disabling unused interface  (Read 274 times)

Saguu

  • Newbie
  • *
  • Posts: 14
    • View Profile
Disabling unused interface
« on: May 30, 2019, 10:19:38 AM »
Hello,
NeDi is able to find interfaces not used for 30 days by switches. Is it also possible to massively disable all unused interfaces of all switches? Or can you run a TCL script from NeDi?

Thank you for your help

Saguu

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2701
    • View Profile
    • NeDi
Re: Disabling unused interface
« Reply #1 on: June 03, 2019, 04:32:08 PM »
It's not possible out of the box yet. If you know PHP, you could add some customizations in iftools.php and devtools.php to prepare config statements and send them to Devices-Write...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

Saguu

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Disabling unused interface
« Reply #2 on: August 26, 2019, 08:48:30 PM »
Hello,

I tried to do it via PHP but unfortunately I'm really not good in PHP.
Instead, I use python and netmiko.

Saguu