Connectrix MDS: MDS NX-API 스위치에서 REST-API를 활성화하는 방법

Summary: Connectrix MDS 스위치에서 REST-API를 구성하는 방법 Connectrix MDS 9000 NX-API는 CLI 명령을 받고 실행하는 데 사용되는 RPC 스타일 API입니다. 다른 REST(Representational State Transfer) 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를 활성화하는 절차입니다.
  1. 관리 인터페이스를 통해 스위치에 액세스할 수 있는지 확인합니다. 관리 인터페이스를 활성화하려면 Cisco MDS 9000 Series 기본 구성 가이드이 하이퍼링크는 Dell Technologies 외부의 웹사이트로 연결됩니다. 의 관리 인터페이스 구성 섹션을 참조하십시오.
  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

Additional Information

Affected Products

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