Controller Based WLANs

How do I log XML queries and responses on an Aruba controller?

Aruba Employee

Question:  How do I log XML queries and responses on an Aruba controller?

 

Product and Software: This article applies to all Aruba controllers and ArubaOS versions.

When an external captive portal server is used, and if XML is used for the transaction, then the following commands are used to log the XML queries and responses.

First, enable debugging logging for the security process authmgr and security logging with warning level:

# logging level debugging security process authmgr

# logging level warning security

Then, view the output:

#show log security all

Example

(Aruba800) (config)# logging level debugging security process authmgr

(Aruba800) (config)# logging level warning security

(Aruba800) #show logging level verbose

LOGGING LEVELS

--------------

Facility Level Sub Category Process

-------- ----- ------------ -------

network warnings N/A N/A

security warnings N/A N/A

security debugging N/A esi

security debugging N/A authmgr

system warnings N/A N/A

system debugging N/A esi

system informational all esi

user warnings N/A N/A

wireless warnings N/A N/A

(Aruba800) #show log security 15

Sep 22 16:09:29 :124030: <INFO> |authmgr| Received XML API cmd=user_delete, agent=172.16.0.253 IP=172.16.0.252

Sep 22 16:09:29 :124004: <DBUG> |authmgr| IP=172.16.0.252, MAC=00:01:02:03:04:05, name=''

Sep 22 16:09:29 :124004: <DBUG> |authmgr| role='logon', tout=0, vers='1.0'

Sep 22 16:09:29 :124004: <DBUG> |authmgr| auth='cleartext', key(5)='aruba'

Sep 22 16:09:29 :124004: <DBUG> |authmgr| Tx message to Sibyte. Opcode = 17, msglen = 134

Sep 22 16:09:29 :124032: <WARN> |authmgr| XML command=user_delete (3) result='Ok', error=''

Sep 22 16:10:16 :124004: <DBUG> |authmgr| RX (sock) message of type 50, len 1084

Sep 22 16:10:16 :124030: <INFO> |authmgr| Received XML API cmd=user_add, agent=172.16.0.253 IP=172.16.0.252

Sep 22 16:10:16 :124004: <DBUG> |authmgr| IP=172.16.0.252, MAC=00:01:02:03:04:05, name=''

Sep 22 16:10:16 :124004: <DBUG> |authmgr| role='logon', tout=0, vers='1.0'

Sep 22 16:10:16 :124004: <DBUG> |authmgr| auth='cleartext', key(5)='aruba'

Sep 22 16:10:16 :124004: <DBUG> |authmgr| Tx message to Sibyte. Opcode = 17, msglen = 134

Sep 22 16:10:16 :124032: <WARN> |authmgr| XML command=user_add (2) result='Ok', error=''

Sep 22 16:14:40 :124004: <DBUG> |authmgr| Rx message 14001/5221, length 153 from 127.0.0.1:8220

Sep 22 16:15:46 :124004: <DBUG> |authmgr| Tx message to Sibyte. Opcode = 17, msglen = 134

Version history
Revision #:
1 of 1
Last update:
‎07-07-2014 03:11 PM
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.