I am looking to find a command or counter to tell me if a cisco switch port on a 4510 was ever up and passed traffic. I want to shutdown all unused switchports on our access switches. But before I do that I need to make sure device is just not off or the person is away on vacation. If I do sh int interface, is there a counter I can reference.
"sh interface counters"
should show you if any traffic has passed through a port since the last reboot or since the counters were las cleared on that interface. (Which you can check with "sh interface")
In a previous employment we had to clear the counters across the switch fabric and then check them 3 months later, any ports that had shown no increase were closed.