cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
182
Views
0
Helpful
2
Replies

A question about Catalyst Center API_Get Client Detail

boyuzhan
Cisco Employee
Cisco Employee

Hi,

We are retrieving data traffic volume for a certain wired client by referring to the Catalyst Center API documentation below.
https://developer.cisco.com/docs/dna-center/2-3-7/get-client-detail/

A part of the retrieved results via API: (★ indicates the returned value of data traffic volume)

 

"snrIsInclude": "true",
"avgSnr": "44.0",
"dataRate": "400.0",
"txBytes": "3548.0", ★
"rxBytes": "3229.0", ★
"dnsResponse": "10.0"

 

 

Snipaste_2025-02-06_18-28-29.pngSnipaste_2025-02-06_18-31-22.pngQuestions:
1.
For wireless endpoints, the values obtained via the API (txBytes/rxBytes) match the Connectivity (tx/rx) values in Client 360 in Catalyst Center.
However, the rx/tx is not displayed in Client 360 Connectivity section for wired endpoints(by default).
In this case, how were the traffic volume values (txBytes/rxBytes) captured?
(I'm also a bit concerned about the accuracy of the retrieved values.) 

See Capture for a Client 360 view of wired and wireless PCs.

2.
The Connectivity data in Client 360 appears to be updated at 10-minute intervals.
I would like to confirm whether the values obtained via the API are also not real-time and if they change in accordance with the Connectivity display.Is that correct?

2 Replies 2

First one, this might be done by polling the switchport, and it might be that if the polling interval is too long, data may not reflect real time traffic. The switch would maintain these counters for each port and Catalyst Center can poll these counters periodically

On the second question not 100% sure on this, on a few endpoints it does not state if API might include historical or cached data, while the GUI or WLC shows real time data. I know on other endpoints values obtained via the API are not real time. I think you are correct here, they are updated in accordance with the polling and aggregation intervals configured in Catalyst Center and for Client 360, the data is typically updated at 10-minute intervals, and the API reflects the same data.

I am assuming here and it might be worth reaching out the team at Cisco directly for this to be confirmed.

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Gabriel Zapodeanu
Cisco Employee
Cisco Employee

The UI provides stats for wired connected clients, too:

GabrielZapodeanu_0-1741284694555.png

The clients stats are saved for 5 min time intervals. See the above screenshot.
The API will return the stats for the last 5 min interval before the timestamp provided. If no timestamp provided, it will be considered current time.