Connectrix Cisco MDS: Rest API werkt niet, curl-opdracht retourneert HTTP 404 Not Found, webbrowser retourneert HTTP 404 Not Found
Summary: Voor NX-API op Cisco Nexus-apparaten worden opdrachtregelinterfaces (CLI's) alleen op het apparaat uitgevoerd. NX-API verbetert de toegankelijkheid van deze CLI's door ze buiten de switch beschikbaar te maken met behulp van HTTP of HTTPS. U kunt deze uitbreiding gebruiken voor het bestaande Cisco Nexus CLI-systeem op de Cisco Nexus 9000 serie apparaten. NX-API ondersteunt show-opdrachten, configuraties en Linux Bash. Toegang tot NX-API-functies op Connectrix Cisco MDS is via een webbrowser. ...
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
Na het inschakelen van de NX-API-functie op een MDS-switch, heeft de gebruiker geen toegang tot NXAPI via een webbrowser.
De volgende foutmelding wordt ontvangen:
Webbrowser retourneert HTTP 404 Not Found.
De volgende foutmelding wordt ontvangen:
Webbrowser retourneert HTTP 404 Not Found.
Cause
Zodra de NX-API-functie is ingeschakeld, moet een secundaire functie met de naam SANDBOX worden ingeschakeld. Zie het gedeelte Resolutie voor de juiste syntaxis.
Resolution
- Schakel NX-API uit en begin opnieuw.
MDS-9706# conf t
- Voer configuratieopdrachten in, één per regel. Eindig met CNTL/Z.
MDS-9706(config)# no feature nxapi
- Schakel NX-API opnieuw in met de volgende 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: Ingeschakelde
HTTP-poort: 8080 HTTPS-poort: 8443
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: Ingeschakelde
HTTP-poort: 8080 HTTPS-poort: 8443
Affected Products
Connectrix MDS-Series HardwareArticle 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.