Developer

 View Only
last person joined: 9 days ago 

Expand all | Collapse all

Central API - AOS10 - Disable SSID on single AP

This thread has been viewed 30 times
  • 1.  Central API - AOS10 - Disable SSID on single AP

    Posted Jan 19, 2023 02:15 PM
    Hi all,

    I am looking for a way to disable a single SSID on a single AP via the API.

    I was looking through the AP configuration endpoints but all I could find is how to disable the whole band.
    https://developer.arubanetworks.com/aruba-central/reference/apiap_settingsupdate_ap_settings_v2

    On the UI this is possible by editing the AP and then going to WLANs

    Does anyone know the API endpoint where I can configure that?

    ------------------------------
    Thanks,
    Bjarne
    ------------------------------


  • 2.  RE: Central API - AOS10 - Disable SSID on single AP

    MVP GURU
    Posted Jan 20, 2023 08:24 AM
    Hi,

    Do you have look Zone ? it is a better way for make this...

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCL: Powershell Module to use Aruba Central

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 3.  RE: Central API - AOS10 - Disable SSID on single AP

    Posted Jan 20, 2023 08:49 AM
    As far as I know there are no Zones in AOS10 anymore.
    I can not find a way to configure them at least.

    ------------------------------
    Thanks,
    Bjarne
    ------------------------------



  • 4.  RE: Central API - AOS10 - Disable SSID on single AP

    EMPLOYEE
    Posted Jan 20, 2023 08:56 AM
    Hi all,

    AP Zones are not available on AOS10. Let me get back to this, I will investigate.

    Cheers



  • 5.  RE: Central API - AOS10 - Disable SSID on single AP

    EMPLOYEE
    Posted Jan 23, 2023 03:46 AM

    You can use APIs to get this done - You can use the AP Zone functionality from 8.x to specify which SSIDs are mapped to an 10.x AP.




  • 6.  RE: Central API - AOS10 - Disable SSID on single AP

    Posted Jan 24, 2023 03:32 AM
    Thank you, I tried this and it works. 

    It works like this: When an AP has every SSID enabled is has the parameter "zonename": "_#ALL#_"
    To only enable some SSIDs "zonename" needs to contain a string of comma-seperated SSID names. For example: "zonename": "WiFi01,Guest01"

    You can read and set this by calling
    /configuration/v2/ap_settings/{serial}

    I noticed that you need to send all parameters in the body when using this API endpoint. So you need to call GET to get all current parameters, then you can change "zonename" to the value you need and write it by sending POST



    ------------------------------
    Thanks,
    Bjarne
    ------------------------------