Hello Jakob,
I just had a quick look at the API, and I'm sorry, I don't think you can execute that command from the API, I'll have a closer look, but I don't think it's there. It lets you see the status of the port whether the switch is AOS-S or AOS-CX, but it doesn't let you execute the command to do a wiring test.


I don't see it in the generic command option either. I think it's a good idea, I'm going to ask internally if it could be added to the API.

Best Regards
------------------------------
Daniel Ruiz
-----------------------
Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support.
Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC.
------------------------------
Original Message:
Sent: Dec 17, 2024 04:51 AM
From: jakob.ehr
Subject: Cable Testing using Aruba Central
Is it possible to run the cable test command per API?
Original Message:
Sent: Nov 25, 2019 06:43 AM
From: edelossantos@hpe.com
Subject: Cable Testing using Aruba Central
We can run cli command to a switch to detect cable faults. If the switch is cloud managed in Aruba Central we can use the GUI to test the cable.
Test Details:
- Aruba Central - AUTO-ATH-2.4.9-687-P
- 2930F switch
- AP-515
My AP is connected to port 4 of 2930F with 4 meters cable. I will check if I have cable faults using Aruba Central.
1. Under Maintenance > Tools > Device Check . Run "Cable Test" to a selected switch.

2. Refresh the page to see the test results.

3. Or you can laso check the cable test result by issuing show cable-diagnostics. Maintenance > Tools > Adanced.

Based on the test result my cable is good and also it confirmed that it is 4 meters long. Very useful command to test layer 1.