Can't find what you need?


• Ask the Community
• Create a Case
Reset Search
 

 

Article

Use cablediag.py to test a Base-T copper ethernet cable for distance and twisted pair connections.

« Go Back

Information

 
TitleUse cablediag.py to test a Base-T copper ethernet cable for distance and twisted pair connections.
Objective
Use cablediags to test a copper Base-T cable for distance, and test each twisted pair for connectivity.
Environment
  • EXOS 21.1.2.14 +
  • Cable issues
  • Link flaps
Procedure
Use the command "load script cablediag.py -h" to see the menu options you can use.
 
Switch# load script cablediag.py -h
usage: cablediag [-h] [-s SLOT [SLOT ...]] [-p PORT [PORT ...]] [-d]

optional arguments:
  -h, --help            show this help message and exit
  -s SLOT [SLOT ...], --slot SLOT [SLOT ...]
                        Stacking slot number, e.g. 1,2 or 1-5
  -p PORT [PORT ...], --port PORT [PORT ...]
                        Selected port number, e.g. 3,4,5 or 3-5
  -d, --debug           Enable debug


Run the command "load script cablediag.py -p <port#>".  This command doesn't accept a port in 1:1 format.  If you need to run cablediags on slot 1 port 1 use the command shown below.

Note: Running cablediags will cause the port to go down and back up and will affect traffic on that port.
 
Slot-1 Switch#load script cablediag.py -s 1 -p 1
cablediag: 1.0.0.1

Collecting port cable diagnostic information may take a moment...

Slot 1
port 1: cable (4 pairs, length +/- 10 meters)
        pair A Ok, length 0 meters
        pair B Ok, length 0 meters
        pair C Ok, length 0 meters
        pair D Ok, length 0 meters

 
Additional notes
The clocks on the Summit switches are not accurate enough to get a precise distance to the distance can be +/- 10 Meters.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255