Like many others I can see how to display ports that have no traffic flowing through them and go through and disable them but we have hundreds of cisco switches.
I like the idea of being able to see ports that have not seen activity in the last 6 weeks like I found here:
show int | i proto.*notconnect|proto.administratively down|Last in. [6-9]w|Last in.* [0-9][0-9]w|[0-9]y|disabled|Last input never, output never, output hang never
but I have not been able to make this work.
sh int count | i 0 + 0 + 0 works quiet well for identifying the ports.
Is there a way to maybe use like port security or anything to turn ports off that have not see traffic for 90 days?