24
372
24.3
show cable-diagnostics cable-length
Use the show cable-diagnostics cable-length EXEC mode command to display
the estimated copper cable length attached to all ports or to a specific port.
Syntax
show cable-diagnostics cable-length
Parameters
•
interface-id—Specify an Ethernet port ID.
•
detailed—Displays information for non-present ports in addition to present
ports.
Default Configuration
All ports are displayed. If detailed is not used, only present ports are displayed.
Command Mode
EXEC mode
User Guidelines
The port must be active and working at 100 M or 1000 M.
Example
The following example displays the estimated copper cable length attached to all
ports.
show cable-diagnostics cable-length
switchxxxxxx#
Port
Length [meters]
----
-----------------
< 50
gi
1
2
Copper not active
gi
110-140
gi
3
4
Fiber
gi
PHY Diagnostics Commands
[interface interface-id | detailed
78-21075-01 Command Line Interface Reference Guide
]