- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2021 07:29 PM
Hello,
At times I need to check my 9300 Edge switches for unused interfaces so that i can either disable them or re-purpose them when they go under utilized. typically i would check the input and out values and typically look for interfaces that have a output of "never".
after using the interface rest api call from DNAC or directly against a switch, this type of data does not seem to be present. is there a way to obtain dynamically via a REST API call?
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2021 11:44 PM
@OaklandCounty_Mike you could use tools like Netmiko, Napalm, Scrapli over SSH/Netconf. PyATS is a very popular choice too https://developer.cisco.com/pyats/ You can also do this with YANG, see https://developer.cisco.com/yangsuite/ to get started here.
Hope this helps.
Connect with me https://bigevilbeard.github.io

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2021 11:44 PM
@OaklandCounty_Mike you could use tools like Netmiko, Napalm, Scrapli over SSH/Netconf. PyATS is a very popular choice too https://developer.cisco.com/pyats/ You can also do this with YANG, see https://developer.cisco.com/yangsuite/ to get started here.
Hope this helps.
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2021 07:51 AM
Have a good day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2021 08:26 AM
@OaklandCounty_Mike you could use RESTCONF https://content.cisco.com/chapter.sjs?uri=/searchable/chapter/content/en/us/td/docs/ios-xml/ios/prog/configuration/167/b_167_programmability_cg/restconf_programmable_interface.html.xml&platform=Cisco%20Catalyst%209300%20Series%20Switches
Connect with me https://bigevilbeard.github.io
