if the port is associated with IP you can do show ip rib route in the FIB (the routing table) you can see the connected interfaces, but not how much time they were up,but with the rib table you can see the uptime as well, the connected interfaces w...