D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
305
41
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 diagnosis 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 cable, the port with fiber
cable will be skipped from the test. Some phy chips can’t support Cable
Diagnostic function, and it will display at the result.
Parameters
portlist - Specifies a range of ports to be tested.
all - All ports
Restrictions Only Administrator or Operator – level users can issue this command.
Example usage:
To test the cable on specific ports:
DES-3526:admin#cable_diag ports 1-3,10
Command: cable_diag ports 1-3,10
Perform Cable Diagnostics ...
Port Type Link Status Test Result Cable Length(M)
------------------------------------------------------------------
1 FE Link up OK 65
2 FE Link down NO Cable
3 FE Link down Pair 1 Open at 20M
Pair 2 Open at 10M
10 FE Link down NO Cable
DES-3526:admin#