Starting with EXOS 21.1.2, the cablediag application is bundled in with EXOS.
Known issues:
- Disruptive test: momentarily interrupts data on a link
- Disrupts stacking if run on alternative stack link ports
#
run 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
E.g.
#
run script cablediag.py -p 2
cablediag: 1.0.0.1
Collecting port cable diagnostic information may take a moment...
port 2: 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
E.g.
#
run script cablediag.py
cablediag: 1.0.0.1
Collecting port cable diagnostic information may take a moment...
port 1: cable (4 pairs, length +/- 10 meters)
pair A Open, length 0 meters
pair B Open, length 0 meters
pair C Open, length 0 meters
pair D Open, length 0 meters
port 2: 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
port 3: cable (4 pairs, length +/- 10 meters)
pair A Open, length 0 meters
pair B Open, length 0 meters
pair C Open, length 0 meters
pair D Open, length 0 meters
...
port 23: cable (4 pairs, length +/- 10 meters)
pair A Open, length 0 meters
pair B Open, length 0 meters
pair C Open, length 0 meters
pair D Open, length 0 meters
port 24: cable (4 pairs, length +/- 10 meters)
pair A Open, length 0 meters
pair B Open, length 0 meters
pair C Open, length 0 meters
pair D Open, length 0 meters
CABLEdiag: ERROR: port 25: Feature unavailable
CABLEdiag: ERROR: port 26: Feature unavailable
CABLEdiag: ERROR: port 27: Feature unavailable
CABLEdiag: ERROR: port 28: Feature unavailable
CABLEdiag: ERROR: port 29: Feature unavailable
CABLEdiag: ERROR: port 30: Feature unavailable
CABLEdiag: ERROR: port 31: Feature unavailable
CABLEdiag: ERROR: port 32: Feature unavailable
CABLEdiag: ERROR: port 33: Feature unavailable
CABLEdiag: ERROR: port 34: Feature unavailable