09-13-2021 05:31 PM
Hello folks!
i am a newbie to python scripting and making rest calls to DNA Center. but i have a task i would like to complete using this new found skill. i would like to pull interface data to determine if a interface has been inactive for more than 6 months. can i make such a query against DNA Center managed switch devices?
Thanks in advance!
Mike
09-14-2021 02:32 AM
check here some API help you.
09-14-2021 04:52 AM
this was not helpful Balaji. i can not provide a positive rating for your answer.
09-14-2021 08:30 AM
Sure, i have only given the link for API reference, are you looking complete Code, i may not have it in had,
but there GIT Place where you find different script to get one, (i do traditional switch report using Python and perl) - still working DNAC to do this.
https://github.com/robertcsapo/awesome-cisco-dnac
https://github.com/CiscoDevNet/dnac-InterfacePortSpeedReport
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide