03-15-2017 09:17 AM - edited 03-08-2019 09:45 AM
Hello guys,
Your help will be very apreciated on this case.
I am asked to shutdown unused interfaces, exemple bilow :
Is there any way to shutdown intefaces when last input go above an amout of time ?
Thanks
GigabitEthernet1/1 is down, line protocol is down (notconnect) Last input 6w6d, output 6w6d, output hang never
03-15-2017 12:37 PM
Hi,
To shut down unused ports, you can use the software which tells you how long the ports have not been used/connect to any device. Than determine how long you want to wait (say 15 or 30 days) before admin down unused ports.
http://www.switchportmapper.com/
HTH
03-15-2017 01:14 PM
Hi
Just adding to Reza's comment, once the port is shutdown you should associate it to an unused VLAN. It is a good practice to protect the bridged networks.
For example you could create a specific VLAN for that role
vlan 998
name UNUSED-PORTS
Interface g1/1
switchport access vlan 998
shutdown
:-)
03-15-2017 01:47 PM
Good point Julio about adding a dummy vlan :-)
Thanks!
Reza
03-15-2017 01:58 PM
You are welcome Reza
:-)
03-15-2017 03:11 PM
Hello,
in addition to the other posts, I am thinking of an EEM/TCL script that matches the 'Last input' and takes cli action based on that. I'll see what I can come up with...
03-16-2017 02:21 AM
Hello guys,
Reza, julio, thanks for you answers. But I am not allowed to invest any money on a new software, nether bring a new software into the company perimeter.
I 'am obliged to work with what cisco provides i am afraid
Georg, thanks, your solutions seems more feasable. I've never worked on EEM.
any idea ?
Thanks again guys,
03-16-2017 06:00 AM
Hi
This link could be useful to shutdown unused ports with a script:
https://supportforums.cisco.com/discussion/11810946/eem-and-tcl-script-disable-inactive-ports#3928892
Hope it is useful
:-)
03-16-2017 03:21 PM
Hello,
I am working on a script that checks for last input and output, and based on that data, sends a syslog message, which in turn triggers a 'shut' for the specific interface(s).
It will take a while, I need to do some testing first.
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