01-22-2023 12:00 AM
Hi, I just wanted to know that which API I can use in my code to fetch details(expiry, license and other basic info.) of Cisco switches and routers product.
01-22-2023 12:22 AM
Depending and device and IOS code running, most of the API calls can get you that information,
In case the device do not support API, then you need to rely on any Python script using SSH connection or SNMP.
some example :
https://developer.cisco.com/docs/ios-xe/smart-licensing/#!introduction/about-ios-xe-slp-rest-apis
BB
***** Rate All Helpful Responses *****
How to Ask The Cisco Community for Help
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
Log in to Community