Education - Australia / New Zealand

 View Only
  • 1.  Cable Testing using Aruba Central

    Posted Nov 25, 2019 06:43 AM

    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.

    cabletest1.JPG

    2. Refresh the page to see the test results.

    cabletest3.JPG

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

     

    cabletest2JPG.JPG

    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. 



  • 2.  RE: Cable Testing using Aruba Central

    Posted Nov 25, 2019 05:46 PM

    will this work for all switches/AP's supported by central?



  • 3.  RE: Cable Testing using Aruba Central

    Posted Nov 25, 2019 07:09 PM

    2930F, 2930M, 3810M, 5400R v3 modules supported it.



  • 4.  RE: Cable Testing using Aruba Central

    Posted Dec 17, 2024 03:09 PM

    Is it possible to run the cable test command per API?




  • 5.  RE: Cable Testing using Aruba Central

    Posted Dec 17, 2024 09:57 PM

    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.
    ------------------------------



  • 6.  RE: Cable Testing using Aruba Central

    Posted Dec 23, 2024 12:25 AM

    Hi Jakob, 

    There is provision for 'Cable Test' and within the Troubleshooting branch of the API.  This looks to be only for AOS-S Switches (no cable test t/shooting command for AOS-CX).

    The troubleshooting branch of the API has provision for running many operational commands through the Aruba Central API - however it does require some time investment of scripting multiple requests together to make it useful.

    For example, in order to run a cable test and then return the data, the script would need to have the following functions:

    1. Request the switch to run the cable test on a specific port and collect the 'troubleshooting ID' (troubleshooting command_id 1205)
    2. Clear the troubleshooting log
    3. Collect the cable test result from the switch and collect 'troubleshooting ID' (troubleshooting command_id 1005)
    4. Get troubleshooting output
    5. Clear the troubleshooting log (make ready for next opertional command sequence)

    I used a similar process to script batch IAP speed test commands  (https://github.com/rhysbaileyAU/aruba_central_troubsleshooting).  I always intended to extend the functionality, but never found the time.  

    - Rhys