Network Management

last person joined: yesterday 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

How to get the Sysoid of AP connected to Aruba 6000 WLC

This thread has been viewed 3 times
  • 1.  How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 01:29 AM

    Hi - 

     

    I am looking for a MIB to  query the Sysoid details of the AP connected to my Aruba 6000 WLC 

     

    Is there one available.

     

     

    (Aruba6000) #show ap database

    AP Database
    -----------
    Name Group AP Type IP Address Status Flags Switch IP Standby IP
    ---- ----- ------- ---------- ------ ----- --------- ----------
    00:0b:86:9c:0e:7d Wallplate 93H 10.10.10.213 Down 10.10.10.20 0.0.0.0
    18:64:72:cb:3a:ac default 225 192.168.5.204 Denied 192.168.5.95 0.0.0.0
    6c:f3:7f:c6:8a:9c default 225 10.10.10.180 Down 10.10.10.20 0.0.0.0
    6c:f3:7f:c6:8d:26 default 225 10.20.0.88 Down 2 10.20.0.20 0.0.0.0
    6c:f3:7f:cf:c7:72 default 275 10.10.10.52 Down 10.10.10.20 0.0.0.0
    9c:1c:12:c8:14:cc default 205 192.168.5.206 Down 2 192.168.5.95 0.0.0.0
    AP-105 default 105 10.10.10.221 Down 2 10.10.10.12 0.0.0.0
    AP-115-1 default 115 10.10.10.200 Down 10.10.10.20 0.0.0.0
    AP-135-1 default 135 10.10.10.110 Down N 10.10.10.12 0.0.0.0
    AP-135-1 default 135 10.13.1.203 Up 127d:8h:42m:13s 2 10.11.50.19 0.0.0.0
    AP-135-2 default 135 10.10.10.112 Down 10.10.10.12 0.0.0.0
    Aruba-135-2 default 135 10.10.10.145 Down 10.10.10.20 0.0.0.0
    ArubaAP-115-1 default 115 172.20.226.224 Down 2 172.20.226.199 0.0.0.0
    ArubaAP-135-1 default 135 10.10.10.53 Down 10.10.10.20 0.0.0.0
    ArubaAP-135-2 default 135 10.10.10.51 Down 10.10.10.20 0.0.0.0
    ArubaAP-135-3 default 135 10.10.10.223 Down 10.10.10.20 0.0.0.0
    ArubaAP-135-4 default 135 10.10.10.222 Down 10.10.10.20 0.0.0.0
    ArubaAP-225-1 default 225 10.10.10.70 Down 10.10.10.20 0.0.0.0
    f0:5c:19:c9:fe:54 default 325 10.11.50.115 Denied 10.11.50.19 0.0.0.0



  • 2.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 02:21 AM

    Can you be a bit more specific about what you're trying to see ? I am presuming you want AP info/status based on the CLI sample.

     

    AP information can be read from the controller using SNMP by

     

    a) setting a suitable snmp community string in the controler, e.g. "snmp-server community community123"

    b) get the suitable MIB for your controller version from the support site, the aruba-wlan.my file has the AP MIBs

    c) snmpwalk/get/mibbrowse the controller for MIB wlsxWlanAPTable

     

    Note: above example is using snmpv2c which is the least complex but maybe not the most secure, e.g. snmpv3

     

    Example: suitable mibs (standard and aruba) are in the current directory and using snmpwalk on a linux vm (note the flag -O0X to format the output nicely)

     

    root@kali:/home/mibs/6.5.4.7# snmpwalk -v 2c -c community123 -O0X -mALL -M. 192.168.x.x wlsxWlanAPTable             
    WLSX-WLAN-MIB::wlanAPIpAddress[STRING: 6c:f3:7f:xx:xx:xx] = IpAddress: 1.1.1.5
    WLSX-WLAN-MIB::wlanAPIpAddress[STRING: 6c:f3:7f:xx:xx:xx] = IpAddress: 1.1.1.1
    WLSX-WLAN-MIB::wlanAPIpAddress[STRING: 90:4c:81:xx:xx:xx] = IpAddress: 192.168.x.x
    WLSX-WLAN-MIB::wlanAPIpAddress[STRING: ac:a3:1e:xx:xx:xx] = IpAddress: 192.168.x.x
    WLSX-WLAN-MIB::wlanAPName[STRING: 6c:f3:7f:xx:xx:xx] = STRING: ap123
    WLSX-WLAN-MIB::wlanAPName[STRING: 6c:f3:7f:xx:xx:xx] = STRING: ap456
    ...
    ...

    one of the OIDs is called "wlanAPStatus", this will separate the APs which are up versus down. Note that the key is always the mac address (as you can see above in the square brackets), you will have to handle the translation of mac address back to AP name if so desired.

     



  • 3.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 02:53 AM
      |   view attached

    Thank you Jeff for your reply. 

     

    In my Management Application I need to display the AP model connected to the WLC in the GUI for which I need to know model name . 

     

    your suggestion of wlsxWlanAPEntry - helped me to get the AP Model name. However , I see that the MIB does not return the details of all the AP connected to WLC .  ( refer to the attached PDF document ) 

     

    The CLI o/p shows 19 AP's connected whereas the MIB o/p shows only 2 of them. 

     

    can you please comment on it ?

     

    Thanks

    udaya

    Attachment(s)

    pdf
    AP_Model_Name.pdf   186 KB 1 version


  • 4.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 03:07 AM

    hi Udaya

     

    I can confirm that walking wlsxWlanAPEntry (should) returns the "show ap database" not the "show ap active". In my setup I have the same number of results from SNMP as I do in the CLI (ver 6.5.4.7), including the APs that are down and no longer present in the controller.

     

    I note in your screen capture that some of the fields are not decoding (apProducts.78 for example, which should show ap325), which makes me wonder if your MIB is out of date/not in sync with the controller AOS version, can you fix that first and see if that resolves.

     

    -jeff

     

     

     



  • 5.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 04:00 AM

    My box is running  6.4.4.6

     

    Below is the version for WLSX-WLAN-MIB. 

    -- ArubaOS 6.4.2.8_50314
    -- vim:set ts=4 sw=4:
    WLSX-WLAN-MIB DEFINITIONS ::= BEGIN

     

    However , I have not been able to locate the other mibs in https://http://support.arubanetworks.com. 

     

    Specifically , I want to update ARUBA-MIB which I was'nt able to locate the latest one. The version on my laptop is below 

     

    -- ArubaOS 6.4.2.3-4.1.1.2_48114
    ARUBA-MIB DEFINITIONS ::= BEGIN

     

    can you please give any pointers to the dlownload location ? 

     

    Secondly , after updating the WLSX-WLAN-MIB file , I still get only 2 entries in the MIB output 



  • 6.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 04:13 AM

    the MIBs are in the folder of the software on support.arubanetworks.com, log into it, go into the ArubaOS section, find your version, get the two MIB files (standard and aruba)

     

    here is a direct link for 6.4.4.6 - you need to log in to get them

    https://support.arubanetworks.com/DownloadSoftware/tabid/75/DMXModule/510/Default.aspx?EntryId=21244

     

     not sure why you have different versions between aruba.my and aruba-wlan.my, that is not normal, they should match. Start fresh using the correct version downloaded from link above.

     

     

     

     

     

     



  • 7.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 11:14 PM
      |   view attached

    Thank you Jeff for the link. I have downloaded the MIB from the location shared by you and now the model name is resolved properly ( refer snapshot ) 

     

    However , still I see only 2 entries. 

     

    Thanks

    udaya



  • 8.  RE: How to get the Sysoid of AP connected to Aruba 6000 WLC

    Posted Sep 17, 2018 11:29 PM

    hi Udaya

    What tool are you using to walk the MIB - is that iReasoning MIB browser or other ?  Do you have access to a linux machine to compare if the CLI version of snmpwalk returns the same (using the command i posted before) ?

     

    Sometimes MIBs get stuck, but first make sure the same tools return the same results.

    -jeff