diag cable-diagnostic

Syntax

diag cable-diagnostic <IF-NAME>

Description

Runs a cable diagnostic test on an interface.

Command context

Manager (#)

Parameters

IF-NAME

Specifies the name of the interface.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Running a cable diagnostic test on interfaces:

switch# diag cable-diagnostic 1/1/1
This command will cause a loss of link on the port under test and will take
several seconds to complete.
Continue (y/n)? y

           MDI    Cable       Distance   MDI
Interface  Pair   Status      to Fault   Mode
                              (Meters)
----------------------------------------------
1/1/1      1-2     good       5          mdi
           3-6     good       5          mdi
           4-5     good       5          mdi
           7-8     open       3

switch# diag cable-diagnostic 1/1/2
This command will cause a loss of link on the port under test and will take
several seconds to complete.
Continue (y/n)? y

           MDI    Cable       Distance   MDI
Interface  Pair   Status      to Fault   Mode
                              (Meters)
----------------------------------------------
1/1/2      1-2     good       5          mdix
           3-6     good       5          mdix
           4-5     short      1
           7-8     good       5          mdix
NOTE:
  • Running a cable diagnostic test will result in a brief interruption in connectivity on all tested ports.
  • If a good cable is used on the SmartRate ports, the Distance to Fault (Meters) value is 0.