Connectrix: MDS How to Enable REST-API on an MDS NX-API Switch
Resumen: How to configure REST-API on Connectrix MDS switch. Connectrix MDS 9000 NX-API is an RPC-style API for taking and running CLI commands. Based on HTTP or HTTPS protocols, as common to other Representational State Transfer (REST) API frameworks, it allows programmatic access to an MDS switch. ...
Este artículo se aplica a
Este artículo no se aplica a
Este artículo no está vinculado a ningún producto específico.
No se identifican todas las versiones del producto en este artículo.
Instrucciones
The following is the procedure to enable REST-API on a Connectrix MDS switch:
- Ensure that the switch is accessible through the management interface. See the Configuring the Management Interface section in the Cisco MDS 9000 Series Fundamentals Configuration Guide
to enable the management interface.
- Enable the NX-API Feature, enter into configuration mode, and enable NX-API:
switch# configure terminal switch(config)# feature nxapi
- Configure HTTP and HTTPS Ports for NX-API (Optional):
To configure the HTTP port:
switch(config)# nxapi http port 8080
To configure the HTTPS port:
switch(config)# nxapi https port 8443
- Install an Identity Certificate for NX-API HTTPS Connections (Optional):
Install a certificate with an unencrypted private key:
switch(config)# nxapi certificate certfile key keyfile
Install a certificate with an encrypted private key:
switch(config)# nxapi certificate certfile key keyfile password passphrase
Use an already installed certificate from the trustpoint repository:
switch(config)# nxapi trustpoint label
-
Verify NX-API Settings:
switch# show nxapi switch# show feature
To disable NX-API:
Switch# conf t switch(config)# no feature nxapi
NX-API may be accessed through the following URLs after it is configured on the MDS switch:
HTTP: http://switch_ip_address:port-number/ins HTTPs: https://switch_ip_address:port-number/ins
Información adicional
Productos afectados
Connectrix MDS-Series FirmwarePropiedades del artículo
Número del artículo: 000224000
Tipo de artículo: How To
Última modificación: 04 jun 2025
Versión: 3
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.