Connectrix MDS:MDS NX-APIスイッチでREST-APIを有効にする方法
Summary: Connectrix MDSスイッチでREST-APIを設定する方法。 Connectrix MDS 9000 NX-APIは、CLIコマンドを取得および実行するためのRPCスタイルのAPIです。他のRepresentational State Transfer(REST)APIフレームワークと共通するように、HTTPまたはHTTPSプロトコルに基づいて、MDSスイッチへのプログラムによるアクセスを可能にします。 ...
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.
Instructions
Connectrix MDSスイッチでREST-APIを有効にする手順は次のとおりです。
- 管理インターフェイスからスイッチにアクセスできることを確認します 。管理インターフェイスを有効にするには
Cisco MDS 9000 Series Fundamentals Configuration Guideの「Configuring the Management Interface」の項を参照してください。
- NX-API機能を有効にし、設定モードを開始して、NX-APIを有効にします。
switch# configure terminal switch(config)# feature nxapi
- NX-APIのHTTPポートとHTTPSポートを設定します(オプション)。
HTTPポートを構成するには、次の手順を実行します。
switch(config)# nxapi http port 8080
HTTPSポートを設定するには、次の手順を実行します。
switch(config)# nxapi https port 8443
- 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
-
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
Additional Information
Affected Products
Connectrix MDS-Series FirmwareArticle Properties
Article Number: 000224000
Article Type: How To
Last Modified: 04 Jun 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.