Developer

 View Only
last person joined: 7 days ago 

Expand all | Collapse all

Central API - System Settings for AP Group

This thread has been viewed 23 times
  • 1.  Central API - System Settings for AP Group

    Posted Mar 07, 2023 06:01 AM

    Hi,

    when migrating the IAP firmware from 8.7.x.x to 8.10.x.x, the config sync will stop working if the netmask, gateway and vlan are configured for the VC though not necessary (if it does not differ to the APs settings).

    We had a lot of trouble with a few groups because of this and therefore I'd like to identify all groups that have such a setting and resolve it.

    Since it is quite tedious to do this for like 50 groups, I'd like to do this through the API.

    Unfortunately, I did not find any command outputting these settings.

    The closest I could find was /configuration/v1/system_config, but it does not contain these values.

    Is there any way to

    1. Get the system settings for an IAP group (netmask, gateway, vlan id in particular)?
    2. Modify them?

    Best Regards



  • 2.  RE: Central API - System Settings for AP Group

    MVP GURU
    Posted Mar 21, 2023 05:48 PM

    Do you have found ?

    I think it is not a group setting by an access point setting



    ------------------------------
    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 - System Settings for AP Group

    Posted Apr 11, 2023 04:53 AM

    Hi,
    no, I haven't found it.

    In Central it is a group setting and this makes sense, since the VC is automatically elected.
    There is an AP setting as well, but that separation is part of the issue. 

    Best Regards
    Christian




  • 4.  RE: Central API - System Settings for AP Group

    Posted Mar 24, 2023 05:32 AM

    Hi,

    the VC IP has no netmask if I remember correctly. I believe it uses the AP netmask.

    I have no AOS8 clusters to test this, but maybe this works:

    https://developer.arubanetworks.com/aruba-central/reference/apiswarm_configupdate_swarm_config_v2

    For getting and setting single AP settings you can use this:

    https://developer.arubanetworks.com/aruba-central/reference/apiap_settingsget_ap_settings_v2

    https://developer.arubanetworks.com/aruba-central/reference/apiap_settingsupdate_ap_settings_v2



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



  • 5.  RE: Central API - System Settings for AP Group

    Posted Apr 11, 2023 04:50 AM

    Hi Bjarne,

    it only uses the APs settings in case none for the VC are provided.
    The links you provided do not even contain netmask or vlan settings

    You can see the setting by running "show summary".

    Best Regards
    Christian