Every interface to the APIC goes through the REST API - CLI, GUI, Python SDK, etc. When something does not appear to be working properly with the REST API, it can have significant impact on the system as a whole because it is the ONLY interface we have to the APIC. Knowing how to debug and troubleshoot the REST API can be extremely useful.
This document will detail some little known REST API query strings as well as indicate which logs on the APIC can be monitored to see what is going on with the REST API.
REST API Troubleshooting
All REST API queries go through the web server on node. Logs for web server are saved on the specific APIC or nodes that the REST APIC queries are being run against at:
On the APIC:
On fabric nodes:
These logs role over, so if something occurred a while ago you may have to go back in time and look at files that are compressed.
Having the REST API return what was modified by the POST request
You can have POST requests return what was modified rather than an empty imdata post using a rsp-subtree option set to full (it will return the entire modified Mo), modified (it will return only what was modified), or no (the default behavior of returning nothing). This can be useful in cases beyond debugging as well where you need the results of a dynamic configuration. This does have limits though. For example you can not get a full subtree for the polUni Mo for both GET or POST.
Hi, I am not able re-sequence the ACL on Nexus 7000.Getting below error.---------------------------------------resequence ip access-list testACLin 11 2ERROR: This operation is not allowed when user session is active Please help.
Hello Team,We have a typical requirement from business to avoid outage at our datacenter.For your reference i am attaching a visio about current and future setup planning.We have man links between our data centers currently 2 X 10 Gig links running on por...
We recently have purchased Nexus 93180YC-EX switches and require to use 100Mb port speed with the GLC-TE transceivers. The data sheet doesn't mention this switch can support 100Mb port. However another cisco discussion indicates it may be supported? ...
Hi!Today i've tried to configure up a ISL port-channel between an older Nexus 5548 and a brand new MDS 9148t. Now, the issue/problem is that on one fabric, everything works perfectly, and the port-channel is up and running with it's 2 members. O...