•
Enable the management interface.
switch# conf t
switch(config)# interface mgmt 0
switch(config)# ip address 198.51.100.1/24
switch(config)# vrf context managment
switch(config)# ip route 203.0.113.1/0 1.2.3.1
•
Enable the NX-API nxapi feature.
switch# conf t
switch(config)# feature nxapi
switch(config)# nxapi sandbox
•
Open a browser and enter http://mgmt-ip to launch the NX-API Sandbox. The following figure is an example of a request and
output response.
Figure 1: NX-API Sandbox with Example Request and Output Response
In the NX-API Sandbox, you specify the commands, command type, and output type in the top pane. Click the POST Request button
above the left pane to post the request. Brief descriptions of the request elements are displayed below the left pane.
After the request is posted, the output response is displayed in the right pane.
5