Use it as the entry point when automating configuration or data collection, or when a script, playbook or API call fails.
Automation and Artificial Intelligence
1. Which interface fails: script, API, controller or tool?
2. Reach and authenticate: curl -i to the API — 401/403 means credentials or permissions.
3. Request valid? 400 → check the JSON body against the model.
4. Dry run (Ansible --check, Terraform plan) shows the expected change only?
5. After the change, read back state through the API and compare with intent.
source of truth → data validated → API or tool authenticated → change applied idempotently → state read back → matches intent
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Troubleshooting approach Narrow the fault
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
Variables, types, expressions and basic script reading for network automation.
Subtopic Python Data StructuresLists, dictionaries, nested data and iterating structured network/API results.
Subtopic Python Conditionals & FunctionsBranching, loops and reusable functions for validation and data transformation.
Subtopic JSON & YAML DataStructured data representation used by APIs, inventories and automation systems.
Subtopic HTTP & REST API FundamentalsResources, URIs, methods, status codes, headers, authentication and idempotency concepts.
Subtopic NETCONF (CCNA)Model-driven configuration protocol using structured XML RPC operations and datastores over a secure transport.
Subtopic RESTCONF (CCNA)HTTP-based access to YANG-modeled configuration and operational data.
Subtopic YANG ModelsHierarchical containers, lists, leaves, types and constraints that describe network configuration/state data.
Subtopic Catalyst Center APIsAPI-driven inventory, assurance and automation workflows around Cisco Catalyst Center.
Subtopic Catalyst SD-WAN Manager APIsAPI-driven access to SD-WAN inventory, monitoring, policy/workflow objects and operational data.
Subtopic Automation, Orchestration & AIIdempotency, source of truth, validation, orchestration workflows and responsible use of AI-generated suggestions.
Subtopic Agent vs Agentless OrchestrationCompare agent-based and agentless orchestration models, operational dependencies and tradeoffs.
Automation is only as good as its inputs: a source of truth, validated data, idempotent changes (running twice gives the same result), a dry run first and read-back verification after. Prefer APIs and structured data over screen-scraping CLI output.
curl -sk -u <user>:<pw> -H 'Accept: application/yang-data+json' https://<device>/restconf/data/ietf-interfaces:interfaces— RESTCONF read.curl -i— HTTP status code and headers (200 OK, 201 Created, 204 No Content, 400, 401, 403, 404).python3 -m json.tool < file.json/jq . file.json— JSON valid and readable.show netconf-yang status/show platform software yang-management process— device API agents running.show ip http server status— HTTPS server for RESTCONF.
ReferenceWhat it is1 section · depth on demand
What it is
Automation turns repeatable operational intent into reviewed, testable code or declarative state. Good infrastructure automation validates prerequisites, handles current state safely, records results and verifies the intended outcome instead of assuming every run starts from a blank system.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Automation and AI in network operations
Automation turns repeatable intent into reviewed, testable code or declarative state. AI is now increasingly part of the same toolchain, through assistants, anomaly detection and generated configuration. Using AI in operations is a risk-management question as much as a technical one. NIST's AI Risk Management Framework (AI RMF 1.0, January 2023) is a voluntary framework for managing AI risks to people, organisations and society. Its core functions are Govern, Map, Measure and Manage. NIST added a Generative AI Profile, NIST AI 600-1, in July 2024.
Automation and AI topics in this reference
| Area | Topics |
|---|---|
| Programming basics | Python fundamentals, data structures, conditionals and functions |
| Data formats | JSON, YAML |
| Interfaces | HTTP and REST, NETCONF, RESTCONF, YANG |
| Controller APIs | Catalyst Center, Catalyst SD-WAN Manager |
| Orchestration | Agent and agentless models, automation workflows |
| AI | AI-assisted operations, guardrails, risk management |
Where AI fits, and where it needs control
| Use | Benefit | Required control |
|---|---|---|
| Summarising logs and incidents | Faster triage | A human checks conclusions against raw data |
| Anomaly detection (baselines) | Early warning | Tuned thresholds; known false-positive rates |
| Drafting configuration or scripts | Speed | Review, tests and a dry run before applying |
| Chat-based assistants with device access | Convenience | Least privilege, read-only by default, audit logs |
The AI RMF functions applied to network operations
| Function | Example in operations |
|---|---|
| Govern | Policy for which AI tools may access the network and with which rights |
| Map | Inventory of AI uses and their possible impact on availability and security |
| Measure | Accuracy of AI suggestions, with false-positive and false-negative rates |
| Manage | Rollback plans; switching AI features off when they misbehave |
dev$ git checkout -b change/vlan-130
dev$ ansible-playbook site.yml --check --diff --limit acc-2f-01
dev$ pytest tests/ -q
dev$ git push origin change/vlan-130
The same safeguards apply whether a change was written by a person or suggested by AI: version control, a dry run with a diff, automated tests and review before deployment.
Documented example, not captured output.
Quick reference
Automation replaces repetitive manual work with tools that apply changes consistently and verify the result. It ranges from small scripts to full controllers and is increasingly supported by AI that helps analyse data and suggest actions. The goal is fewer errors, faster changes and better insight, while engineers stay in control of what changes in the network.
Automation and AI in networking: from scripts (Python, Ansible) and APIs (REST, NETCONF/RESTCONF with YANG) to controllers (Catalyst Center, SD-WAN Manager, Meraki) and AI features (anomaly detection, root-cause suggestions, natural-language assistants).
Foundations: source of truth (NetBox/IPAM), version control (Git), templates (Jinja2), testing (pyATS, Batfish), CI/CD pipelines, and secrets management.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation and Artificial Intelligence. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%