About NX-API CLI

NX-API CLI is an enhancement to the Cisco Nexus 9000 Series CLI system, which supports XML output. NX-API CLI also supports a JSON output format for specific commands. On Cisco Nexus devices, command-line interfaces (CLIs) are run only on the device. NX-API CLI improves the accessibility of these CLIs by making them available outside of the switch by using HTTP/HTTPS. You can use this extension to the existing Cisco Nexus CLI system on the Cisco Nexus 9000 Series devices. NX-API CLI supports show commands, configurations, and Linux Bash. NX-API CLI also supports JSON-RPC.

For more information, see the Cisco Nexus 9000 Series NX-OS Programmability Guide, Release 9x:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Note: Some commands are platform specific, and are therefore not supported on all platforms. See the configuration guide for more details:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-installation-and-configuration-guides-list.html