cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
605
Views
5
Helpful
0
Replies

vendor is Unknown when ClientDetails are queried with API (PI 3.3)

a.olsthoorn
Level 1
Level 1

Hi,

I would like to get the clientdetails of a mac adddress based query using the API of prime infrastructure 3.3.

vendor id of "00:01:3E" = Ascom. example MAC address "01:3e:1a:ab:9e" This client is fully known in pi33, vendor is "Ascom Tateco AB"


c9fd972a-4017-4aee-8a9a-9522f7813acb.png

I have made a Tool/script what talks to the API. Th issue is that a lot of vendor statements are "Unknown" while in pi 33 the vendor is visible (see screenshot).

The following API URL result prooves that using the above MAC the result is not what I expected:

https://zksv-mgtprime01.zks.mmc.nl/webacs/api/v3/data/ClientDetails.json?.full=true&macAddress=%2200:01:3e:1a:ab:9e%22

output:

{"queryResponse":{"@last":0,"@first":0,"@count":1,"@type":"ClientDetails","@requestUrl":"https://zksv-

mgtprime01.zks.mmc.nl/webacs/api/v3/data/ClientDetails?.full=true&macAddress="00:01:3e:1a:ab:9e"","@responseType":"listEntityInstances","@rootUrl":"https://

zksv-mgtprime01.zks.mmc.nl/webacs/api/v3/data","entity":[{"@dtoType":"clientDetailsDTO","@type":"ClientDetails","@url":"https://zksv-

mgtprime01.zks.mmc.nl/webacs/api/v3/data/ClientDetails/3971949635","clientDetailsDTO":{"@displayName":"3971949635","@id":3971949635,"apIpAddress":{"address":"10.139.

83.225"},"apMacAddress":"7c:0e:ce:b9:5d:00","apName":"AP_F0.078.D1","apSlotId":0,"associationTime":1518526604397,"authenticationAlgorithm":"OPENSYSTEM",

"ccxFSVersion":"NONE","ccxLSVersion":"NONE","ccxMSVersion":"NONE","ccxVSVersion":"NONE","ccxVersion":"V4","clientAaaOverrideAclApplied":"NA","clientAclApplied":"NA",

"clientApMode":"UNKNOWN","clientInterface":"ascom551","connectionType":"LIGHTWEIGHTWIRELESS","deviceIpAddress":{"address":"10.152.110.21"},"deviceName":"wlanc1-

vhv","deviceType":"none","eapType":"UNNOWN","encryptionCypher":"CCMPAES","firstSeenTime":1503381440089,"hostname":"i62-1a-ab-

9e.zks.mmc.nl","hreapLocallyAuthenticated":"2","ifIndex":0,"ipAddress":{"address":"10.152.2.55"},"ipType":"IPV4","location":"MMC-VHV > VHV-Building-Noord > VHV - 0de begane

grond

noord","macAddress":"00:01:3e:1a:ab:9e","mobilityStatus":"LOCAL","nacState":"ACCESS","policyType":"WPA2","policyTypeStatus":"NOMETHOD","postureStatus":"UNKNOWN",

"protocol":"DOT11G","securityPolicyStatus":"PASSED","speed":"UNKNOWN","ssid":"AS27wawa97ZieZ69n","status":"ASSOCIATED","updateTime":1518528532762,

"vendor":"Unknown","vlan":"551","webSecurity":"DISABLED","wepState":"ENABLED","wgbStatus":"REGULARCLIENT","wiredClientType":"NA"}}]}}

This not always the case, when I change one digit in the MAC addrees the vendor is presented correctly (also in GUI pi3.3)

API URL: https://zksv-mgtprime01.zks.mmc.nl/webacs/api/v3/data/ClientDetails.json?.full=true&macAddress=%2200:01:3e:1a:ab:9c%22

output:

{"queryResponse":{"@last":0,"@first":0,"@count":1,"@type":"ClientDetails","@requestUrl":"https://zksv-

mgtprime01.zks.mmc.nl/webacs/api/v3/data/ClientDetails?.full=true&macAddress="00:01:3e:1a:ab:9c"","@responseType":"listEntityInstances","@rootUrl":"https://

zksv-mgtprime01.zks.mmc.nl/webacs/api/v3/data","entity":[{"@dtoType":"clientDetailsDTO","@type":"ClientDetails","@url":"https://zksv-

mgtprime01.zks.mmc.nl/webacs/api/v3/data/ClientDetails/3214696544","clientDetailsDTO":{"@displayName":"3214696544","@id":3214696544,"apIpAddress":{"address":"10.139.1.

206"},"apMacAddress":"08:cc:68:ad:67:a0","apName":"AP_H1_H4A30610","apSlotId":0,"associationTime":1518526603467,"authenticationAlgorithm":"OPENSYSTEM",

"ccxFSVersion":"NONE","ccxLSVersion":"NONE","ccxMSVersion":"NONE","ccxVSVersion":"NONE","ccxVersion":"V4","clientAaaOverrideAclApplied":"NA","clientAclApplied":"NA",

"clientApMode":"UNKNOWN","clientInterface":"ascom551","connectionType":"LIGHTWEIGHTWIRELESS","deviceIpAddress":{"address":"10.152.110.29"},"deviceName":"wlanc3-

vhv","deviceType":"none","eapType":"UNNOWN","encryptionCypher":"CCMPAES","firstSeenTime":1492502137021,"hostname":"i62-1a-ab-

9c.zks.mmc.nl","hreapLocallyAuthenticated":"2","ifIndex":0,"ipAddress":{"address":"10.152.3.173"},"ipType":"IPV4","location":"MMC-VHV > VHV-Building-Zuid > VHV - 1ste etage -

Zuid","macAddress":"00:01:3e:1a:ab:9c","mobilityStatus":"LOCAL","nacState":"ACCESS","policyType":"WPA2","policyTypeStatus":"NOMETHOD","postureStatus":"UNKNOWN",

"protocol":"DOT11G","securityPolicyStatus":"PASSED","speed":"UNKNOWN","ssid":"AS27wawa97ZieZ69n","status":"ASSOCIATED","updateTime":1518528532762,"vendor":"Ascom

Tateco AB","vlan":"551","webSecurity":"DISABLED","wepState":"ENABLED","wgbStatus":"REGULARCLIENT","wiredClientType":"NA"}}]}}

Q:

- what is wrong here?

- How can I check this?

- Is this an bug?

kind regards

0 Replies 0