Wireless Access

last person joined: 19 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all
This thread has been viewed 2 times
  • 1.  XML API logs

    Posted May 08, 2015 02:58 AM

    Hi,

     

     

    I'm sending XML to https://<aruba-switch-ip>/auth/command.xml

    Is there a command in Access Controller CLI to see the XML API logs request/response from the clients?

    I want to see if the our Access Controller is successfully response to our request.

     

     

    Regards,

    Bien



  • 2.  RE: XML API logs
    Best Answer



  • 3.  RE: XML API logs

    Posted May 08, 2015 07:05 AM

    Great. 

     

    Thank you  :)

    Bien



  • 4.  RE: XML API logs

    EMPLOYEE
    Posted May 12, 2015 07:28 AM

    you can also enable "logging level debugging security" - and then check the security log, it will have some info about the incoming XML messages.

    regards

    -jeff



  • 5.  RE: XML API logs

    Posted May 14, 2015 11:36 PM

    Hi Jeff,

     

     

    Where can I find to enable "logging level debugging security"  is in the  CMS or CLI?

     

     

    Regards,

    BienJerico



  • 6.  RE: XML API logs
    Best Answer

    EMPLOYEE
    Posted May 15, 2015 12:45 AM

    hi BienJerico

    you can enable it from the SSH CLI, below is an example for you of a user_add call (note that for user_add the mac address has to already exist, i.e. has to be an associated client mac)

     

    Please note that the secret key is shown in the debug.

     

    regards

    -jeff

     

    (sg-7030) #configure t
    (sg-7030) (config) #logging level debugging security 
    (sg-7030) (config) #exit
    (sg-7030) #
    
    (sg-7030) #show log security 20
    May 15 12:39:53 :124030:  <INFO> |authmgr|  Received XML API cmd=user_add, agent=192.168.1.245 IP=1.2.3.4
    May 15 12:39:53 :124004:  <DBUG> |authmgr|   IP=1.2.3.4, MAC=e8:50:8b:XX:XX:XX, name='test123'
    May 15 12:39:53 :124004:  <DBUG> |authmgr|   role='guest', tout=0, vers='1.0'
    May 15 12:39:53 :124004:  <DBUG> |authmgr|   auth='cleartext', key(8)='aruba123'
    May 15 12:39:53 :124150:  <DBUG> |authmgr|  Create ipuser and user e8:50:8b:XX:XX:XX.
    May 15 12:39:53 :124004:  <DBUG> |authmgr|   logging role event for 0x13d5b9c: 0x13095ac,0x2, index 0
    May 15 12:39:53 :124156:  <DBUG> |authmgr|  Called ip_user_new() for ip 1.2.3.4.
    May 15 12:39:53 :124004:  <DBUG> |authmgr|  sta_add_l3: mac e8:50:8b:XX:XX:XX ip 1.2.3.4
    May 15 12:39:53 :124105:  <DBUG> |authmgr|  MM: mac=e8:50:8b:XX:XX:XX, state=1, name=, role=logon, dev_type=, ipv4=1.2.3.4, ipv6=0.0.0.0, new_rec=1.


  • 7.  RE: XML API logs

    Posted May 15, 2015 03:52 AM

    Thanks Jeff,