01-02-2019 11:56 AM - edited 03-08-2019 04:55 PM
Hey! So currently part my tasks at my job is to shutdown ports on switches on my network that have been down for 15 days. My team gets a spreadsheet once a week that lists of ports that have been down for 15 days and lists their Switchname, Port, Port downtime, and Description.
I then log into each one and manually shut down each ports and change the description to Available.... I have to assume there has to be a way to automate this right?? Seems way too manual.
Is there a way to configure switches to automatically shut the port after a certain amount of down time? Or a way I could use the spreadsheet info I currently get and run a script against that?
If anyone has any ideas or just point me in the direction I might be able to figure this out on my own with a little research, I'm all ears! Thanks in advance! Would be a HUGE help.
01-02-2019 01:16 PM
Hello,
an EEM or TCL script that scans the interfaces and then shuts the ports should work. Which parameter on the interface do you currently use to determine that the interface has been down for 15 days ?
01-02-2019 01:40 PM
01-02-2019 06:14 PM
You can use switchmap to collect all information like; how long a port has been down, mac address, IP address, name, vlan, etc..
You can then use what Paul suggested to shut the unused ports.
https://sourceforge.net/projects/switchmap/
HTH
01-02-2019 07:22 PM
Hi mweaver84,
This may help you, it is about using TCL script.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide