NeDi Community

NeDi Software Specific => Discovery => Topic started by: Saguu on May 30, 2019, 10:19:38 am

Title: Disabling unused interface
Post by: Saguu 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
Title: Re: Disabling unused interface
Post by: rickli 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...
Title: Re: Disabling unused interface
Post by: Saguu 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 : (https://github.com/tnielsen2/cisco-port-shutdown)

Saguu