Users Guide

Table Of Contents
Options Description Range / Defaults
authentication Authentication method used to authenticate the
message and the sender. You can use any of
MD5, SHA-1 or clear text methods of
authentication. This option is ignored if shared
secret is not configured. It is, however, mandatory
if it is configured.
key This is the encoded SHA1/MD5 hash of shared
secret or plaintext shared secret.
This option is ignored if shared secret is not
configured on the switch.
The actual MD5/SHA-1 hash is 16/20 bytes and
consists of binary data. It must be encoded as an
ASCII based HEX string before sending. It must be
present when the controller is configured with an
xml-api key for the server. Encoded hash length is
32/40 bytes for MD5/SHA-1.
version The version of the XML API interface available in
the controller. This field is mandatory in all XML
API requests.
Current version 1.0
Monitoring External Captive Portal Usage Statistics
To check the external captive portal authentication statistics use the show aaa xml-api statistics command.
This command displays the number of times an authentication command was executed per client. The
command also displays the number of times an authentication event occurred and the number of new
authentication events that occurred since the last status check.
(host) # show aaa xml-api statistics
Sample Scripts
You can download the sample scripts from support.arubanetworks.com. Before downloading the scripts, you
must read the following disclaimer.
The sample scripts are examples and provided for illustration purposes only. If you plan to use this script in your
environment, ensure that the script meets your IT guidelines. By running this script, you acknowledge that Dell Inc. is
in no way liable for any loss, damage, problems arising from running this script.
The following scripts are available for download:
Python 2.7 Script
l ArubaXMLDemo.py: This is a Python 2.7 script. This script demonstrates the basic functionality of the XML
API. Using this script, you can send XML requests to add, delete, authenticate, blacklist, query, or log out a
user.
Bourne Shell Scripts
l xml_user_add.sh: This script adds a user using the user_add command.
l xml_user_del_or_logout.sh: The user_delete part of the script deletes an existing user from the controller
user table. The user_logout part of the script reverts an existing user to the initial role in the AAA profile.
Dell Networking W-Series ArubaOS 6.5.x | User Guide External User Management | 1076