Cisco DCAUTO 300-635 study materials
Cisco DCAUTO 300-635 study resources

Cisco DCAUTO 300-635 cheat sheet

Cisco DCAUTO 300-635 · Keep the key ideas within reach.

Quick reference

Cisco ACI and NX-OS Automation with APIs and Scripting

  • ACI object model: fabric > tenant > VRF/BD/AP/EPG; EPGs are the policy containers, contracts define provider/consumer relationships, filters/subjects define traffic rules. Objects have a class (e.g., fvTenant) and a DN (distinguished name).

  • ACI REST API: base /api/, login POST /api/aaaLogin.json with {aaaUser:{attributes:{name,pwd}}}; response sets APIC-Cookie; include cookie in subsequent calls. Logout at /api/aaaLogout.json.

  • ACI query options: '?query-target=subtree', '?query-target-filter', '?rsp-subtree=children', '?rsp-subtree-class=...', '?rsp-subtree-include=faults,no-scoped'. Use these to fetch related objects in one call.

  • ACI POST/PUT semantics: POST to a DN creates or merges; DELETE to a DN removes; a POST to /api/mo/uni.json with a nested payload creates a hierarchy in one request. Use 'status':'created,modified' for explicit intent.

  • ACI faults: '?rsp-subtree-include=faults' returns faultInst objects; severity levels critical/major/minor/warning/info; '?query-target-filter=eq(faultInst.severity,"critical")' filters.

  • NX-OS NX-API: enable with 'feature nxapi'; default HTTP/HTTPS on 80/443; POST to /ins with JSON {ins_api:{type:'cli_show',chunk:'0',version:'1.0',input:'show version',output_format:'json'}}. 'cli_show_ascii' returns text.

  • NX-API message types: cli_show, cli_show_ascii, cli_conf (config commands). 'chunk' splits large outputs; 'sid' tracks async requests; 'output_format' selects json/xml.

  • NX-OS NETCONF: 'feature netconf' enables it; YANG models are published per release; use ncclient or similar to and . Not all CLI is modeled; check the model coverage.

  • Python tooling: requests for REST, ncclient for NETCONF, json for parsing, and the ACI cobra SDK or NX-OS SDK for object-level access. Always handle non-2xx HTTP status and parse the 'imdata' array from ACI responses.