08-19-2020 10:56 PM
Hello,
We are using Nexus C5548UP switch and want to enable nxapi feature for switch health monitoring. This feature is not available in the switch. Please suggest if any specific license is required to enable this feature? We are using this since long time.
I was able to enable this feature in 9K and 3K
08-19-2020 11:44 PM
- Presuming this feature is not available on the nexus 5000
On Cisco Nexus devices, command-line interfaces (CLIs) are run only on the device. NX-API 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
supports show commands, configurations, and Linux Bash.
NX-API supports JSON-RPC.
08-20-2020 08:30 AM
Hello!
Cisco Nexus 5000 and 6000 series switches introduced support for NX-API starting with NX-OS software release 7.2(0)N1(1). This is documented in the Cisco Nexus 5000 and 6000 Series NX-OS Programmability Guide.
I tested this in my lab on a Nexus 5672UP device running NX-OS software release 7.3(7)N1(1b) and confirmed that I was able to access the NX-API sandbox without issues. See below:
N5K-C5672UP# show module Mod Ports Module-Type Model Status --- ----- ----------------------------------- ---------------------- ----------- 1 48 Nexus 5672UP Supervisor N5K-C5672UP-SUP active * 2 6 Nexus 6xQSFP Ethernet Module N5K-C5672UP-M6Q ok Mod Sw Hw World-Wide-Name(s) (WWN) --- -------------- ------ --------------------------------------------------- 1 7.3(7)N1(1b) 1.0 -- 2 7.3(7)N1(1b) 1.0 -- N5K-C5672UP# show running-config nxapi !Command: show running-config nxapi !Time: Thu Aug 20 11:26:41 2020 version 7.3(7)N1(1b) feature nxapi nxapi https port 444 nxapi sandbox
Note the following two points:
I hope this helps - thank you!
-Christopher
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