Configuring Maintenance Diagnosing the Device
Configuration Guide  
  685
Error If the connection status is short, close or crosstalk, here displays the length from 
the port to the trouble spot. The value makes sense only when the cable is longer 
than 30m.
4.2  Using the CLI
On privileged EXEC mode or any other configuration mode, you can use the following 
command to check the connection status of the cable that is connected to the switch.
show cable-diagnostics interface gigabitEthernet
 port
View the cable diagnostics of the connected Ethernet Port.
port
: Enter the port number in 1/0/1 format to check the result of the cable test.
show cable-diagnostics careful interface gigabitEthernet
 port
View the cable diagnostics of the connected Ethernet Port. When taking the careful cable test, the switch 
will only test the cable for the port which is in the link-down status.
port
: Enter the port number in 1/0/1 format to check the result of the cable test.
The following example shows how to check the cable diagnostics of port 1/0/2:
Switch#show cable-diagnostics interface gigabitEhternet 1/0/2
Port            Pair        Status         Length           Error
Gi1/0/2    Pair-A    Normal       2 (+/- 10m)    ---
                   Pair-B     Normal       2 (+/- 10m)    ---
                   Pair-C     Normal       0 (+/- 10m)    ---
                   Pair-D     Normal       2 (+/- 10m)    ---