API configuration on the ISR4300 series routers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 05:56 PM
Hi
Can you let me know what software release is required to enable API functionality
- Labels:
-
Other Services Topics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 07:09 PM
You mean restconf/netconf?
On the latest version, you have access to them and I believe, they were introduced on this platform since 16.6.1 (if I recall correctly).
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 07:22 PM
Hi Francesco
We are looking at rest api json/xml version.
Which I believe could be enabled using
remote-mangement
restful-api local-port....
but on the current IOS I don't have that option to enable it.
So I want to know if new IOS versions have that as standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 07:33 PM
That said
RESTCONF—Uses structured data (XML or JSON) and YANG to provide a REST-like APIs, enabling you to programmatically access different network devices. RESTCONF APIs use HTTPs methods.
So i'd need to upgrade to latest IOS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 07:43 PM
The command you shared is working on ASR and CSR since ios xe 3.10 (i think even before) for csr and a little bit after that release for ASR.
Not sure this is enabled/available on isr4300.
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 07:46 PM
I believe it is the version, currently 03.16.04b.S
How can I find out of later versions support that feature on the isr4300.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 08:24 PM
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2020 04:31 PM
Hi
i managed to find something to test with, also found this URL
from that i found
REST API is not supported from the IOS-XE 16.7.x release onwards. If you are using the 16.7.x version or above, Cisco recommends that you use Restconf. For more information on using Restconf, see the Restconf documentation.
This mentions the CSR1000, but being IOS related, does the rest api no being supported anymore also apply to the ISR4300 series devices, as I can't get rest API to work, only restconf.
Would you agree? I can not find anything specific on rest api and the ISR4300 devices.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2020 06:46 PM
Let me know when you tested to see if that worked on ISR4300.
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2020 06:56 PM
Hi
Based on previous post, I am unable to get anything from rest API.
Retconf and netconf give me capabilities when I query the device.
So I am pretty sure rest API no longer works, I am using a later version than 16.7.x
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2020 07:07 PM
You can try to open a case and ask if anything available for isr4300.
Restconf and netconf won't help in what you're trying to achieve? What is the final goal?
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
