cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
333
Views
0
Helpful
1
Replies

Ports with 802.1x or Port Security enabled via DNAC API

It447
Level 1
Level 1

I need to get a list of ports that have port security enabled and list of ports that have 802.1x enabled on switches in our environment.

I've looked through all of the documentation I can find on the API reference and haven't found any endpoints that return what I need.

Does anybody know of a good way to do get the lists using the DNAC API?

 Thank you!

1 Reply 1

Torbjørn
VIP
VIP

There are no API endpoints that will give you this directly. You can either parse this from the device configs(can be fetched from /dna/intent/api/v1/network-device-config), or you can parse the outputs from relevant show commands in the command runner. 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev