DevNet Associate (DEVASC) v1.0Cisco Platforms and DevelopmentEasy
A network engineer wants to programmatically configure VLANs, interfaces, and routing protocols on a Cisco Nexus 9000 series switch. Which native programmability interface on NX-OS devices allows for configuration using structured data formats like XML or JSON?
- ACommand Line Interface (CLI)
- BNX-API REST
- CSNMPv3
- DTelnet/SSH
Show answer & explanationAnswer & explanation
Correct answer: B. NX-API REST
NX-API REST is a native programmability interface on Cisco Nexus switches running NX-OS. It allows for direct configuration and operational data retrieval using HTTP/HTTPS and supports structured data formats like XML and JSON.
Why the other options are wrong
- A. CLI uses unstructured text commands, not structured data.
- C. SNMPv3 is primarily for monitoring and limited configuration, not full programmatic configuration.
- D. Telnet/SSH provide access to the CLI, which is not a structured data interface.
NX-API REST
NX-API REST is a native RESTful API on Cisco Nexus switches running NX-OS, enabling programmatic interaction for configuration and operational data retrieval using HTTP/HTTPS and supporting data formats like XML and JSON.
- Native to NX-OS.
- Uses REST principles over HTTP/HTTPS.
- Supports XML and JSON for data exchange.
Memory trick: NX-OS speaks many languages, but NX-API REST is its native structured tongue.