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

DNAC API add certain vlans config to certain interfaces

mlumc4
Level 1
Level 1

Hi, I am totally new to Cisco DNAC but not to Python and configuring network devices via APIs (previously worked with juniper and nokia), I've been tasked with adding certain vlan config to certain interfaces on certain Cisco switches (9X00) under the management of the Cisco DNAC. I have the desired vlan/interface/device config represented in a JSON file and need to push it to DNAC via its API to configure the Cisco switches. 

I'm looking at the developer-toolkit API documentation and don't see any obvious way to do it:

/dna/platform/app/consumer-portal/developer-toolkit/apis?domain=Policy 

I am probably missing quite a lot of conceptual information regarding how DNAC works with applying config via the API, can someone throw me a link to read?

Thanks

Mark

1 Accepted Solution

Accepted Solutions

Dan Rowe
Cisco Employee
Cisco Employee

Take a look at the following link. This is a great resource for everything DNA Center API related:

-- https://developer.cisco.com/docs/dna-center/#!device-provisioning

 

 

View solution in original post

2 Replies 2

Dan Rowe
Cisco Employee
Cisco Employee

Take a look at the following link. This is a great resource for everything DNA Center API related:

-- https://developer.cisco.com/docs/dna-center/#!device-provisioning

 

 

Hi Dan, yes that is a good resource for DNA API. There are links to Github Python repositories that also show how to use the API in code. Thanks! 

Mark