Skip to content

CCNA course / See how automation fits in · Step 2 of 6

Guide: Configuration management, CI/CD and AI in network operationsSwitch

Guide

Configuration management, CI/CD and AI in network operations (CCNA and CCNP)

This guide explains how teams automate network configuration, validate changes, and use AI safely in operations. Treat automation and AI output as proposals to verify against the network and organizational policy.

6 parts · 50 practice questions

Ansible configuration management

Cisco's Catalyst 9300 IOS XE example uses an Ansible hosts file for device connection details and a YAML file for tasks. In its CLI example, the device is configured for SSH access, and Ansible connects to the CLI over SSH to run IOS commands. Cisco's example uses ansible_connection=network_cli and ansible_network_os=ios.

Ansible modules are reusable scripts, tasks call modules, a play can order multiple tasks, and a playbook contains multiple plays. Cisco's example uses ios_config to apply configuration commands and runs show commands in a separate playbook, registering and displaying their output. Run a playbook with ansible-playbook; Cisco's example runs the playbook filename directly. Cisco describes Ansible as agentless. Its IOS XE FAQ says Chef traditionally uses an installed agent and a cookbook, and notes Catalyst platforms do not support Chef agents.

References (2)

Configuration management tools and playbook structure

Cisco's Catalyst 9300 IOS XE example uses Ansible with a hosts file, YAML playbooks, SSH CLI access, and IOS commands. Modules are reusable scripts; tasks call modules; a play orders tasks; and a playbook contains plays. The example uses network_cli and ios as its connection variables, and ios_config for configuration commands. Plugin names and syntax can vary by Ansible collection and release.

Connection variables
network_cli and ios
Configuration module
ios_config

Cisco describes Ansible as an agentless configuration management tool. Chef recipes use a Ruby-based DSL, and cookbooks organize recipes. In the standard Chef Infra Client architecture, the client runs as a local agent and periodically pulls cookbooks and configuration from Chef Infra Server. Catalyst platforms do not support Chef agents.

References (5)

Git and CI/CD for network changes

Cisco describes Git and related repositories as source control for network automation changes. In the Cisco IOS XE workflow, engineers create a branch, publish proposed changes, and merge updates into the shared branch.

Cisco's IOS XE CI/CD example separates code, build, test, deploy, and validate phases. A pull request or merge can trigger the next phase; Cisco gives a webhook to Jenkins as an example. Test failures can stop the workflow, and post-deployment validation can trigger rollback. Cisco says deployment may be manual or automatic depending on whether Continuous Delivery or Continuous Deployment is used. Review and test network changes before deployment.

References (1)

Automation and AI operations fundamentals

Catalyst Center uses machine learning to learn characteristics of network parameters, define dynamic baselines, identify deviations, filter noise, and identify bottlenecks and issues. Cisco says its AI analytics can visualize anomalies and help determine root cause. These are analytics and troubleshooting aids, not proof that a security attack occurred.

Configuration protocol
NETCONF
Expired token response
HTTP 401 UNAUTHORIZED

Cisco's IOS XE Network as Code guide describes Terraform configuration for IOS XE: YAML files express desired device state, a Terraform module maps that data to IOS XE resources, and the IOS XE provider manages configuration over NETCONF. The example uses terraform apply, asks the operator to review and confirm, then pushes configuration to the device. This example uses local state and recommends a remote backend with state locking for team environments.

For Catalyst Center APIs, Cisco documents token-based authentication. Its API documentation says an expired token returns HTTP 401 UNAUTHORIZED and a new token must be requested. This is a Catalyst Center API example, not a general definition of every HTTP 401 response or of bearer tokens.

References (3)

Agentic AI in network operations

Cisco's Catalyst IOS XE command reference says show ip ospf neighbor reports FULL when devices are fully adjacent, their LSAs are exchanged, and their databases are synchronized. FULL therefore means the neighbor is not down, though it does not by itself prove that interface MTUs match. Cisco's OSPF troubleshooting guidance describes MTU mismatch as a cause of neighbors remaining in EXSTART or EXCHANGE. Verify AI recommendations against current device output and organizational change policy.

Fully adjacent OSPF state
FULL
States linked to MTU mismatch
EXSTART or EXCHANGE
IOS XE
show ip ospf neighbor
References (2)

Designing safe, useful AI prompts

The CCNA objective names four prompt components: data classification, output format, persona and instructions. The guidance below on applying each component is general practice, not a Cisco specification. A prompt asking a model to keep information confidential does not itself control data storage or reuse; those controls depend on the service and account settings. Generative AI output can be incorrect, so verify important technical information.

Practice this part:CCNA: AI Prompt Design (10)
References (3)

Check your understanding

Configuration management, CI/CD and AI in network operations (CCNA and CCNP)

All 6 sections · no timer

Unlimited retries

Questions from every section are combined into one assessment. Answer them all correctly to complete the article.

Your completion saves in this browser. Sign in to sync it to your account.