Services
24.7 Integrating an AP with an XML API Interface
SCALANCE W1750D UI
408 Configuration Manual, 02/2018, C79000-G8976-C451-02
user_blacklist This command blacklists a user from connecting to your network. This com-
mand uses the default blacklist timeout of 3600 seconds.
There is no corres-
user_query This command fetches the status and details of a user connected to your
network. A dual- stack client can be queried by any of its IPv4 or IPv6 ad-
dresses, but only the queried IP address is displayed in the output.
Each XML API command requires certain mandatory options to successfully execute the
task. The list of all available options are:
Table 24- 4 XML API Command Options
ipaddr IP address of the user in IPv4 or
—
macaddr MAC address of the user in
aa:bb:cc:dd:ee:ff format.
Enter MAC address with colon.
role This option is used to change the
role of an existing user. This option
applies to user_add and user_delete
64-character string
password The password of the user for au-
—
session_timeout The role will be changed to a pre-
auto role after session timeout.
—
authentication Authentication method used to au-
thenticate the message and the
sender. You can use any of MD5,
SHA-1 or clear text methods of au-
thentication. This option is ignored if
shared secret is not configured.
It is,
however, mandatory if it is configu-
key This is the encoded MD5/SHA-1
hash of shared secret or plain text
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 VC is configured with an xml API
key for the server. Encoded hash
length is 32/40 bytes for MD5/SHA-
version The version of the XML API interface
available in the VC. This is mandato-
ry in all XML API requests.
Current version is XML API 1.0