cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2033
Views
5
Helpful
3
Replies

how to obtain interface input / output values

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?  

 

 

1 Accepted Solution

Accepted Solutions

@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.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

3 Replies 3

@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.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thank you for your reply, I was hoping to not have to do it via a SSH connection. Maybe we will get rest api soon to provide this info.
Have a good day!
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: