01-27-2017 12:34 AM - edited 03-08-2019 09:05 AM
Configure switch/router using REST API ?
can we configure cisco switch/router using rest api?
Thanks
Subbu
01-27-2017 01:20 AM
I have not done this myself but you can use rest apis with 9ks
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Configuration_Guide_chapter_01.html
https://adamraffe.com/2013/12/02/nx-api-on-the-nexus-9000/
04-19-2018 10:15 PM
This demonstrates the use of Python programming to provision a MPLS L3VPN on a service Provider Edge (PE) router using REST API. This example uses Cisco CSR1000v (IOS-XE) routers as PE routers.
- REST API management access to CSR1000v routers (pleae refer to the References at the end of this document).
- Python (Version 2.x or 3.x) and "Requests" Python library installed on the computer used for configuring the routers.
- Some basic knowledge Python programming.
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