Automation and Programmability · Topic 4 of 7
AI and Machine Learning in Network Operations
Learn how generative and predictive AI and machine learning are used in network operations, with examples, limits and the importance of human review.
- 5 min
- Exam objective 6.4
- Machine learning learns patterns from data instead of following only fixed rules.
- Predictive AI forecasts events or detects anomalies from data such as telemetry.
- Generative AI creates new content, such as text, code or summaries, from prompts.
What it is
AI and machine learning help engineers handle the huge volume of data a network produces, which people cannot read in full.
Artificial intelligence (AI) is software that performs tasks which normally need human judgement, such as recognising patterns, making predictions or producing text. Machine learning (ML) is a part of AI in which a system learns from data instead of following only fixed rules written by a programmer.
Networks produce logs, counters, flow records, alerts and tickets. Software can read all of it. This topic explains the two kinds of AI that the objective names, predictive and generative, and where each is useful.
How it works
A model is trained on past data, and then either predicts what will happen or generates new content.
Machine learning basics
An ML system is trained on historical data. During training, it finds patterns in the data and builds a model.
Later, in inference, it applies the model to new data. The quality of the model depends heavily on the quality and quantity of the data it was trained on. Poor data produces poor results.
Common approaches include:
- Supervised learning: training on examples that are labelled with the right answer, such as past incidents marked as "link failure".
- Unsupervised learning: finding structure in data without labels, such as grouping similar behaviour together.
- Reinforcement learning: learning by trial and reward.
Predictive AI
Predictive AI uses models trained on past data to forecast what is likely to happen, or to spot what is unusual. It works with numbers and patterns. Examples in networking include:
- Anomaly detection: learning what normal traffic looks like for a site, and flagging deviations that could signal a fault or an attack.
- Failure prediction: noticing early signs, such as rising error counts, that a link or a device is about to fail.
- Capacity planning: forecasting when a link will fill up, so it can be upgraded in time.
- Baselining: building a picture of normal performance, so that alerts are triggered by real changes and not by fixed thresholds.
- Root cause analysis: correlating many alerts to find the one underlying problem.
- Wireless optimisation: adjusting channels and power based on observed conditions.
Controllers such as Cisco Catalyst Center include analytics of this kind to help with assurance.
Generative AI
Generative AI produces new content from a prompt. The best-known form is the large language model (LLM), which generates text, code and summaries in natural language. Examples in networking include:
- Natural-language assistants: an engineer asks "which access points had problems last night?" in plain words, and the assistant answers from network data.
- Summarising: turning a long log file or incident history into a short explanation.
- Drafting configuration and scripts: suggesting a template or an automation script from a description.
- Documentation: writing or updating network documentation and change descriptions.
- Troubleshooting guidance: proposing likely causes and next steps.
Comparing the two
| Feature | Predictive AI | Generative AI |
|---|---|---|
| Main output | A prediction, score or alert | New text, code or other content |
| Typical input | Telemetry, counters and logs | A prompt in natural language |
| Network example | Predicting a link failure | Drafting a configuration from a request |
| Main question | What will happen, or what is unusual? | What would a good answer look like? |
Limits and risks
AI is useful, but it must be used with care.
- Wrong or invented answers. Generative models can produce confident answers that are wrong. These are sometimes called hallucinations. A generated configuration must be checked before it is applied.
- Data privacy. Logs and configurations can contain sensitive details. Sending them to an external AI service may expose them.
- Bias and quality of data. A model trained on limited or poor data gives limited or poor answers.
- False alarms and missed events. Predictive models are not perfect.
- Explainability. It may be hard to understand why a model reached its answer.
- Accountability. The engineer remains responsible for what is changed in the network.
For these reasons, AI is best treated as an assistant. It speeds up analysis and drafting, and a person reviews and approves actions, especially any change to a production network.
What to remember for the exam
Eight points cover this objective.
- Machine learning learns patterns from data instead of following only fixed rules.
- Predictive AI forecasts events or detects anomalies from data such as telemetry.
- Generative AI creates new content, such as text, code or summaries, from prompts.
- Anomaly detection, failure prediction and capacity planning are predictive uses.
- Natural-language assistants and configuration drafting are generative uses.
- Generative output can be wrong, so it must be reviewed.
- Data quality strongly affects model quality.
- Sensitive network data needs protection when AI tools are used.
Forecasts and anomalies point to predictive AI. Anything that writes text, code or a summary points to generative AI.
Common mistakes
These five errors are the usual ones.
Treating generated configuration as correct. Always review and test it before use.
Mixing up predictive and generative. Predictive forecasts or detects. Generative creates content.
Believing AI replaces engineers. It supports them. Responsibility stays with people.
Ignoring data privacy. Do not paste passwords or private data into an external tool.
Expecting a model to be perfect. Predictions give probabilities, and mistakes occur in both directions.
A generated configuration can look confident and still be wrong. Always have a human review it before it reaches production.
Check yourself
Work through these three prompts.
What is the difference between predictive AI and generative AI, with one network example of each?
Predictive AI forecasts events or spots anomalies from data, such as predicting a link failure, while generative AI creates new content from a prompt, such as drafting a configuration.
Why should a configuration produced by a language model be reviewed before it is applied?
Generative models can produce confident answers that are wrong (hallucinations), so a person must check the configuration before it reaches production.
What happens to a model's results if the data it was trained on is poor?
Poor data produces poor results, because the quality of the model depends heavily on the quality and quantity of its training data.
Topic 4 of 7 in Automation and Programmability
Test yourself on Automation and Programmability
The full Cisco CCNA 200-301 question bank has 1,206 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Cisco. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.