Connectrix Cisco MDS: Rest API is not working, curl command is returning HTTP 404 Not Found, web browser is returning HTTP 404 Not Found

Summary: For NX-API 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 or 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. Access to NX-API features on Connectrix Cisco MDS is through a web browser. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

After enabling NX-API feature on an MDS switch, user is unable to access NXAPI using a web browser.

The following error is received:
Web browser is returning HTTP 404 Not Found.

Cause

Once NX-API feature is enabled, a secondary feature that is called SANDBOX must be enabled. See resolution section for correct syntax.

Resolution

  1. Disable NX-API and start again.
MDS-9706# conf t
  1. Enter configuration commands, one per line. End with CNTL/Z.
MDS-9706(config)# no feature nxapi
  1. Enable NX-API again with the following parameters:
MDS-9706(config)# feature nxapi

MDS-9706(config)# nxapi sandbox

MDS-9706(config)# nxapi http port 8080

MDS-9706(config)# nxapi https port 8443

MDS-9706(config)# show nxapi




NX-API: Enabled Sandbox: Enabled

HTTP Port: 8080 HTTPS Port: 8443

Affected Products

Connectrix MDS-Series Hardware
Article Properties
Article Number: 000190899
Article Type: Solution
Last Modified: 23 Sept 2021
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.