Connectrix MDS:MDS NX-APIスイッチでREST-APIを有効にする方法

Resumen: Connectrix MDSスイッチでREST-APIを設定する方法。 Connectrix MDS 9000 NX-APIは、CLIコマンドを取得および実行するためのRPCスタイルのAPIです。他のRepresentational State Transfer(REST)APIフレームワークと共通するように、HTTPまたはHTTPSプロトコルに基づいて、MDSスイッチへのプログラムによるアクセスを可能にします。 ...

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

Connectrix MDSスイッチでREST-APIを有効にする手順は次のとおりです。
  1. 管理インターフェイスからスイッチにアクセスできることを確認します 。管理インターフェイスを有効にするにはこのハイパーリンクをクリックすると、デル・テクノロジーズ以外のWebサイトにアクセスします。Cisco MDS 9000 Series Fundamentals Configuration Guideの「Configuring the Management Interface」の項を参照してください。
  2. NX-API機能を有効にし、設定モードを開始して、NX-APIを有効にします。
switch# configure terminal
switch(config)# feature nxapi
  1. NX-APIのHTTPポートとHTTPSポートを設定します(オプション)。
HTTPポートを構成するには、次の手順を実行します。
switch(config)# nxapi http port 8080
 HTTPSポートを設定するには、次の手順を実行します。
switch(config)# nxapi https port 8443
  1. NX-API HTTPS接続のID証明書のインストール(オプション): 
暗号化されていないプライベート キーを使用して証明書をインストールします。
switch(config)# nxapi certificate certfile key keyfile

暗号化されたプライベート キーを使用して証明書をインストールします。

switch(config)# nxapi certificate certfile key keyfile password passphrase

インストール済みの証明書を trustpoint リポジトリ:

switch(config)# nxapi trustpoint label
  1. NX-API設定を確認します

switch# show nxapi
switch# show feature


NX-APIを無効にするには、次の手順を実行します。 

Switch# conf t 
switch(config)# no feature nxapi

NX-APIには、MDSスイッチで構成した後、次のURLを介してアクセスできます。

HTTP: http://switch_ip_address:port-number/ins

HTTPs: https://switch_ip_address:port-number/ins

Información adicional

Productos afectados

Connectrix MDS-Series Firmware
Propiedades 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.