DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
140
When the link partner is Gigabit Ethernet ports:
• Where the link partner is powered on with no errors and the link is up, this command
can detect the cable length
• Where the link partner is powered on with errors, this command can detect whether the
error is open, short, or crosstalk. In this case this command can also detect the distance of
the error
• Where the link partner is powered down with no errors and the link is down, this
command cannot detect the cable length
• When the link partner is powered down with errors, this command can detect whether
the error is open, short, or crosstalk. In this case this command can also detect the
distance of the error
• When there is no link partner with no errors and the link is up, this command can
detect the cable length
• When there is no link partner with errors, this command can detect whether the error is
open, short, or crosstalk. In this case this command can also detect the distance of the
error
NOTE: This test is only for copper cable. The fiber port is not tested. For the combo ports, only the
copper media will be tested. The cable diagnosis does not support on the Pair 1 and 4 if
the link partner is FE port. If the link partner is FE port, the target port's link will be down
after the test.
Format
cable_diag ports [<portlist> | all]
Parameters
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
Test the cable on port 1, 11, and 12:
DGS-3000-26TC:admin#cable_diag ports 1,11-12
Command: cable_diag ports 1,11-12
Perform Cable Diagnostics ...
Port Type Link Status Test Result Cable Length (M)
------ ---------- ------------- ------------------------- -----------------
1 100BASE-T Link Up OK 4
11 100BASE-T Link Down No Cable -
12 100BASE-T Link Down No Cable -