6.1 Explain the effect of automation on network operations
CCNA 200-301 v1.1 · 6.0 Automation and Programmability
Configuring hundreds of devices one CLI session at a time is slow and error-prone. Automation turns repeated tasks into code or templates that run the same way every time. For the CCNA you explain what it changes for network operations: speed, consistency, fewer human errors, and new skills for the people who run the network.
What you must know
- Name the benefits of automation: speed, consistency, scale, fewer errors, easier compliance.
- Describe typical tasks to automate: provisioning, configuration changes, backups, compliance checks, data collection.
- Explain configuration drift and how a source of truth prevents it.
- Describe the risks: a bad change spreads everywhere, so testing and review matter.
Why automate
A manual change on 200 switches takes days, and a typo on switch 147 may go unnoticed for months. A script or template applies the same change to every device in minutes, checks the result, and logs what it did. Devices that are configured by hand slowly drift apart (configuration drift); automation compares each device with a source of truth, such as a Git repository of intended configurations, and fixes differences.
One request from the script (1) becomes identical configuration on every device, and the same script can read the state back to prove it.
What changes for the team
| Before | With automation |
|---|---|
| Device-by-device CLI | Templates and APIs for many devices at once |
| Change windows with manual steps | Tested, peer-reviewed changes in version control (NetDevOps) |
| Screen-scraping show commands | Structured data (JSON, YANG models) from APIs |
| Configuration backups when someone remembers | Scheduled backups and compliance reports |
Automation also adds risk: a wrong template breaks every device at once. Changes are tested in a lab or a staging site, reviewed like code, and rolled out in stages. Engineers still need networking knowledge; they add Python, APIs, Git and tools like Ansible.
Commands
show archive | On IOS: the configuration archive, useful to compare versions. |
show running-config | include <pattern> | Spot-check a value that automation should keep consistent. |
Exam traps
- Automation does not remove the need for networking knowledge.
- A source of truth defines the intended state; automation enforces it.
- Errors scale with automation too: test before you deploy.
Check yourself
- What is configuration drift?
- Devices that should be configured alike slowly differing because of manual, one-off changes.
- Name three tasks that benefit from automation.
- Provisioning new devices, pushing configuration changes, backups, compliance checks, collecting data.
More topics in 6.0 Automation and Programmability
- 6.3 Describe how overlay, underlay and fabric make up a software-defined network
- 6.4 Explain where generative AI, predictive AI and machine learning fit in network operations
- 6.5 Describe REST API characteristics: authentication, CRUD, HTTP verbs, data encoding
- 6.6 Recognize what Ansible and Terraform do for configuration management
- 6.7 Recognize the building blocks of JSON data