Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
lionx
Helper I
Helper I

How to get data from Cisco Switches?

Hi everyone,

I am trying to find out a way for getting data from Cisco Switches, but there is not much information for this.

I'm not sure whether I can create a data gateway for this.

Would you give me any solutions or suggestions?

I'm really appreciate your time and support.

3 REPLIES 3
amitchandak
Super User
Super User

@lionx , is available via rest API or some other method?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

I have found that I can access data I need through Cisco Rest API. I have set up and tested the API. The API work well when I try query with Curl. The syntax as follows:

curl -X GET https://30.10.543.65/api/v2/nodes -H "Accept: application/json" -H "Authorization: Bearer eyJwMyYiJ9.eyJpclciI6I30.lkAwbsfmNzA"

 

Now I try to create a Power Query Connector using Json Web Token (JWT) for authentication. The Curl snippet for query data is:
curl -k -H "Authorization: Bearer SIGNED_JWT" "https://30.10.543.65/api/v2/nodes/?fields=/system-state/basic&page=0&size=20&sort=ip,asc..."

 

However, I don't know how to work with JWT Authentication in Power Query. would you help me with this please? My power query connector starts as follows:

 

// This file contains your Data Connector logic
section CiscoSwitch;

[DataSource.Kind="CiscoSwitch", Publish="CiscoSwitch.Publish"]
shared CiscoSwitch.Contents = Web.Contents("https://30.10.543.65", [ApiKeyName="api_key"])

// Data Source Kind description
CiscoSwitch = [
Authentication = [
// Key = [],
// UsernamePassword = [],
// Windows = [],
Implicit = []
],
Label = Extension.LoadString("DataSourceLabel")
];

 

 

 

 

 

@amitchandak  Thank you for your response.

I have seen any available API even I have tried to get through de API Documents from Cisco Cisco API Documentation - Cisco DevNet

Are there any other solutions like directly connecting to database? 

What I need to do is extracted the data "Resorce Utilization" & "System Health" from Cisco Switch 

lionx_0-1669156194954.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors