API Sandbox Configuration for Cisco Nexus Platform | Exam 400-151

Enable API Sandbox on Cisco Nexus Platform Running NX-OS

Question

To test the API in a web browser, which commands must you configure to enable the feature API sandbox on the Cisco Nexus platform running NX-OS?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

The correct answer is C. switch(config)# feature nx-api and switch(config)# nx-api sandbox.

The NX-OS platform on Cisco Nexus switches supports the use of APIs (Application Programming Interfaces) to allow for the automation and scripting of various network operations. The API sandbox is a feature that provides a testing environment for developers to test their API scripts before deploying them in a production environment.

To enable the API sandbox feature on the Cisco Nexus platform running NX-OS, you need to first enable the nx-api feature using the command switch(config)# feature nx-api. This command enables the NX-API feature on the switch.

Next, you need to enable the API sandbox feature using the command switch(config)# nx-api sandbox. This command enables the API sandbox feature and creates a testing environment for developers to test their scripts.

Option A (switch(config)# feature nxapi and switch(config)# nxapi sandbox) is incorrect because the correct command is nx-api, not nxapi.

Option B (switch(config)# feature api and switch(config)# api sandbox) is incorrect because the correct feature name is nx-api, not api.

Option D (switch(config)# feature nxos-api and switch(config)# nxos-api sandbox) is incorrect because the correct feature name is nx-api, not nxos-api.