Users Guide

Table Of Contents
---------------------------------
xml=<aruba command="user_query">
<ipaddr>192.0.2.2</ipaddr>
<authentication>cleartext</authentication>
<key>aruba123</key>
<version>1.0</version>
</aruba>
---------------------------------
Sending XML request to https://192.0.2.1/auth/command.xml
Controller response status: 200
Response XML
-----------------------------------
<aruba>
<status>Ok</status>
<code>0</code>
<macaddr>a4:5e:60:c3:10:59</macaddr>
<ipaddr>192.0.2.2</ipaddr>
<name>John</name>
<role>authenticated</role>
<type>Wireless</type>
<vlan>1034</vlan>
<location>ap225-sales</location>
<age>00:03:51</age>
<auth_status>Authenticated</auth_status>
<auth_server>clearpass-hq1</auth_server>
<auth_method>802.1X</auth_method>
<essid>ethersphere-wpa2</essid>
<bssid>9c:1c:12:92:2e:f1</bssid>
<phy_type>a-VHT-80</phy_type>
<mobility_state>Wireless</mobility_state>
<in_packets>93400</in_packets>
<in_octets>24947332</in_octets>
<out_packets>89042</out_packets>
<out_octets>79397284</out_octets>
</aruba>
Controller CLI
The output of the show user command displays the client information.
(host) #show user
Users
-----
IP MAC Name Role Age(d:h:m) Auth VPN link
---------- ------------ ------ ---- ---------- ---- --------
192.0.2.2 a4:5e:60:c3:10:59 John authenticate 00:03:51 Authenticated
AP name Roaming Essid/Bssid/Phy Profile Forward mode
------- -------- --------------- ------- ------------
ap225-sales Wireless ethersphere-wpa2/9c:1c:12:92:2e:f1/a-VHT-80
Type Host Name
---- ---------
User Entries: 1/1
Logging Out a User
This XML request uses the user_logout command to revert the user to the initial role. This is only applicable to
captive portal users.
C:\Python27>python ArubaXMLDemo.py --switch-ip=192.0.2.1 --secret=aruba123 --command=user_
logout --ip=192.0.2.2
Dell Networking W-Series ArubaOS 6.5.x | User Guide External User Management | 1080