Cable Diagnostics

Syntax


test cable-diagnostics <PORT-LIST>

Description

Use the command to test for cable faults.

Option

PORT-LIST

Specify copper port as a input port number.

Test cable-diagnostics C21

test cable-diagnostics C21

The 'test cable-diagnostics' command will cause a loss of link and will take a few seconds per interface to complete.
Continue [Y/N]? y

MDI         Cable    Distance    Pair   Pair        MDI
Port Pair   Status   to Fault    Skew   Polarity    Mode
---------   ------   --------    -----   ------   ------
C21 1-2       Open       0 m      0 ns
    3-6       Open       0 m      0 ns
    4-5       Open       0 m      0 ns
    7-8       Open       1 m      0 ns

Test cable-diagnostics 1/1-1/10

switch# test cable-diagnostics 1/1-1/10

This command will cause a loss of link on all tested ports and will take
several seconds per port to complete.  Use the ‘show cable-diagnostics’ command to view
 the results.

Continue (y/n)? Y

switch# show cable-diagnostics 1/1-1/10

Cable Diagnostic Status - Copper Ports

       MDI    Cable       Cable Length or
  Port Pair   Status      Distance to Fault
  ---- ------ ----------- ---------------------
  1/1  1-2    OK          5m
       3-6    OK          5m
       4-5    OK          7m
       7-8    OK          7m
  1/2  1-2    OK          7m
       3-6    OK          7m
       4-5    OK          7m
       7-8    OK          7m
  1/3  1-2    OK          5m
       3-6    OK          7m
       4-5    OK          5m
       7-8    OK          7m
  1/4  1-2    OK          7m
       3-6    OK          7m
       4-5    OK          7m
       7-8    OK          5m
  1/5  1-2    OK          4m
       3-6    OK          5m
       4-5    OK          5m
       7-8    OK          4m
  1/6  1-2    OK          4m
       3-6    OK          4m
       4-5    OK          4m
       7-8    OK          4m
  1/7  1-2    OK          5m
       3-6    OK          4m
       4-5    OK          5m
       7-8    OK          4m
  1/8  1-2    OK          4m
       3-6    OK          5m
       4-5    OK          4m
       7-8    OK          4m
  1/9  1-2    OK          5m
       3-6    OK          5m
       4-5    OK          5m
       7-8    OK          5m
  1/10 1-2    OK          7m
       3-6    OK          5m
       4-5    OK          5m
       7-8    OK          5m

Good cable tests

switch# test cable-diagnostics 51

This command will cause a loss of link on all tested ports and will take
several seconds per port to complete.  Use the 'show cable-diagnostics'
command to view the results.

Continue (y/n)? Y

switch# show cable-diagnostics 51

Cable Diagnostic Status - Transceiver Ports

         MDI    Cable       Distance   Pair    Pair       MDI
  Port   Pair   Status      to Fault   Skew    Polarity   Mode
  ---- ------   ---------   --------   -----   -------   -----
  51     1-2      OK           0 m      8 ns   Normal     MDI
         3-6      OK           0 m      8 ns   Normal
         4-5      OK           0 m      8 ns   Normal     MDIX
         7-8      OK           0 m      0 ns   Normal


switch# test cable-diagnostics 52

This command will cause a loss of link on all tested ports and will take
several seconds per port to complete.  Use the 'show cable-diagnostics'
command to view the results.

Continue (y/n)?  Y

switch# show cable-diagnostics 52

Cable Diagnostic Status - Transceiver Ports

         MDI    Cable       Distance   Pair    Pair       MDI
  Port   Pair   Status      to Fault   Skew    Polarity   Mode
  ---- ------   ---------   --------   -----   -------   -----
  52    1-2       OK          0 m       0 ns   Normal     MDI
        3-6       OK          0 m       0 ns   Normal
        4-5       OK          0 m       0 ns   Normal     MDIX
        7-8       OK          0 m       0 ns   Normal

Faulty cable test

switch# test cable-diagnostics 51
This command will cause a loss of link on all tested ports and will take
several seconds per port to complete.  Use the 'show cable-diagnostics'
command to view the results.

Continue (y/n)?  y
switch# show cable-diagnostics 51

Cable Diagnostic Status - Transceiver Ports

       MDI    Cable       Distance   Pair   Pair       MDI
  Port Pair   Status      to Fault   Skew   Polarity   Mode
  ---- ------ ----------- ---------- ------ ---------- ------
  51    1-2    OK          0 m        0 ns
        3-6    Short       1 m        0 ns
        4-5    Short       1 m        0 ns
        7-8    OK          0 m        0 ns


switch# test cable-diagnostics 52

This command will cause a loss of link on all tested ports and will take
several seconds per port to complete.  Use the 'show cable-diagnostics'
command to view the results.

Continue (y/n)?  Y

switch# show cable-diagnostics 52

Cable Diagnostic Status - Transceiver Ports

       MDI    Cable       Distance   Pair   Pair       MDI
  Port Pair   Status      to Fault   Skew   Polarity   Mode
  ---- ------ ----------- ---------- ------ ---------- ------
  52   1-2     Open        0 m        0 ns
       3-6     Open        0 m        0 ns
       4-5     Open        1 m        0 ns
       7-8     Open        0 m        0 ns

Error message

Error Message

Cause

The transceiver on port 1/A1 does not support cable diagnostics.

  • usage of invalid(fiber-SFP+) port

  • The selected range includes an entry for an invalid port.