CCNA explainer C04: Agentic AI in network operations, and prompting it well
The CCNA v2.0 exam added two AI topics. Topic 5.1 asks you to describe the role of agentic AI in network operations. Topic 5.2 asks you to select a prompt for a generative AI system, judging it on data classification, output format, persona and instructions.
Generative AI and agentic AI
A generative AI model, such as a large language model, produces text in answer to a prompt. Ask it
what a show output means and it explains. It doesn’t act on anything.
An agentic AI system uses a model to pursue a goal in steps. It plans what to do, uses tools to
do it, looks at the results, and decides on the next step until the goal is met. In network operations
those tools might be read-only show commands, a monitoring system’s API, a ticketing system, or a
configuration push.
Where agents help in network operations
- Troubleshooting: gather
showoutput from every device on a path, correlate it, and suggest the likely fault. This is the same work as the troubleshooting labs in this series. - Monitoring and alert triage: group related alarms, suppress the noise, and open one useful ticket.
- Documentation: compare what CDP, LLDP and the configs report with what the documentation says.
- Change preparation: draft a configuration change and a rollback plan for an engineer to review.
Keeping a human in control
An agent that can change a network can also break one. Sensible deployments:
- start with read-only tools, and add change tools only once the agent’s suggestions prove reliable;
- require an engineer to approve every change before it is pushed;
- log every action the agent takes;
- check the agent’s conclusions against the evidence, because models can be confidently wrong.
The capstone lab in this series includes an AI assistant’s diagnosis for you to accept or reject.
Choosing a good prompt
When an exam question shows several prompts, the best one gets four things right.
| Element | What a good prompt does |
|---|---|
| Data classification | Leaves out or masks sensitive data (passwords, SNMP communities, keys, customer details) unless the AI system is approved for it |
| Output format | Says how the answer should look: a table, a numbered list, JSON, or a configuration snippet |
| Persona | Gives the model a role, such as “You are a senior network engineer reviewing a change” |
| Instructions | States the task, the context and the limits clearly, for example the platform, the IOS version and what not to change |
A weak prompt:
fix my ospfA strong prompt:
You are a senior network engineer. Two Cisco IOSv routers, R1 and R2, are not forming an OSPFv2adjacency on Gi0/1. Below is the output of "show ip ospf interface Gi0/1" from both routers, withpasswords removed. Identify the most likely cause, and give your answer as a numbered list of checksfollowed by the exact commands to fix it. Don't suggest changes to any other interface.The strong prompt sets a persona, gives the context, keeps secrets out, states the output format, and limits the scope.
What to remember for the exam
- Generative AI answers prompts. Agentic AI plans, uses tools, checks results and repeats until the goal is met.
- Agents help with troubleshooting, alert triage, documentation and change preparation, with a human approving changes.
- A good prompt handles data classification, output format, persona and instructions.