12-07-2016 06:07 AM - edited 02-21-2020 05:58 AM
I would like to enable a port, and if there is no activity for a 12 hour period on that port, i would like it to be disabled.
I have looked at aging port security, but that I don't see it. I want to stay away from sticky mac's, its too much overhead. Can anyone point me in the right direction, aging only clears mac addresses, whether its absolute or inactive. I want to disable the port, shut it down. Any insight is greatly appreciated
Solved! Go to Solution.
12-07-2016 10:47 AM
Hello Jon-
Yes, you can do this though EEM/TCL script. Here is a good link that walks you through the EEM feature:
http://www.cisco.com/en/US/docs/ios/12_4t/netmgmt/configuration/guide/t_eemt.html
Here is also another thread that a user had already done this before:
https://supportforums.cisco.com/discussion/12733086/eemtcl-disable-inactive-ports
I hope this helps!
Thank you for rating helpful posts!
12-07-2016 10:47 AM
Hello Jon-
Yes, you can do this though EEM/TCL script. Here is a good link that walks you through the EEM feature:
http://www.cisco.com/en/US/docs/ios/12_4t/netmgmt/configuration/guide/t_eemt.html
Here is also another thread that a user had already done this before:
https://supportforums.cisco.com/discussion/12733086/eemtcl-disable-inactive-ports
I hope this helps!
Thank you for rating helpful posts!
12-08-2016 03:55 AM
This looks good. unfortunately i have catalyst 2960 switches running on ios 12.2(55)SE5
This version of the ios supports eem, but only for the 3750 and 3560 switches, not the 2960 switches. i am going to try anyways. thank you very much...
so i didnt get very far. based on the link you sent describing tcl and emm, i should be able to run the command 'show event manager environment' but i cannot. event manager environment does not exist.
here, on the release notes for this ios is where i found that the 2960 does not support emm but the 3750 and 3560 does http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/release/notes/OL23054.html
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