Cable Diagnostics

The run diagnostics cable ports command enables cable diagnostics on copper ports using Time Domain Reflectometry (TDR) technology embedded in the PHY chips. This diagnostic tool helps identify physical issues such as cable breaks, shorts, or interference on individual twisted pairs.

Note

Note

Running cable diagnostics may momentarily interfere with traffic on active ports.

Supported Ports

Cable diagnostics are supported only on copper ports. The command is not supported on:

Diagnostic Result States

StateMeaning
OkNo fault detected; pair is functioning normally.
OpenPair is not terminated or has a physical break. May be expected if unplugged.
ShortConductors are shorted together.
CrosstalkInterference detected between pairs; may indicate poor shielding or cable quality.
UnknownDiagnostic failed or result is inconclusive.
Note

Note

An Open state may be expected if the cable is not connected at the far end. If the cable is expected to be connected, this may indicate a fault.
Interpreting "Good" states:
  • Gigabit Ethernet (1000BASE-T): All four pairs should report Ok.
  • Fast Ethernet (100BASE-TX): Only pairs A and B are used; pairs C and D may show Open and still be valid.

Example

The following example runs diagnostics on port 14:

 # run diagnostics cable ports 14
Do you want to continue cable diagnostics? (y/N) Yes
cablediag: 1.1.0.14


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                             C A U T I O N                             +
+   cablediag will momentarily interfere with traffic on active ports   +
+-----------------------------------------------------------------------+
+   Ports: 14                                                           +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Collecting port cable diagnostic information may take a moment...
port 14: cable (4 pairs, length +/- 10 meters)
        pair A Ok, length 0 meters
        pair B Ok, length 0 meters
        pair C Ok, length 4 meters
        pair D Ok, length 4 meters
 

Example with Faults

The following example runs diagnostics on port 3, which returns faults:
port 3: cable (4 pairs, length +/- 10 meters)
pair A Ok, length 5 meters
pair B Open, length 7 meters
pair C Crosstalk, length 6 meters
pair D Ok, length 5 meters

Best Practices