Developer

 View Only
  • 1.  Read Aruba AOS-S switch modules, S/N, etc.

    Posted Jul 29, 2025 01:38 AM
    Edited by gst Jul 29, 2025 02:04 AM

    Hello community,

    I'm trying to find an automated way to gather Switch informations incl. modules (i.e. stacking-module). 

    On 2930M with WC.16.11.0025 I've managed to get almost everything with SNMP or REST API

    but no power supply S/N (SSH command "sh system power-supply"). Does anyone know the OID or URI

    which could provide missing infos? Also the documentation of REST API for AOS-S is very hard to find,

    any idea where can I find complete set of URI? I think Aruba MC in wireless got a special URL which

    provided all possible URI and methods...?

    In Aruba REST API Guide for ArubaOS-Switch 16.05 I've found most of used URI

    but I'm not sure if this list contains all available URI?

    Best Regards,

    Greg

    ------------------------------
    gst
    ------------------------------



  • 2.  RE: Read Aruba AOS-S switch modules, S/N, etc.
    Best Answer

    Posted Jul 29, 2025 10:54 AM

    The guide should be all that's documented. You may have a look at API Guide for version for 16.11.

    One other approach is AnyCLI, which allows any CLI command to be ran via the REST API.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 3.  RE: Read Aruba AOS-S switch modules, S/N, etc.

    Posted Jul 30, 2025 01:59 AM

    Hello Herman,

    Thank you for AnyCLI Video - as long as I get the REST Response as a string, I can parse it using awk to get only the info which I need for power supplies (member no., slot and S/N)

    Best Regards,

    Greg



    ------------------------------
    gst
    ------------------------------