Wireless Access

Reply
Occasional Contributor II

XML API logs

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

Guru Elite

Re: XML API logs

show aaa xml-api statistics

http://www.arubanetworks.com/techdocs/ArubaOS_64_Web_Help/Web_Help_Index.htm#ArubaFrameStyles/XML_API/Using_the_XML_API_Server.htm

 

Please also see the examples and error responses here: http://www.arubanetworks.com/techdocs/ArubaOS_64_Web_Help/Web_Help_Index.htm#ArubaFrameStyles/XML_API/Sample_Code.htm



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II

Re: XML API logs

Great. 

 

Thank you  :)

Bien

Moderator

Re: XML API logs

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

Occasional Contributor II

Re: XML API logs

Hi Jeff,

 

 

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

 

 

Regards,

BienJerico

Moderator

Re: XML API logs

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.
Occasional Contributor II

Re: XML API logs

Thanks Jeff,

 

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: