Saturday, 2 May 2015

Command to show ports not used for 2+ weeks...

Command to show any ports on the switch not been used in over 2 weeks.
Helps in finding free switchports.

show int | i proto.*notconnect|proto.*administratively down|Last in.* [2-9]w|Last in.*[0-9][0-9]w|[0-9]y|disabled|Last input never, output never, output hang never