Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Automation and Artificial Intelligence

Direct answer

Automation and AI at ENCOR level: Python for scripting, JSON/YAML/XML data, YANG models with NETCONF and RESTCONF, controller APIs, EEM applets on the device, orchestration tools and how AI/ML assist operations.

When to use this

Use it as the entry point when automating configuration or data collection, or when a script, playbook or API call fails.

First 30 seconds

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.

Operational verification

source of truth → data validated → API or tool authenticated → change applied idempotently → state read back → matches intent

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Scope / prerequisiteUse it as the entry point when automating configuration or data collection, or when a script, playbook or API call fail…
What next?3 suggested next steps
Child topics (this level)12
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Troubleshooting approach Narrow the fault

Validate endpoint/method → auth → authorization → payload/schema → HTTP status/body → read back resulting state → compare against intended configuration.

Path: Networking → Automation and Artificial Intelligence. Local intent: Python, JSON, YANG, APIs, RESTCONF, EEM, orchestration and AI concepts.

Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

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.

Key checks
  • 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

AreaTopics
Programming basicsPython fundamentals, data structures, conditionals and functions
Data formatsJSON, YAML
InterfacesHTTP and REST, NETCONF, RESTCONF, YANG
Controller APIsCatalyst Center, Catalyst SD-WAN Manager
OrchestrationAgent and agentless models, automation workflows
AIAI-assisted operations, guardrails, risk management

Where AI fits, and where it needs control

UseBenefitRequired control
Summarising logs and incidentsFaster triageA human checks conclusions against raw data
Anomaly detection (baselines)Early warningTuned thresholds; known false-positive rates
Drafting configuration or scriptsSpeedReview, tests and a dry run before applying
Chat-based assistants with device accessConvenienceLeast privilege, read-only by default, audit logs

The AI RMF functions applied to network operations

FunctionExample in operations
GovernPolicy for which AI tools may access the network and with which rights
MapInventory of AI uses and their possible impact on availability and security
MeasureAccuracy of AI suggestions, with false-positive and false-negative rates
ManageRollback 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Confirmation

Confirm action

Continue?