xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
298
35
CABLE DIAGNOSTICS COMMANDS
The Cable Diagnostics commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
cable_diag ports [<portlist> | all]
Each command is listed, in detail, in the following sections.
cable_diag ports
Purpose
Used to test the copper cable. If there is an error on the cable, it can
determine the type of error and the position where the error occurred.
Syntax
cable_diag ports [<portlist> | all]
Description
For FE port, two pairs of cable will be diagnosed. The type of cable error
can be open and short. Open means that the cable in the error pair does
not have a connection at the specified position. Short means that the
cables in the error pair has a short problem at the specified position.
When a port is in link-up status, the test will obtain the distance of the
cable. Since the status is link-up, the cable will not have the short or
open problem. When a port is in link-down status, the link-down may be
caused by many factors. When the port has a normal cable connection,
but the remote partner is powered off, the cable diagnostics feature can
still diagnose the health of the cable as if the remote partner is powered
on.
When the port does not have any cable connection, the result of the test
will indicate no cable. The test will detect the type of error and the
position where the error occurs. Note that this test will consume a low
number of packets. Since this test is for copper cables, ports with fiber
cables will be skipped from the test.
Note: If the Link Status field for an interface displays
"Link Up", the value displayed in the Cable Length
field may not be accurate for the interface.
Parameters
<portlist> − Specifies a range of ports to be tested.
all − All ports
Restrictions
None.
Example usage:
To test the cable on ports 25 to 28: