Shut down ports not in use for a specified time frame. sl_suspend_ports.tcl script is not working.
I am trying to use the scripts sl_suspend_ports.tcl and tm_suspend_ports.tcl as attached. I have taken these scripts from this Cisco forum. However tm_suspend_ports.tcl script is working absolutely fine. But it seems sl_suspend_ports.tcl ssripts is not working, it is not removing the up ports from suspend_ports. I have tested the below scenario, I am seeing that sl_suspend_ports.tcl is not working. Please find the scenario below.
I am running the scripts in an 8 port Cisco 3560 switch. I made not shut all the ports. As of now all the ports are enabled,, but not connected with any devices. I confiured the suspend_ports_days as 2.
Script ran at 00:00 time, stored all the inactive ports in suspend-port
Script ran agian at 00:00 , again stored all the inactive ports in suspend_port.
Note:- I enabled fast ethernet 0/6 switch port after ran this script, after then made this port down. One syslog has been auto logged for this by saying that this port was enabeld and down.
Script ran again at 00:00 time, it disabled all the port.
Ideally it should not be disable the port Fast ethernet0/6 as I enabeld the port on the first day after ran the script. I think sl_suspend_ports script is not working, as per my understanding this script should monitor the syslog port up message and remove this interface from suspend_port file. I attached both of the script below. Kindly let me know how to achieve this syslog up message tracking.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...