--- title: "CLI versus API" url: https://blog.ipspace.net/series/cli/ --- # CLI versus API While the "*We don't need no CLI*" or "*CLI hinders the innovation*" or "*SDN will get rid of CLI*" stupidities keep erupting on various social media, you might enjoy an antidote of past ipSpace.net blog posts. ![](https://blog.ipspace.net/images/dbarroso-cli.png) ### The Basics * [CLI and API Myths](https://blog.ipspace.net/2013/06/cli-and-api-myths/index.md.txt) (2013) * [What Is This API Thingy?](https://blog.ipspace.net/2014/07/what-is-this-api-thingy/index.md.txt) (2014) * [API Does Not SDN Make](https://blog.ipspace.net/2016/05/api-does-not-sdn-make/index.md.txt) (2016) * [Network Automation RFP Requirements](https://blog.ipspace.net/2016/10/network-automation-rfp-requirements/index.md.txt) (2016) * [To API or Not To API](https://blog.ipspace.net/2016/10/to-api-or-not-to-api/index.md.txt) (2016) ### CLI-or-API Dilemma * [Is CLI In My Way … or Is It Just a Symptom of a Bigger Problem?](https://blog.ipspace.net/2014/02/is-cli-in-my-way-or-is-it-just-symptom/index.md.txt) (2014) * [CLI or API? Wait … Do You Really Have to Ask?](https://blog.ipspace.net/2014/02/cli-or-api-wait-do-you-really-have-to/index.md.txt) (2014) * [We Have to Get Away from the Box-Focused Mentality](https://blog.ipspace.net/2015/03/we-have-to-get-away-from-box-focused/index.md.txt) (2015) * [CLI or API… Again (and Again and Again…)](https://blog.ipspace.net/2017/10/cli-or-api-again-and-again-and-again/index.md.txt) (2017) * [It’s Bash Scripts All the Way Down (more on CLI versus API)](https://blog.ipspace.net/2017/11/its-bash-scripts-all-way-down-more-on/index.md.txt) (2017) * [Don't Get Obsessed with REST API](https://blog.ipspace.net/2018/04/dont-get-obsessed-with-rest-api/index.md.txt) (2018) ### CLI Challenges * [Why It's Hard to Deploy SDN-Like Functionality Today](https://blog.ipspace.net/2015/09/why-its-hard-to-deploy-sdn-like/index.md.txt) (2015) * [Let’s Drop Some Random Commands, Shall We?](https://blog.ipspace.net/2017/04/lets-drop-some-random-commands-shall-we/index.md.txt) (2017) * [Follow-up: Nexus-OS Dropping Configuration Commands](https://blog.ipspace.net/2017/05/follow-up-nexus-os-dropping/index.md.txt) (2017) * [Not So Fast Ansible, Cisco IOS Can’t Keep Up…](https://blog.ipspace.net/2019/01/not-so-fast-ansible-cisco-ios-cant-keep/index.md.txt) (2019) * [Screen Scraping in 2025](https://blog.ipspace.net/2025/05/screen-scraping-2025/index.md.txt) (2025) * [Response: CLI Is an API](https://blog.ipspace.net/2025/05/response-cli-api/index.md.txt) (2025) * [Repost: On the Advantages of XML](https://blog.ipspace.net/2025/05/repost-xml-advantages/index.md.txt) (2025) ### API Challenges * [REST API Is Not Transactional](https://blog.ipspace.net/2019/04/rest-api-is-not-transactional/index.md.txt) (2019) * [Making Cisco ACI REST API Transactional](https://blog.ipspace.net/2019/04/making-cisco-aci-rest-api-transactional/index.md.txt) (2019) * [Can We Make REST API Transactional Across Multiple Calls?](https://blog.ipspace.net/2019/10/can-we-make-rest-api-transactional/index.md.txt) (2019) * [Breaking APIs or Data Models Is a Cardinal Sin](https://blog.ipspace.net/2025/04/api-data-model-contract/index.md.txt) (2025) ### API Use Cases * [Read Network Device Information with REST API and Store It Into a Database](https://blog.ipspace.net/2019/06/read-network-device-information-with/index.md.txt) (2019) * [NetDevOps Automation with REST API](https://blog.ipspace.net/2020/04/netdevops-automation-rest-api/index.md.txt) (2020) ### Real-Life Considerations * [Getting Comfortable with the Command Line](https://blog.ipspace.net/2023/08/comfortable-with-cli/index.md.txt) (2023) * [Is Controller-Based Networking More Reliable than Traditional Networking?](https://blog.ipspace.net/2015/01/is-controller-based-networking-more/index.md.txt) (2015) * [Big Red Button for Network Automation](https://blog.ipspace.net/2018/02/big-red-button-for-network-automation/index.md.txt) (2018) * [Found on the Web: Your CLI Should Be a Server](https://blog.ipspace.net/2018/04/found-on-web-your-cli-should-be-server/index.md.txt) (2018) * [Layers of Single-Pane-of-Glass Abstractions Won’t Solve Your Problems](https://blog.ipspace.net/2018/05/layers-of-single-pane-of-glass/index.md.txt) (2018) * [Stop the Low-Level Configuration Manipulation](https://blog.ipspace.net/2019/05/stop-low-level-configuration/index.md.txt) (2019) * [Stop Using GUI to Configure SDN or Intent-Based Products](https://blog.ipspace.net/2019/06/stop-using-gui-to-configure-sdn-or/index.md.txt) (2019) ### Meanwhile on Planet Earth * [Anti-Automation from the Antimatter Universe](https://blog.ipspace.net/2018/02/anti-automation-from-antimatter-universe/index.md.txt) (2018) * [Fat Fingers Strike Again…](https://blog.ipspace.net/2018/01/fat-fingers-strike-again/index.md.txt) (2018) * [Why Is Every SDN Vendor Bashing the Networking Engineers?](https://blog.ipspace.net/2016/07/why-is-every-sdn-vendor-bashing/index.md.txt) (2016) * [Why Is Network Automation such a Hot Topic?](https://blog.ipspace.net/2018/10/why-is-network-automation-such-hot-topic/index.md.txt) (2018) * [Network Automation and Hammer of Thor](https://blog.ipspace.net/2020/04/network-automation-hammer/index.md.txt) (2020) * [Musing on Nerd Knobs](https://blog.ipspace.net/2015/08/musing-on-nerd-knobs/index.md.txt) (2015) * [Cumulus Linux NVUE: an Incomplete Data Model](https://blog.ipspace.net/2022/10/cumulus-linux-nvue/index.md.txt) (2022) * [Linux Networking Data Plane Configuration](https://blog.ipspace.net/2022/09/linux-data-plane-configuration/index.md.txt) (2022) * [Remember: Don’t Panic](https://blog.ipspace.net/2019/05/remember-dont-panic/index.md.txt) (2019) ### Finally * [History of Cisco IOS CLI](https://blog.ipspace.net/2019/04/must-watch-history-of-cisco-ios-cli/index.md.txt) (2019)