cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10921
Views
0
Helpful
8
Replies

shut down not used user interfaces

hi.sadiki
Level 1
Level 1

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
8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

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

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Good point Julio about adding a dummy vlan :-)

Thanks!

Reza

You are welcome Reza  

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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...

hi.sadiki
Level 1
Level 1

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,

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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.