Is there a command or script to do a port audit on a switch?
age time of how a port has been down or up
You can do this with UDT (if you have it). Or you can do this with NPM provided you are monitoring all the ports in the switch. You then create a report that shows all unplugged or down interfaces and specifies how may hours they've each been down for.