Use the cable diagnostic feature to test cables in the event where there might be a bad copper cable.
NOTE This feature is only available on non-SFP copper ports.
(switch#) Enter diagnostics to open the diagnostics menu:
diagnostics
(switch#) The diagnostics command set is now available for use, and the cable-diagnostics command can be executed:
diag cable-diagnostic <IFACE>
(switch#)
diagnostics <CR>
Example output (truncated for brevity):
diag ?
asic ASIC diagnostics
audit-failure-notification Configure audit failure notification
bgp IP information
cable-diagnostic Cable diagnostic test
(switch#)
diag cable-diagnostic ?
Example output:
IFNAME