CHAPTER 14
Troubleshooting NX-API
This chapter contains the following sections:
•
NX-API Guidelines, page 81
•
NX-API Is Not Responding, page 81
•
Configuration Fails, page 82
•
Permission Is Denied for Bash, page 82
•
Output Cannot Be Retrieved from the Browser Sandbox, page 82
•
CLI Command Errors Are Appearing, page 82
•
Error Messages Are Appearing, page 82
•
Temporary Files Are Disappearing, page 83
•
Chunks of the Command Output Are Not Being Delivered, page 83
NX-API Guidelines
NX-API performs authentication through a programmable authentication module (PAM) on the switch. Use
cookies to reduce the number of PAM authentications and thus reduce the load on PAM.
NX-API Is Not Responding
Take these actions if NX-API is not responding:
•
Make sure that NX-API is enabled by using the show feature | grep nxapi command.
•
Make sure that HTTP or HTTPs is enabled by using the show nxapi command.
•
Make sure that NX-API is listening on the expected port by using the show nxapi command.
•
Check for a long running command. Currently NX-API runs on a single worker process and is single
threaded. If one command takes a long time to complete, it will block other commands. NX-API caches
the request. When the current request completes, the others will be served.
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
81