Showing posts with label Cisco SD-WAN. Show all posts
Showing posts with label Cisco SD-WAN. Show all posts

Friday, 14 August 2026

Top 10 Cisco SD-WAN Multiple Choice Questions (MCQs) with Answers and Explanations

 Cisco SD-WAN's (Viptela-based) architecture separates control, management, orchestration, and data planes in a way that's genuinely different from traditional WAN routing. The following ten questions cover the concepts that come up most often in interviews, certification prep, and real production troubleshooting — controller roles, OMP, TLOCs, BFD, and centralized policy.


Question 1

What is the PRIMARY function of the vBond orchestrator in a Cisco SD-WAN deployment?

Options

A. It distributes centralized data policy to all edge devices

B. It authenticates and orchestrates initial connectivity between edge devices, vSmart, and vManage

C. It stores the full routing table for the entire overlay

D. It performs deep packet inspection on branch traffic

Correct Answer

B. It authenticates and orchestrates initial connectivity between edge devices, vSmart, and vManage

Explanation

vBond is the first point of contact for any device joining the SD-WAN fabric — it validates certificates/identity and tells a new edge device how to reach the vSmart controllers and vManage. It doesn't carry ongoing control-plane routing information or policy itself; that's vSmart's job.


Question 2

Which controller is responsible for distributing routing and policy information to edge routers via OMP?

Options

A. vBond

B. vManage

C. vSmart

D. vAnalytics

Correct Answer

C. vSmart

Explanation

vSmart acts as the centralized control-plane controller, similar in concept to a route reflector. It receives OMP routes from every edge device, applies centralized policy, and distributes the resulting routing/policy information back out to relevant edges — edges never need a full mesh of direct control-plane sessions with each other.


Question 3

What does a TLOC (Transport Locator) represent in Cisco SD-WAN?

Options

A. A logical grouping of branches in the same region

B. The combination of a WAN edge's IP address, link color, and encapsulation that identifies a specific transport path

C. The tunnel used exclusively for control-plane traffic to vSmart

D. A backup route used only during failover

Correct Answer

B. The combination of a WAN edge's IP address, link color, and encapsulation that identifies a specific transport path

Explanation

A TLOC uniquely identifies one transport connection on an edge device — for example, the MPLS circuit versus the Internet circuit on the same router are two separate TLOCs. OMP advertises routes with their associated TLOC(s), which is how the overlay knows which underlay path(s) can reach a given prefix.


Question 4

What is the role of OMP (Overlay Management Protocol) in Cisco SD-WAN?

Options

A. It replaces BFD for path liveness detection

B. It is the control-plane protocol that distributes routes, TLOC information, and policy between vSmart and edge devices

C. It is used only for zero-touch provisioning

D. It handles QoS marking on the underlay

Correct Answer

B. It is the control-plane protocol that distributes routes, TLOC information, and policy between vSmart and edge devices

Explanation

OMP is purpose-built for SD-WAN — edge devices advertise their local routes and TLOCs to vSmart via OMP, vSmart applies centralized policy, and then re-advertises the resulting routes back to the appropriate edges. It's conceptually similar to BGP but designed specifically for the overlay/underlay separation SD-WAN relies on.


Question 5

A branch's MPLS and Internet tunnels are both administratively up, but application-aware routing isn't failing traffic over during a brief MPLS degradation. What should be checked FIRST?

Options

A. Whether NAT is enabled on the Internet transport

B. The SLA class thresholds configured for that traffic's data policy — they may be too loose to trigger failover for the degradation observed

C. Whether OMP is enabled on the Internet TLOC

D. The device's software version

Correct Answer

B. The SLA class thresholds configured for that traffic's data policy — they may be too loose to trigger failover for the degradation observed

Explanation

Application-aware routing only reroutes traffic when measured loss/latency/jitter breaches the specific SLA class thresholds tied to that traffic's policy. If the degradation is real but stays under those thresholds, failover simply won't trigger — this is one of the most common causes of "why didn't it fail over" tickets.


Question 6

What is the purpose of BFD (Bidirectional Forwarding Detection) in Cisco SD-WAN?

Options

A. To encrypt tunnel traffic between edge devices

B. To rapidly detect loss of connectivity on a transport/tunnel so the overlay can react quickly

C. To assign VLANs to LAN-side interfaces

D. To perform zero-touch certificate rotation

Correct Answer

B. To rapidly detect loss of connectivity on a transport/tunnel so the overlay can react quickly

Explanation

BFD runs continuously across each SD-WAN tunnel and detects failures far faster than routing protocol hello/dead timers alone would. A BFD session going down is typically the first, fastest signal that a specific transport path has a problem — before application-aware routing metrics even catch up.


Question 7

What is the KEY difference between centralized and localized policy in Cisco SD-WAN?

Options

A. Centralized policy only affects the LAN side; localized policy only affects the WAN side

B. Centralized policy is built and pushed from vManage/vSmart and applies overlay-wide routing/security decisions; localized policy is device-specific and configured directly on an edge (e.g., ACLs, QoS on local interfaces)

C. Localized policy requires a separate vSmart cluster

D. Centralized policy cannot affect application-aware routing

Correct Answer

B. Centralized policy is built and pushed from vManage/vSmart and applies overlay-wide routing/security decisions; localized policy is device-specific and configured directly on an edge (e.g., ACLs, QoS on local interfaces)

Explanation

Centralized policy (built in vManage, distributed via vSmart) controls things like which sites can reach each other, application-aware routing behavior, and traffic engineering across the whole fabric. Localized policy is scoped to a single device — things like an interface ACL or QoS scheduler that only makes sense configured per-router.


Question 8

During Zero Touch Provisioning (ZTP), what does a new edge device contact FIRST?

Options

A. vManage directly, to download its configuration template

B. vSmart directly, to establish OMP peering

C. vBond, to authenticate and be redirected to the correct vSmart/vManage

D. A DNS server to resolve the nearest data center

Correct Answer

C. vBond, to authenticate and be redirected to the correct vSmart/vManage

Explanation

ZTP always starts with the device reaching vBond — using a pre-provisioned vBond address, often resolved via a well-known DNS name. vBond validates the device's identity and redirects it to the appropriate vSmart controllers and vManage, at which point the device downloads its template and establishes full control-plane connectivity.


Question 9

What does enabling Direct Internet Access (DIA) at a branch allow?

Options

A. The branch can break out to the Internet locally instead of backhauling all Internet-bound traffic through a central hub

B. The branch bypasses vSmart entirely for all traffic

C. DIA disables BFD monitoring on that transport

D. DIA is only available on branches with a single transport

Correct Answer

A. The branch can break out to the Internet locally instead of backhauling all Internet-bound traffic through a central hub

Explanation

DIA lets a branch send Internet/SaaS-bound traffic directly out its local Internet transport rather than routing it back through a regional or central hub first. This reduces latency for cloud/SaaS applications significantly, but shifts more security responsibility to the branch itself, since traffic no longer passes through centralized inspection by default.


Question 10

What is the fundamental distinction between the "underlay" and the "overlay" in SD-WAN?

Options

A. The underlay is the physical/logical transport network (MPLS, Internet, LTE) carrying packets; the overlay is the logical tunnel mesh (IPsec/GRE) built on top of it that the SD-WAN policy and routing operate within

B. The underlay only exists at the data center; branches only participate in the overlay

C. The overlay refers exclusively to the vManage management network

D. There is no meaningful difference — the terms are interchangeable in Cisco SD-WAN

Correct Answer

A. The underlay is the physical/logical transport network (MPLS, Internet, LTE) carrying packets; the overlay is the logical tunnel mesh (IPsec/GRE) built on top of it that the SD-WAN policy and routing operate within

Explanation

The underlay is whatever WAN transport actually exists between sites — SD-WAN doesn't need to control or even fully trust it. The overlay is the encrypted tunnel fabric SD-WAN builds on top, which is where OMP routing, application-aware routing, and centralized policy actually operate — abstracting the messy reality of the underlay away from the routing decisions.


Key Takeaways

Controller Roles

  • vBond = authentication and orchestration entry point (first contact during ZTP)
  • vSmart = centralized control plane, OMP route/policy distribution
  • vManage = configuration, monitoring, and centralized policy authoring

Core Concepts

  • TLOC = a specific transport path's identity (IP + color + encapsulation)
  • OMP = the control-plane protocol tying it all together
  • BFD = fast failure detection underneath application-aware routing decisions

Policy and Design

  • Centralized policy = overlay-wide decisions from vManage/vSmart
  • Localized policy = per-device configuration (ACLs, QoS)
  • DIA trades centralized inspection for lower-latency local breakout

Architecture

  • Underlay = the physical/carrier transport; Overlay = the encrypted tunnel fabric SD-WAN actually routes within

Conclusion

These ten questions cover the concepts that separate engineers who can click through vManage from engineers who genuinely understand why the overlay behaves the way it does — controller roles, OMP, TLOCs, and SLA-class-driven failover all come up constantly in real troubleshooting. Use these as a quick self-check before an interview, a certification study session, or your next production change window.


Related Reading on Networklearner:


Need help with SD-WAN, Cisco ACI, Nexus, data center networking, or network automation?

I am a CCIE Data Center engineer with 18+ years of enterprise networking experience, working hands-on with production SD-WAN and ACI environments.

Contact me for consulting, troubleshooting, design reviews, and project support: rockingoa@gmail.com

Tuesday, 11 August 2026

Anatomy of an AI Agent for Cisco SD-WAN: 20+ Knowledge Assessment Questions & Answers

 Anatomy of an AI Agent for Cisco SD-WAN: Knowledge Assessment for Network Engineers

1. Introduction

AI agents are becoming increasingly relevant to network operations. For Cisco SD-WAN engineers, concepts such as planning, RAG, tool calling, ReAct, memory, context windows, Human-in-the-Loop, and multi-agent orchestration can be connected directly to real-world network troubleshooting.

Imagine receiving an alert:

"The SD-WAN tunnel between Branch-101 and the data center is experiencing intermittent packet loss."

A traditional troubleshooting process might involve checking the SD-WAN Manager, tunnel status, BFD sessions, control connections, application-aware routing, interface statistics, routing information, and device logs.

An AI agent could potentially coordinate these investigation steps using approved tools.

This assessment takes the concepts from the Anatomy of an Agent knowledge assessment and adapts them to Cisco SD-WAN scenarios. The original material focuses on concepts including Plan-and-Execute, System Prompt, RAG, Context Window, termination conditions, tool descriptions, ReAct Observation, memory, and Supervisor orchestration.
Try answering each question before checking the answer.

2. Question 1 – Plan-and-Execute in Cisco SD-WAN

An AI agent is asked to investigate why a branch application is experiencing poor performance over Cisco SD-WAN.

Before taking any action, the agent creates a troubleshooting roadmap:

1. Check device health
2. Check WAN interface status
3. Check control connections
4. Check BFD sessions
5. Check tunnel statistics
6. Check application-aware routing
7. Check packet loss and latency
8. Analyze the findings
9. Recommend remediation

What is the primary benefit of this approach?

A. It eliminates the need for SD-WAN Manager

B. It allows the agent to create an explicit roadmap before acting, making complex tasks more manageable

C. It guarantees that the network problem will be fixed

D. It removes the need for network engineers

Answer: B – It allows the agent to create an explicit roadmap before acting, making complex tasks more manageable.

This reflects the Plan-and-Execute concept from the source assessment, where separating planning from execution provides an explicit roadmap for complex tasks.

3. Question 2 – System Prompt for a Cisco SD-WAN Agent

You are building an AI agent for Cisco SD-WAN operations.

The agent should be able to investigate device health, routing, BFD, and tunnel status, but it must not make production configuration changes without authorization.

Which component should define these rules?

A. Context Window

B. RAG

C. System Prompt

D. Memory

Answer: C – System Prompt

The System Prompt defines the agent's identity, scope, and behavioral guidelines.

For example:

You are a Cisco SD-WAN troubleshooting assistant.

You may:
- Read operational information
- Analyze SD-WAN health
- Investigate connectivity problems
- Recommend remediation

You must:
- Follow approved procedures
- Request human approval before production changes
- Explain the evidence behind your recommendation

4. Question 3 – RAG for Cisco SD-WAN

A company wants its AI agent to use the organization's latest SD-WAN design documents, troubleshooting procedures, security standards, change-management policies, and approved runbooks.

Which capability would be most appropriate?

A. RAG

B. Context Window

C. Iteration Limit

D. Tool Description

Answer: A – RAG

RAG, or Retrieval-Augmented Generation, allows an agent to access current and organization-specific knowledge.

For a Cisco SD-WAN environment, a RAG knowledge base could contain:

  • SD-WAN design documents
  • WAN standards
  • Troubleshooting runbooks
  • Change procedures
  • Security policies
  • Branch deployment standards
  • Previous incident reports
  • Internal operational documentation

5. Question 4 – Context Window

An AI agent is troubleshooting a Cisco SD-WAN connectivity problem.

It needs to consider:

  • Previous tool results
  • BFD status
  • Control connections
  • Tunnel information
  • Routing information
  • Interface statistics
  • Current conversation

What does the context window represent?

A. The physical memory available on an SD-WAN router

B. The time for which an SD-WAN tunnel remains active

C. The span of tokens the model can consider at one time when making decisions

D. The maximum number of SD-WAN sites supported

Answer: C – The span of tokens the model can consider at one time when making decisions.

This is the definition used in the source assessment.

For a network engineer, you can think of the context window as the information the AI can consider while making its current decision.

6. Question 5 – Agent Termination

An AI agent is troubleshooting an SD-WAN tunnel.

Which of the following is NOT a valid termination condition for the agent loop?

A. The requested troubleshooting task has been completed

B. The maximum iteration limit has been reached

C. The agent's confidence level drops below a configured threshold

D. The agent receives approval to continue

Answer: D – The agent receives approval to continue.

Approval to continue means the agent can proceed; it does not itself represent a termination condition.

The source assessment makes the same distinction.

7. Question 6 – Detecting an Agent Loop

An AI agent is troubleshooting an SD-WAN tunnel.

The activity trace shows:

Iteration 3
Action: Check BFD session
Observation: Request timed out

Iteration 4
Action: Check BFD session
Observation: Request timed out

Iteration 5
Action: Check BFD session
Observation: Request timed out

What problem is the agent demonstrating?

A. Successful termination

B. A loop

C. Human-in-the-Loop

D. RAG failure

Answer: B – A loop

The agent is repeatedly performing the same action without making progress.

Mechanisms such as:

  • Iteration limits
  • Action-history tracking
  • Repeated-action detection
  • Fallback strategies

can help prevent an agent from getting stuck.

The source assessment uses a similar repeated-action trace to test this concept.

8. Question 7 – Tool Description

An AI agent has access to the following Cisco SD-WAN tools:

get_device_health
get_bfd_status
get_tunnel_statistics
get_route_information

Why is the description field in a tool schema important?

A. It determines how fast the tool executes

B. It helps the LLM determine when to use the tool

C. It changes the SD-WAN device configuration

D. It automatically increases WAN bandwidth

Answer: B – It helps the LLM determine when to use the tool.

The source assessment specifically identifies the tool description as helping the LLM decide when to use one tool versus another.

For example:

get_bfd_status:
Retrieve the operational state, packet loss,
latency, and session status of SD-WAN BFD sessions.

A clear description makes tool selection easier for the agent.

9. Question 8 – Selecting the Correct SD-WAN Tool

An engineer asks:

"Show me the current BFD session status between Branch-101 and the data center."

Which tool would be most appropriate?

A. get_route_information

B. get_bfd_status

C. change_sdwan_policy

D. send_email

Answer: B – get_bfd_status

The agent should select the tool whose purpose most closely matches the requested operation.

10. Question 9 – Tool Categories

Match each SD-WAN agent activity with the appropriate tool category.

SD-WAN ActivityTool Category
Retrieve tunnel statisticsRetrieval
Apply an approved SD-WAN policy changeExecution
Request engineer approvalCommunication
Extract structured information from raw device logsPerception

Answer:

  • Retrieve tunnel statistics → Retrieval
  • Apply an approved policy change → Execution
  • Request engineer approval → Communication
  • Extract structured information from raw logs → Perception

These categories follow the tool-category structure used in the source assessment.

11. Question 10 – Perception Tool

An AI agent receives thousands of unstructured Cisco SD-WAN device log messages.

It needs to extract:

Device
Interface
Timestamp
Event
Severity
Error condition

Which tool category would be most appropriate?

A. Retrieval

B. Execution

C. Communication

D. Perception

Answer: D – Perception

Perception is appropriate when the agent needs to interpret unstructured information and extract useful structured information.

The source assessment uses extraction of structured data from unstructured syslog as the example for Perception.

12. Question 11 – ReAct Observation

An AI agent troubleshooting Cisco SD-WAN follows this pattern:

Thought
   ↓
Action
   ↓
Observation

The agent calls an SD-WAN monitoring API to retrieve BFD statistics.

What is the purpose of the Observation step?

A. Generate the final answer immediately

B. Receive and process the result of the tool call

C. Restart the SD-WAN device

D. Delete the previous action

Answer: B – Receive and process the result of the tool call

The source assessment defines Observation in ReAct as receiving and processing the result of a tool call.

Example:

Thought:
I need to determine whether packet loss is affecting the tunnel.

Action:
get_bfd_status()

Observation:
BFD session is up, but packet loss is 8%.

The observation provides new information that can influence the next decision.

13. Question 12 – SD-WAN Agent Memory

An AI agent has already checked:

Device health
WAN interface
Control connection
BFD
Tunnel status
Routing table

The agent should avoid repeating the same checks unnecessarily.

Which capability helps retain information about previous actions and results?

A. Memory

B. BFD

C. OMP

D. IPsec

Answer: A – Memory

Memory can help the agent maintain relevant information about its previous investigation.

For a network engineer, think of it as the agent maintaining a troubleshooting history.

14. Question 13 – Short-Term Investigation Context

During an SD-WAN troubleshooting session, the agent has established:

Branch-101 WAN interface → Up
Control connection → Up
BFD → Up
Packet loss → 8%

The agent needs this information when deciding what to investigate next.

Which capability is most directly related to maintaining the current investigation information?

A. Working context / short-term memory

B. OMP

C. IPsec

D. Application-aware routing

Answer: A – Working context / short-term memory

The agent needs the current investigation context so it can make decisions based on what it has already discovered.

15. Question 14 – Supervisor Architecture

A large enterprise wants to create an AI-powered network operations platform containing specialized agents:

SD-WAN Troubleshooting Agent
Security Agent
Performance Agent
Incident Management Agent

Each agent has specialized tools and domain knowledge.

The organization wants a central agent to coordinate these specialized workers and maintain accountability for the overall task.

Which orchestration pattern is most appropriate?

A. Peer-to-peer

B. Hierarchical routing only

C. Supervisor

D. Single agent

Answer: C – Supervisor

A Supervisor architecture uses a central agent to coordinate specialized worker agents.

The source assessment similarly identifies Supervisor as appropriate when multiple specialized functions need coordination and a clear point of accountability.

16. Question 15 – Human-in-the-Loop for SD-WAN

An AI agent determines that an SD-WAN centralized policy needs to be modified.

The change could affect traffic forwarding for hundreds of branch sites.

What should the agent ideally do before making the production change?

A. Apply the change immediately

B. Restart all WAN routers

C. Request appropriate human approval

D. Delete the existing policy

Answer: C – Request appropriate human approval

A safer workflow is:

Investigate
    ↓
Analyze
    ↓
Recommend
    ↓
Human Approval
    ↓
Execute
    ↓
Verify

This is especially important for centralized SD-WAN policies because a single policy change can potentially affect many sites.

17. Question 16 – SD-WAN Agent Safety

An AI agent identifies a possible routing problem and recommends changing a production SD-WAN policy.

Which approach is safest?

A. Give the agent unrestricted administrator access

B. Allow the agent to make any change automatically

C. Use controlled permissions and require approval for high-impact changes

D. Disable logging so the agent can operate faster

Answer: C – Use controlled permissions and require approval for high-impact changes.

The agent should have only the permissions necessary for its assigned role.

18. Question 17 – Agent Cannot Access SD-WAN Data

An AI agent is investigating a branch connectivity issue, but its monitoring API repeatedly returns a timeout.

What should the agent ideally do?

A. Continue calling the same API indefinitely

B. Invent the missing data

C. Use an approved fallback or escalate to a human

D. Modify the SD-WAN policy automatically

Answer: C – Use an approved fallback or escalate to a human

A well-designed agent needs a defined failure-handling strategy.

For example:

API Failure
    ↓
Retry within limit
    ↓
Try approved alternative source
    ↓
If still unavailable
    ↓
Escalate

19. Question 18 – SD-WAN Tunnel Investigation

An engineer reports:

"Branch-101 is experiencing poor application performance."

The AI agent discovers:

WAN interface → Up
Control connection → Up
BFD → Up
Tunnel → Up
Packet loss → 8%
Latency → Significantly higher than baseline

What should the agent do next?

A. Immediately reboot the SD-WAN router

B. Investigate the WAN path and available transport characteristics

C. Delete the SD-WAN policy

D. Replace the branch router

Answer: B – Investigate the WAN path and available transport characteristics

The observations indicate that basic connectivity is available, but path quality may be affecting application performance.

The agent should continue its investigation rather than immediately changing configuration.

20. Question 19 – RAG vs Live SD-WAN Data

An SD-WAN engineer asks:

"What is our organization's approved process for changing a centralized SD-WAN policy?"

Which source would be most appropriate?

A. Generic model knowledge only

B. Organization-specific knowledge retrieved through RAG

C. Random internet content

D. Current BFD statistics

Answer: B – Organization-specific knowledge retrieved through RAG

This is an important distinction:

RAG
 ↓
Organizational knowledge

SD-WAN APIs / Monitoring
 ↓
Current operational state

A capable agent could use both.

21. Question 20 – Complete AI Agent Workflow

Which sequence best represents a well-designed AI agent investigating a Cisco SD-WAN incident?

A.

Change → Guess → Stop

B.

Goal → Plan → Tool → Observe → Analyze → Next Action → Verify → Stop

C.

Login → Change → Logout

D.

Prompt → Modify Policy → Restart Device

Answer: B – Goal → Plan → Tool → Observe → Analyze → Next Action → Verify → Stop

This sequence combines the major concepts covered by the original Anatomy of an Agent assessment.

22. Bonus Question – Think Like a SD-WAN Engineer

An AI agent reports:

"I am 98% confident that the centralized SD-WAN policy is causing the application problem."

Should the network engineer automatically deploy the proposed change?

A. Yes, because the confidence is 98%

B. Yes, because AI systems do not make networking mistakes

C. No. Validate the evidence and follow the organization's change-control process

D. No, because AI can never troubleshoot SD-WAN

Answer: C – Validate the evidence and follow the organization's change-control process.

AI confidence should not replace engineering judgment.

For production changes, the engineer should review:

  • Evidence
  • Impact
  • Scope
  • Proposed change
  • Rollback plan
  • Change window
  • Approval requirements

23. Quick Answer Key

QuestionAnswer
Q1B
Q2C
Q3A
Q4C
Q5D
Q6B
Q7B
Q8B
Q9Matching
Q10D
Q11B
Q12A
Q13A
Q14C
Q15C
Q16C
Q17C
Q18B
Q19B
Q20B
BonusC

24. Cisco SD-WAN Concepts That an AI Agent Could Potentially Investigate

For a Cisco SD-WAN engineer, an AI agent could potentially be given controlled access to information related to:

  • SD-WAN Manager health
  • WAN Edge devices
  • Control connections
  • BFD sessions
  • OMP information
  • IPsec tunnels
  • Routing information
  • Transport interfaces
  • Application-aware routing
  • SLA information
  • Packet loss
  • Latency
  • Jitter
  • Device alarms
  • Interface statistics
  • Centralized policies
  • Localized policies
  • Configuration templates
  • Device logs

This is where your existing networking knowledge becomes valuable.

You already know what these objects mean. The AI-agent layer adds a mechanism for collecting, correlating, and reasoning over that information.

25. Example: AI Agent Troubleshooting a Cisco SD-WAN Application

Consider this real-world scenario:

"Users at Branch-101 report that the ERP application is slow."

A traditional troubleshooting process might look like:

Check Branch Router
       ↓
Check Interface
       ↓
Check BFD
       ↓
Check Tunnel
       ↓
Check Routing
       ↓
Check Application-Aware Routing
       ↓
Check Loss / Latency / Jitter
       ↓
Check Logs

An AI agent could potentially coordinate the same workflow.

Step 1 – Understand the Objective

The objective is not simply:

"Check the router."

The actual objective is:

"Determine why the ERP application is experiencing degraded performance."

Step 2 – Create a Plan

Application
   ↓
Path
   ↓
Transport
   ↓
Tunnel
   ↓
Routing
   ↓
Device

Step 3 – Call Tools

The agent retrieves operational information.

Step 4 – Observe

Suppose it discovers:

BFD → Up
Tunnel → Up
Packet Loss → High
Latency → High

Step 5 – Reason

The agent determines that connectivity exists but path quality is degraded.

Step 6 – Retrieve Organizational Knowledge

RAG provides the company's approved troubleshooting procedure.

Step 7 – Recommend

The agent presents the evidence and recommended next step.

Step 8 – Human Approval

If a policy modification is required, the engineer reviews and approves it.

Step 9 – Execute

Only the authorized action is performed.

Step 10 – Verify

The agent checks whether application performance has improved.

Step 11 – Terminate

The investigation ends when the defined success condition is met.

26. Why This Is Different From Traditional SD-WAN Automation

Traditional automation usually follows predefined logic.

For example:

IF BFD DOWN
THEN
Raise Alert

An AI agent can potentially work with a broader goal:

"Investigate why this application is performing poorly."

It may determine that it needs to examine multiple sources before reaching a conclusion.

The distinction can be summarized as:

Traditional Automation
        ↓
Predefined Workflow
        ↓
Known Conditions
        ↓
Known Actions

versus:

AI Agent
        ↓
Goal
        ↓
Plan
        ↓
Select Tools
        ↓
Observe
        ↓
Reason
        ↓
Adapt
        ↓
Verify

The second model is particularly interesting for troubleshooting scenarios where the exact sequence is not known in advance.

27. What Should a Cisco SD-WAN Agent NOT Do?

An AI agent operating in a production SD-WAN environment should not have unrestricted authority.

It should not:

  • Change centralized policies without authorization
  • Modify routing policies without validation
  • Restart production devices automatically
  • Disable security controls
  • Ignore change-management procedures
  • Continue executing actions indefinitely
  • Assume that its diagnosis is always correct
  • Hide failed actions
  • Invent missing operational data

A safer approach is:

Investigate → Analyze → Recommend → Approve → Execute → Verify

rather than:

Investigate → Change

28. Start With Read-Only SD-WAN Automation

If you are a network engineer beginning your AI journey, start small.

A practical progression could be:

Phase 1
Read-only SD-WAN information
        ↓
AI-generated analysis

Phase 2
Read-only information
        ↓
AI diagnosis
        ↓
Human validates

Phase 3
AI recommendation
        ↓
Human approval
        ↓
Controlled execution

Phase 4
Limited autonomous operations
        ↓
Strict guardrails
        ↓
Continuous monitoring

This allows the organization to build confidence gradually.

29. Where Can AI Agents Help Cisco SD-WAN Engineers?

Potential use cases include:

SD-WAN Tunnel Troubleshooting

"Why is the tunnel between Branch-101 and the data center experiencing packet loss?"

BFD Investigation

"Identify branches with unstable BFD sessions."

Application-Aware Routing

"Why is the application using the MPLS path instead of the preferred transport?"

WAN Performance

"Find sites where latency and jitter have exceeded the defined threshold."

Device Health

"Identify unhealthy SD-WAN Edge devices."

Policy Analysis

"Explain which policy is influencing this traffic path."

Incident Investigation

"Investigate this branch outage and provide a timeline."

Change Validation

"Review this proposed SD-WAN policy change and identify potential impact."

These are examples of how AI agents could potentially reduce repetitive investigation tasks.

30. Related Articles From Netterrene

AI Learning

Generative AI Fundamentals Explained for Beginners

A good starting point if you are new to Generative AI and want to understand the fundamental concepts before learning Agentic AI.

Read:
https://netterrene.blogspot.com/2026/06/generative-ai-fundamentals-for-beginners.html

Agentic AI for Network Engineers

Agentic AI for Network Engineers: What It Actually Means for BGP, ACI, and Your NOC

This is the natural next article after understanding the anatomy of an agent. It connects Agentic AI with practical network operations.

Read:
https://netterrene.blogspot.com/2026/07/agentic-ai-for-network-engineers-guide.html

Cisco ACI + AI

Anatomy of an AI Agent for Cisco ACI: Knowledge Assessment for Network Engineers

If you work with both ACI and SD-WAN, compare how the same AI-agent concepts can be applied to different networking domains.

Read:
https://netterrene.blogspot.com/

Cisco ACI Fundamentals

Cisco ACI Explained: Concepts, Learning Prerequisites, Benefits, and Limitations

Useful for strengthening your ACI fundamentals while exploring AI-based networking.

Read:
https://netterrene.blogspot.com/

Cisco ACI MoQuery

Cisco ACI MoQuery Commands

MoQuery is particularly interesting from an AI-agent perspective because operational information can potentially become input for an intelligent troubleshooting workflow.

Read:
https://netterrene.blogspot.com/

31. Recommended Learning Path for Network Engineers

If you are learning AI while continuing your networking career, you can follow this sequence:

Step 1 → Cisco SD-WAN fundamentals

Step 2 → Generative AI fundamentals

Step 3 → Understand AI agents

Step 4 → Learn Plan-and-Execute

Step 5 → Learn RAG

Step 6 → Learn tool calling

Step 7 → Learn ReAct

Step 8 → Understand memory and context

Step 9 → Learn Human-in-the-Loop

Step 10 → Apply these concepts to SD-WAN troubleshooting

Step 11 → Start with read-only automation

Step 12 → Gradually introduce controlled execution

This approach lets a network engineer build AI skills without losing the advantage of existing networking knowledge.

32. Final Takeaway

The Anatomy of an Agent becomes much easier to understand when you map the concepts to a Cisco SD-WAN troubleshooting problem.

Plan-and-Execute → SD-WAN troubleshooting roadmap

System Prompt → Agent behavior and operational boundaries

RAG → SD-WAN documentation and internal runbooks

Tool Calling → SD-WAN Manager/API/monitoring tools

ReAct → Think → Act → Observe

Memory → Troubleshooting history

Context Window → Current investigation information

Perception → Extracting information from device logs

Supervisor → Coordinating specialized network agents

Human-in-the-Loop → Production policy approval

Termination → Knowing when the investigation should stop

The important lesson for network engineers is that Agentic AI does not replace networking fundamentals.

Instead, your understanding of SD-WAN architecture, WAN Edge devices, control connections, BFD, OMP, tunnels, routing, application-aware routing, policies, and troubleshooting methodology can become the foundation for intelligent network operations.

The future network engineer will not simply operate the network.

They will increasingly learn how to build, supervise, and safely govern intelligent systems that operate alongside the network.

33. Final Challenge

How many questions did you answer correctly before checking the answers?

18–22 correct: Excellent — you understand both networking and the AI-agent concepts.

14–17 correct: Very good — review RAG, ReAct, memory, and tool calling.

10–13 correct: Good starting point — revisit the fundamentals of AI agents.

Below 10: Don't worry. Start with Generative AI fundamentals and work through the questions again.

The goal is not simply to score well.

The real goal is to understand how Agentic AI concepts can be translated into practical Cisco SD-WAN engineering workflows.

Multi-Agent AI Systems Explained for Cisco SD-WAN Engineers: Supervisor, Peer-to-Peer, and Hierarchical Patterns

Multi-Agent AI Systems Explained for Cisco SD-WAN Engineers: Supervisor, Peer-to-Peer, and Hierarchical Patterns

One AI agent can only be so good at everything. Ask it to inventory branches in a region, check tunnel health, correlate an SLA breach, and draft a fix — and you're asking one generalist to do the job of four specialists. On a large SD-WAN deployment spanning dozens of branches and multiple regions, that generalist starts to strain.

That's the problem multi-agent systems solve: instead of one agent doing everything, you split the work across several agents, each good at one thing, coordinated in a specific pattern. This post walks through the three orchestration patterns you'll see in agentic AI tooling — Supervisor, Peer-to-Peer, and Hierarchical — each mapped to a real SD-WAN operational scenario.


When Does an SD-WAN Team Actually Need Multiple Agents?

Before reaching for a multi-agent design, it's worth being honest about when it earns its complexity:

  • Complex workflows. Investigating an overlay issue genuinely needs different skills — checking tunnel/BFD state, reading SLA performance, interpreting centralized policy. One agent trying to be great at all three ends up mediocre at each.
  • Parallel work. Checking three branches at once, or querying both the vManage API and a third-party ISP status page simultaneously, is naturally parallel — a single sequential agent just makes you wait longer.
  • Specialization. A "policy analysis" agent can be tuned with SD-WAN-specific prompts and tools that would just be noise for a "tunnel status" agent.
  • Separation of concerns. Smaller, focused agents are easier to test and debug than one do-everything agent whose failures could be coming from anywhere.

The catch: more agents means more coordination overhead, more places for something to go wrong, and a harder system to debug. If a single agent with a couple of tools can already answer the question, that's the better answer. Start simple. Add agents only when a single agent hits its limits.


Pattern 1: Supervisor — One Coordinator, Specialized Workers

This is the most common pattern, and usually the right starting point. One supervisor agent receives the request, decides what needs to happen, and delegates to specialized worker agents — then assembles their results into a final answer.



SD-WAN scenario: "Why is voice choppy at the Chicago branch?"

  1. The Supervisor decides this needs tunnel status, SLA performance, and a policy check — in that order.
  2. Tunnel Agent: checks BFD and transport state for the Chicago branch's tunnels. ← Returns: MPLS tunnel is up; Internet tunnel flapped twice in the last hour.
  3. SLA Agent: pulls loss/latency/jitter for the voice traffic class on both tunnels. ← Returns: Internet tunnel jitter spiked to 45ms during the flaps.
  4. Policy Agent: checks whether application-aware routing actually steered voice traffic off the degraded tunnel. ← Returns: policy didn't fail over — the SLA class threshold was set too loose to trigger a switch.
  5. Supervisor assembles the answer: "Voice quality at Chicago traces to Internet tunnel jitter during BFD flaps — the SLA class threshold needs tightening so app-aware routing fails over sooner."

When this works well: You want central control, a clean audit trail, and predictable delegation — which matters a lot in change-managed SD-WAN environments where you need to show exactly which check ran and in what order.

The trade-off: the Supervisor is a single point of failure and can become a bottleneck if too much routing logic gets crammed into it.

Other SD-WAN Supervisor use cases:

  • A single "overlay health assistant" that routes questions to a tunnel-status agent, an SLA-summary agent, or a capacity-planning agent depending on what's asked
  • Coordinating a fleet-wide health check across a Tunnel Agent, Control-Connection Agent, and Software-Version Agent before a maintenance window

Pattern 2: Peer-to-Peer — No Coordinator, Agents Consult Each Other

Here there's no central agent directing traffic. Any agent can talk to any other agent directly, and the answer emerges from their back-and-forth — closer to a group of specialists in a room than a chain of command.



SD-WAN scenario: App performance complaints from three branches in the same region.

[SLA Agent]: "Seeing loss spikes on the Internet transport class across three branches — anyone have context?"

[Tunnel Agent] responds: "All three branches are homed to the same regional hub. BFD sessions are stable, no flaps."

[Transport Agent] chimes in: "Checking underlying ISP health… this looks like a regional ISP brownout, not a device issue."

[Policy Agent] adds: "App-aware routing is trying to fail over, but the MPLS backup path is also showing elevated latency at the same hub."

[Transport Agent] concludes: "Confirmed — both paths converge at the same regional hub, so the brownout is affecting both transports simultaneously."

Agents collectively surface: "Regional ISP brownout at the hub is degrading both transport paths for all three branches — this isn't a config issue."

When this works well: genuine collaboration where no agent has the full picture alone, and where resilience matters — if the Policy Agent is unavailable, the other three can still reach a conclusion.

The trade-off: harder to debug. There's no single transcript to read top-to-bottom — the reasoning is scattered across several conversations.

Other SD-WAN Peer-to-Peer use cases:

  • Multi-region troubleshooting where a Latency Agent, a Routing Agent, and a Hub Agent need to jointly rule causes in or out
  • A design-review "roundtable" where a Security Agent, Capacity Agent, and Topology Agent debate a proposed transport redesign before it's finalized

Pattern 3: Hierarchical — Layered Control for Large Deployments

This mirrors an org chart. An executive agent sets overlay-wide strategy and delegates to leads — one per region, or one per hub — and each lead manages its own workers. Results roll back up the chain.


SD-WAN scenario: "Is this a fleet-wide slowdown, or just one region?"

  • [Executive Agent]: "Delegate a health check to each regional lead."
    • [Region 1 Lead]
      • → Research Worker: inventories Region 1 branches → 12 branches, 2 hubs
      • → Diagnostics Worker: checks tunnel health → 3 branches showing elevated jitter
      • ← Region 1 Lead reports: "Localized degradation on 3 branches, all homed to Hub-East."
    • [Region 2 Lead]
      • → Research Worker: inventories Region 2 branches → 9 branches, 1 hub
      • → Diagnostics Worker: checks tunnel health → all normal
      • ← Region 2 Lead reports: "No issues."
  • [Executive Agent] aggregates: "Fleet-wide slowdown is actually isolated to Region 1, specifically branches behind Hub-East. Region 2 is healthy."

When this works well: your SD-WAN environment is already organized this way — multiple regions, multiple hubs, regional teams each owning their own branches — so the agent hierarchy just mirrors structure you already have.

The trade-off: more layers means more latency. A question has to travel down through leads to workers and back up again before you get an answer.

Other SD-WAN Hierarchical use cases:

  • A global deployment where each region has its own lead agent managing local hub-level workers, rolling up to a global orchestrator
  • Change-approval workflows where a centralized policy push has to pass through a Regional lead and then a Global lead before being approved — naturally mapping to an approval chain that mirrors your org structure

Choosing a Pattern for Your SD-WAN Use Case

If you need…ChooseWhy
Simple delegation with clear, well-defined tasksSupervisorMost common pattern — straightforward and predictable
A workflow spanning multiple regions or hubsHierarchicalMirrors how large deployments and teams are already organized
Flexible collaboration where agents genuinely need to consult each otherPeer-to-PeerBest for ambiguous, multi-cause investigations — but harder to debug
A clear audit trail for change management or complianceSupervisorCentral control point makes the decision path traceable
High resilience with no single point of failurePeer-to-PeerThe investigation continues even if one agent is unavailable

Complexity Trade-offs: Single Agent vs. Multi-Agent

FactorSingle agentMulti-agent
SimplicitySimpleComplex
DebuggingEasyHarder
LatencyLowerHigher
CostLowerHigher

The rule that matters most: start simple, and only add agents once a single agent actually hits its limits. Most day-to-day SD-WAN questions — "what's this tunnel's BFD state," "what transport is this app using right now" — don't need a multi-agent system at all. Reach for one when the task genuinely spans multiple domains of expertise, the way a real fleet-wide incident does.


Final Thoughts

None of these patterns are about the AI being "smarter" — they're about matching the coordination structure to the shape of the problem. A quick lookup doesn't need a supervisor and three workers. A fleet-wide incident spanning multiple regions might genuinely benefit from one. The skill isn't picking the most sophisticated pattern — it's picking the one that fits the blast radius and complexity of what you're actually investigating, the same instinct that makes a good SD-WAN engineer good at escalation and delegation in the first place.


FAQ

Q: Should every SD-WAN troubleshooting AI system use multiple agents? A: No. Most single-tunnel or single-branch questions are handled better and faster by one agent with the right tools. Multi-agent systems earn their overhead on genuinely multi-domain problems — multi-region investigations, fleet-wide incidents, or workflows that already mirror an organizational hierarchy.

Q: Which pattern gives the clearest audit trail for change management? A: Supervisor. Because one agent owns delegation and assembles the final answer, there's a single, traceable decision path — useful when you need to show exactly what was checked and in what order before a centralized policy change.

Q: Is Peer-to-Peer riskier to run against production vManage? A: Not inherently riskier in terms of what it does, but harder to review before the fact, since there's no single plan to inspect — the reasoning is distributed across several agent-to-agent exchanges. Pair it with the same execution guardrails (preview mode, confirmation, scoped tools) you'd use for any other agent design.


Related Reading on Networklearner:


Need help with SD-WAN, Cisco ACI, Nexus, data center networking, or network automation?

I am a CCIE Data Center engineer with 18+ years of enterprise networking experience, working hands-on with production SD-WAN and ACI environments.

Contact me for consulting, troubleshooting, design reviews, and project support: rockingoa@gmail.com

Sunday, 9 August 2026

The Agent Loop in Cisco SD-WAN: How AI Can Automate Network Troubleshooting

 Artificial intelligence is changing the way network engineers approach monitoring, troubleshooting, and automation.

Traditionally, a network engineer might receive an alert, log in to the Cisco SD-WAN management platform, check device health, investigate WAN links, examine tunnel status, review application performance, and then decide what action should be taken.

Now imagine an AI agent performing many of these activities automatically.

It could collect SD-WAN information, analyze the results, decide what to investigate next, evaluate whether its findings make sense, and continue until it identifies the likely problem.

If a production configuration change is required, it could stop and request approval from the network engineer.

This is the idea behind the Agent Loop.

For network engineers, the concept can be summarized as:

Understand → Act → Observe → Reflect → Decide → Repeat or Stop

The source material describes the complete agent loop as an extension of the basic Think → Act → Observe cycle, adding reflection and a termination decision.

1. What Is an Agent Loop?

An Agent Loop is a continuous cycle in which an AI agent works toward a defined objective.

A simplified workflow looks like this:

                 Network Problem
                       ↓
                Understand Goal
                       ↓
                     Think
                       ↓
                      Act
                       ↓
                   Observe
                       ↓
                   Reflect
                       ↓
                Should I Stop?
                  ↙         ↘
                Yes          No
                 ↓            ↓
              Result       Next Action
                              ↓
                           Repeat

The important part is that the agent doesn't necessarily follow one fixed sequence.

The result of one action can influence the next action.

This makes the concept particularly interesting for SD-WAN troubleshooting.

For example, an agent might initially decide to check WAN connectivity. If the WAN links are healthy, it may decide that checking path performance or application routing is more useful than repeating the same connectivity check.

The source material describes reflection as an evaluation performed after an action, including questions about whether the action succeeded, whether the agent is closer to its goal, whether it should try something different, and whether it is time to stop.

2. Why Is Agentic AI Interesting for Cisco SD-WAN?

SD-WAN environments generate a large amount of operational information.

A network engineer may need to investigate:

  • WAN connectivity
  • Transport availability
  • Tunnel status
  • Latency
  • Jitter
  • Packet loss
  • Application performance
  • Routing
  • Device health
  • Policy behavior
  • Control-plane information
  • Security events

A human engineer can investigate these individually.

An AI agent could potentially correlate multiple pieces of information and determine what to investigate next.

For example:

Problem: Users report that an application is slow.

The agent could investigate:

WAN health → path performance → application traffic path → policy → routing → possible remediation

The important concept is that the next step can be influenced by the result of the previous step.

That is what makes an agent different from a simple fixed automation script.

3. The Basic Think → Act → Observe Model

A useful way to understand agent behavior is:

Think → Act → Observe

Let's apply this to a Cisco SD-WAN troubleshooting scenario.

Think

The agent receives:

"The ERP application is slow for users at the branch."

The agent decides that it needs to investigate whether WAN performance is affecting the application.

Act

The agent collects WAN performance information.

Observe

The agent discovers that one transport has elevated latency and packet loss.

Now the agent has new information.

It can decide what to investigate next.

For example:

"I found a degraded transport. I should determine whether ERP traffic is currently using this transport."

This is the beginning of an agent loop.

4. Reflection: The Step That Makes the Agent Adaptive

Reflection is one of the most important parts of the complete Agent Loop.

After an action, the agent evaluates the result.

It can ask:

  • Did my action succeed?
  • Did I receive useful information?
  • Am I closer to the objective?
  • Should I investigate something else?
  • Should I change my approach?
  • Is there enough evidence to continue?
  • Should I stop?

The source material identifies reflection as a self-assessment step after each action.

For SD-WAN troubleshooting, this can prevent the agent from blindly following a predefined checklist.

For example:

Check WAN transport

Result:

Both transports are operational.

The agent should not necessarily conclude:

"WAN is healthy, therefore WAN is not the problem."

Instead, it can reflect:

"Transport availability is normal. I should investigate latency, packet loss, application path selection, or policy behavior."

It then performs the next appropriate investigation.

5. Cisco SD-WAN Troubleshooting Example

Let's consider a practical example.

A branch office reports:

"The corporate ERP application is very slow."

The AI agent receives the objective:

Investigate the cause of ERP performance degradation.

The agent starts investigating.

Step 1 – Check Device Health

The agent checks the branch SD-WAN device.

Result: Device is operational.

The agent continues.

Step 2 – Check WAN Transports

The agent checks the available WAN transports.

Result: Both transports are available.

The agent continues.

Step 3 – Check Performance

The agent checks latency, jitter, and packet loss.

Result: Transport A has elevated latency and packet loss.

Step 4 – Reflect

The agent evaluates the result:

"Transport A is degraded. I need to determine whether the affected application is using this transport."

Step 5 – Check Application Path

The agent investigates the path being used by the application.

Result: ERP traffic is using Transport A.

Step 6 – Reflect Again

The agent now has stronger evidence:

"The application is using a transport that is experiencing performance degradation."

The agent can now investigate whether an alternate transport is available and whether the configured policy allows the traffic to use it.

This is a practical example of:

Think → Act → Observe → Reflect → Act Again

6. Agent Loop vs Traditional SD-WAN Automation

This distinction is important for network engineers.

Traditional AutomationAgentic Automation
Predefined workflowGoal-oriented workflow
Fixed sequenceDynamic next step
Engineer defines each stepAgent can select the next investigation
Usually predictableContext-dependent
Rule-based decisionsObservation-based decisions
Limited decision-makingReflection after actions
Fixed stopping pointDynamic termination

Traditional automation remains extremely useful.

For repetitive and predictable tasks, a script or predefined workflow may actually be preferable.

Agentic AI becomes more interesting when the problem requires investigation and the next step depends on what was discovered previously.

7. The Most Important Question: When Should the Agent Stop?

An autonomous system should not continue forever.

Imagine an agent repeatedly checking the same WAN path:

Check Path
   ↓
Timeout
   ↓
Check Path
   ↓
Timeout
   ↓
Check Path
   ↓
Timeout
   ↓
Repeat...

This wastes resources and does not solve the problem.

Every agent therefore needs termination conditions.

The source material identifies several common termination triggers, including task completion, maximum iterations, confidence thresholds, human handoff, and error states.

For network automation, these termination conditions are extremely important.

8. Termination Condition #1 – Task Completed

The simplest condition is:

The objective has been achieved.

For example, the agent was asked to investigate why ERP traffic is slow.

After investigation, it identifies the degraded transport and the application path.

If the problem has been safely resolved and verified, the agent can stop.

A final response could be:

"The application was using a WAN transport experiencing packet loss. Traffic was moved to the healthy path and application performance was verified."

The task is complete.

9. Termination Condition #2 – Maximum Iterations

Every autonomous troubleshooting workflow should have a maximum number of attempts.

For example:

Maximum iterations = 10

If the agent reaches ten meaningful actions without reaching a conclusion, it stops.

This prevents an uncontrolled troubleshooting loop.

The source material describes maximum iterations as a safety mechanism that prevents an agent from continuing indefinitely.

A good response could be:

"I could not determine the root cause within the configured investigation limit. Human investigation is recommended."

10. Termination Condition #3 – Confidence Threshold

An agent may also evaluate its confidence in a particular diagnosis.

For example:

"There is strong evidence that Transport A is responsible for the application performance problem."

However, network engineers should be careful with confidence scores.

An AI system can be confident and still be wrong.

Therefore:

AI confidence should support a decision, not replace engineering validation.

The source material specifically highlights the risk of agent overconfidence and recommends human validation for critical actions.

11. Termination Condition #4 – Human Handoff

Sometimes the agent identifies the likely solution but should not execute it automatically.

For example:

"Transport A is degraded and ERP traffic is using it. I recommend changing the traffic policy to prefer Transport B."

At this point, the agent can request approval.

The workflow becomes:

AI Investigation
       ↓
Diagnosis
       ↓
Recommended Change
       ↓
Human Approval
       ↓
Execute
       ↓
Verify

This is called Human-in-the-Loop, or HITL.

The source material describes HITL as a mechanism where the agent pauses and requests human input when the action is high-stakes or outside its authority.

12. Termination Condition #5 – Error State

Sometimes the problem isn't the network itself.

The management system or required tool may be unavailable.

For example:

Agent
 ↓
Query Management Platform
 ↓
API Unavailable
 ↓
Retry
 ↓
API Unavailable
 ↓
Retry Limit Reached
 ↓
Stop

The agent should report the issue instead of pretending that the investigation was completed.

The source material describes an error state as a situation where a required system is unreachable, a tool repeatedly fails, or a dependency does not respond.

13. What Happens When an AI Agent Gets Stuck?

An AI agent can get stuck even when the network itself is operational.

The source material identifies four important stuck states:

  1. Loop
  2. Oscillation
  3. Dead End
  4. Hallucination

Let's translate these concepts into SD-WAN troubleshooting.

14. Stuck State #1 – Loop

A loop occurs when the agent repeatedly performs the same action without making progress.

For example:

Check Tunnel
   ↓
Timeout
   ↓
Check Tunnel
   ↓
Timeout
   ↓
Check Tunnel
   ↓
Timeout

The agent is not learning anything new.

A properly designed system should detect the repeated operation and either try an approved alternative, escalate, or stop.

15. Stuck State #2 – Oscillation

Oscillation occurs when the agent keeps switching between approaches without making progress.

For example:

Check Transport A
       ↓
No conclusion
       ↓
Check Transport B
       ↓
No conclusion
       ↓
Check Transport A
       ↓
Check Transport B
       ↓
Repeat

The agent is changing tactics but not actually moving closer to the objective.

Action-history tracking can help identify this behavior.

16. Stuck State #3 – Dead End

A dead end occurs when all useful investigation paths fail.

For example:

  • Management API unavailable
  • Device access unavailable
  • Performance data unavailable
  • Monitoring data unavailable

The agent has no reliable path forward.

At this point, the safest action is to stop and escalate to a network engineer.

17. Stuck State #4 – Hallucination

Hallucination is particularly important when AI is connected to network automation tools.

An AI agent could potentially assume that a tool or API exists when it does not.

For example, it might attempt to call an invalid API endpoint or provide an incorrect input format.

The source material describes hallucination as attempting to call tools that do not exist or passing invalid inputs.

This is why tool validation and restricted permissions are important when building AI-powered network automation.

18. How Can We Prevent an Agent From Getting Stuck?

The source material recommends a layered approach that combines iteration limits, action-history tracking, fallback strategies, and human escalation.

For SD-WAN automation, we can apply the same principles.

18.1 Set Iteration Limits

Define the maximum number of actions the agent can perform.

18.2 Track Action History

Record what the agent has already checked.

For example:

Action 1: Check device health
Action 2: Check transport
Action 3: Check latency
Action 4: Check application path

The agent can use this information to avoid repeating the same investigation.

18.3 Detect Repeated Actions

If the same operation repeatedly produces the same result, the agent should recognize the pattern.

18.4 Provide Fallback Strategies

If the primary information source is unavailable, use an approved alternative.

For example:

Primary:
Management API

Fallback:
Approved telemetry source

Fallback:
Monitoring platform

Final:
Human escalation

18.5 Escalate to a Human

If all approved automated strategies are exhausted, the agent should involve a network engineer.

The objective isn't to keep the agent autonomous at all costs.

The objective is to solve the problem safely.

19. Human-in-the-Loop in Cisco SD-WAN

HITL becomes particularly important when an agent wants to modify production network behavior.

Imagine the agent determines:

"Transport A has high packet loss. ERP traffic would perform better over Transport B."

The agent can recommend a policy change.

Instead of immediately making the change:

AI Agent
   ↓
Analyze
   ↓
Recommend Change
   ↓
HITL Checkpoint
   ↓
Engineer Approval
   ↓
Execute
   ↓
Verify

The engineer can:

Approve → Agent executes the approved change.

Reject → Agent stops.

Modify → Engineer adjusts the proposed action.

The source material identifies these approval outcomes and emphasizes HITL for important production decisions.

20. When Should Human Approval Be Required?

For SD-WAN automation, human approval can be appropriate for actions such as:

  • Changing traffic policies
  • Modifying routing behavior
  • Changing path preferences
  • Modifying security policies
  • Changing production configuration
  • Actions affecting critical applications
  • Actions outside an approved change window

The source material identifies destructive actions, sensitive operations, uncertainty, policy requirements, and learning-mode deployments as situations where HITL may be required.

A good principle is:

Let AI investigate, but make production changes subject to appropriate controls.

21. Example: AI Agent Troubleshooting a Cisco SD-WAN Branch

Let's put everything together.

Imagine a branch office is experiencing poor ERP application performance.

Objective

"Investigate ERP performance from the branch."

Step 1 – Check Device Health

Result:

Device operational.

Step 2 – Check WAN Transports

Result:

Both transports are available.

Step 3 – Check Performance

Result:

Transport A has elevated packet loss and latency.

Step 4 – Reflect

The agent determines:

"Transport A is degraded. I need to determine whether ERP traffic is using this path."

Step 5 – Check Application Path

Result:

ERP traffic is using Transport A.

Step 6 – Reflect

The agent concludes:

"The degraded transport may be contributing to the application performance problem."

Step 7 – Check Alternate Path

Result:

Transport B is healthy and available.

Step 8 – Generate Recommendation

"Recommend moving ERP traffic to Transport B."

Step 9 – Human Approval

The agent waits for the network engineer.

Step 10 – Execute

The engineer approves the change.

The agent performs the approved action.

Step 11 – Verify

The agent checks the application performance again.

Step 12 – Terminate

The issue is resolved.

This is a complete Agent Loop:

Think → Act → Observe → Reflect → Act → Verify → Stop

22. What Should the Agent Log?

For production SD-WAN environments, logging is extremely important.

A useful agent trace might look like:

Incident ID: INC-10234

09:10 - Task received
09:11 - Branch health checked
09:12 - WAN transports checked
09:13 - Transport A degradation detected
09:14 - Application path analyzed
09:15 - ERP traffic found on Transport A
09:16 - Alternate transport validated
09:17 - Recommendation generated
09:20 - Human approval received
09:21 - Approved action executed
09:22 - Application performance verified
09:23 - Task completed

This creates an audit trail.

If something goes wrong, the engineer can understand:

  • What the agent attempted
  • What it observed
  • Why it made the decision
  • What action was performed
  • Why the agent stopped

The source material emphasizes that termination reasons should be recorded because silent failures make diagnosis and accountability difficult.

23. Why Network Engineers Should Care About Agentic AI

SD-WAN already provides significant automation.

Agentic AI potentially adds another layer.

Traditional SD-WAN

Provides automated connectivity, routing, policy enforcement, and path selection.

AI-Assisted SD-WAN

Helps engineers understand network behavior and investigate problems.

Agentic SD-WAN

Could potentially investigate a problem, collect evidence, determine the next troubleshooting step, recommend remediation, and execute approved actions.

This is why network engineers should understand Agentic AI.

You don't necessarily need to become an AI researcher.

But understanding concepts such as:

  • AI agents
  • Agent loops
  • APIs
  • Tool calling
  • Reflection
  • Termination
  • Human-in-the-Loop
  • Guardrails
  • Automation
  • Observability

can become increasingly valuable.

24. Automation vs Agentic Automation

A simple way to remember the difference is:

Traditional Automation

IF condition
     ↓
Perform predefined action

Agentic Automation

Goal
 ↓
Observe
 ↓
Reason
 ↓
Act
 ↓
Evaluate
 ↓
Select Next Action
 ↓
Repeat

Safe Agentic Automation

Goal
 ↓
Observe
 ↓
Reason
 ↓
Act
 ↓
Evaluate
 ↓
Safety Check
 ↓
Human Approval if Required
 ↓
Verify
 ↓
Terminate

For production networking, the third model is the most useful mental model.

25. Cisco SD-WAN + AI: A Possible Architecture

A conceptual architecture could look like this:

                 Network Engineer
                       │
                       ↓
                  AI Agent
                       │
                       ↓
              Reasoning / Planning
                       │
                       ↓
                Safety Layer
                       │
             ┌─────────┴─────────┐
             ↓                   ↓
       Read Operations      Change Operations
             │                   │
             ↓                   ↓
     SD-WAN Information     HITL Approval
             │                   │
             └─────────┬─────────┘
                       ↓
                  SD-WAN Network
                       │
                       ↓
                Telemetry / Data
                       │
                       └────→ AI Agent

The key component is the Safety Layer.

An AI agent should not have unrestricted access to a production network.

26. Read-Only vs Change-Enabled AI Agents

Network teams can approach AI adoption gradually.

Level 1 – AI Assistant

The engineer asks:

"Why is this SD-WAN path being selected?"

The AI provides an explanation.

Level 2 – Read-Only Agent

The agent can collect operational information such as:

  • Device health
  • Transport status
  • Performance
  • Routing information

But it cannot modify the network.

Level 3 – Investigation Agent

The agent investigates an incident and provides a likely root cause.

For example:

"The application is using a transport experiencing high packet loss."

Level 4 – Recommendation Agent

The agent proposes remediation.

For example:

"Recommend moving the application to the alternate transport."

Level 5 – Human-Approved Automation

The agent proposes the change.

The engineer approves it.

The agent executes it.

Level 6 – Controlled Autonomous Operations

Selected low-risk actions can potentially be automated under strict policies and guardrails.

This should only be considered after extensive testing, monitoring, validation, and governance.

27. Safety: Never Trust an AI Agent Blindly

One of the most important lessons from Agentic AI is that confidence does not automatically mean correctness.

An AI agent can produce an incorrect conclusion with high confidence.

The source material highlights several safety considerations, including silent failures, overconfidence, context loss during human handoffs, and automation bias.

For network engineers, remember:

AI recommendation ≠ Network Truth

Critical conclusions should be validated.

For production changes, consider:

  • Change approval
  • RBAC
  • Audit logging
  • Rollback capability
  • Iteration limits
  • Tool restrictions
  • Human approval
  • Post-change verification

28. The Importance of Verification

The agent should not simply perform an action and assume that the problem is solved.

For example:

Agent: Move traffic to Transport B.

That is not the end of the workflow.

The agent should verify:

  • Is traffic now using the expected path?
  • Has packet loss improved?
  • Has latency improved?
  • Is the application responding normally?
  • Did the change introduce another problem?

The complete workflow should therefore be:

Diagnose → Change → Verify → Terminate

This is a familiar concept to network engineers.

After all, we rarely make a production change without checking whether the expected result occurred.

29. The Golden Rules for AI-Based SD-WAN Automation

If you are designing an AI agent for SD-WAN operations, remember these principles:

Rule 1 – Define the Goal

The agent needs a clear objective.

Rule 2 – Limit Iterations

Never allow unlimited execution.

Rule 3 – Track History

Know what the agent has already attempted.

Rule 4 – Detect Loops

Repeated actions should trigger investigation or escalation.

Rule 5 – Provide Fallback Paths

Don't depend on one data source.

Rule 6 – Use Human Approval

High-impact production changes should have appropriate approval.

Rule 7 – Log Important Actions

Maintain a useful audit trail.

Rule 8 – Don't Trust AI Confidence Blindly

Validate important conclusions.

Rule 9 – Verify the Result

After an action, confirm that the expected outcome occurred.

Rule 10 – Define When to Stop

Every agent needs a clear termination strategy.

30. How This Applies to FortiGate SD-WAN

The same Agent Loop methodology can also be applied to FortiGate SD-WAN environments.

The vendor terminology, management interfaces, APIs, and available operational data will be different, but the basic methodology remains the same.

For example:

Application Performance Problem
            ↓
       Understand Goal
            ↓
      Check SD-WAN Health
            ↓
       Observe SLA Status
            ↓
       Analyze Path Choice
            ↓
          Reflect
            ↓
     Identify Likely Cause
            ↓
    Recommend Remediation
            ↓
       Human Approval
            ↓
     Apply Approved Change
            ↓
        Verify Result
            ↓
          Stop

This demonstrates an important point:

The Agent Loop is a methodology rather than a vendor-specific feature.

It can be applied to Cisco SD-WAN, FortiGate SD-WAN, Cisco ACI, and other network platforms when appropriate data and controlled automation interfaces are available.

31. A Simple Mental Model for Network Engineers

If Agentic AI terminology seems complicated, think about how you already troubleshoot a network.

When an application is slow, you don't normally execute commands randomly.

You:

  1. Understand the problem.
  2. Form a hypothesis.
  3. Collect information.
  4. Analyze the result.
  5. Change the hypothesis if necessary.
  6. Investigate another area.
  7. Identify the likely cause.
  8. Apply a controlled fix.
  9. Verify the result.
  10. Close the incident.

This is remarkably similar to an Agent Loop.

The major difference is that an AI agent attempts to automate portions of this reasoning and execution process.

32. Final Thoughts

SD-WAN has already changed the way organizations design and operate WAN infrastructure.

The next evolution could be the combination of:

SD-WAN + APIs + Automation + AI Agents

For network engineers, the most important concept is not simply learning how to build an AI agent.

It is learning how to build an agent that operates safely.

Remember the complete loop:

Think → Act → Observe → Reflect → Decide → Repeat or Stop

Then add the production safeguards:

Iteration Limits + Action History + Fallback Strategies + Logging + Guardrails + Human-in-the-Loop

This combination can turn an AI agent from an interesting experiment into a potentially useful network operations assistant.

The future network engineer may not be the person who manually performs every troubleshooting step.

Instead, it may be the engineer who understands:

What should be automated, what should be delegated to AI, what must be validated, and what should always require human approval.

That is where Agentic AI becomes particularly interesting for Cisco SD-WAN and modern network operations.

33. Frequently Asked Questions

What is an Agent Loop in networking?

An Agent Loop is a process where an AI agent investigates a network objective, performs actions, observes results, reflects on the findings, and decides whether to continue or stop.

Can AI troubleshoot Cisco SD-WAN?

AI agents can potentially assist with SD-WAN troubleshooting by collecting operational information, analyzing performance data, identifying patterns, and recommending the next troubleshooting steps.

Can an AI agent automatically change SD-WAN policies?

An agent can potentially be connected to automation interfaces capable of making configuration changes. However, production changes should be protected by authorization, policy controls, validation, and appropriate human approval.

What is Human-in-the-Loop in SD-WAN?

Human-in-the-Loop means that the AI agent pauses and requests an engineer's approval before performing a decision or action that requires human judgment or carries significant operational risk.

What happens if an AI network agent gets stuck?

The agent should detect repeated actions, oscillation, dead ends, or tool failures and either use an approved fallback strategy, escalate to a human, or terminate.

Is Agentic AI the same as network automation?

No. Traditional automation generally follows predefined workflows, while an AI agent can evaluate observations and dynamically determine the next step within its defined boundaries.

34. Related Articles From Netterrene

Generative AI Fundamentals for Beginners
https://netterrene.blogspot.com/2026/06/generative-ai-fundamentals-for-beginners.html

Agentic AI for Network Engineers
https://netterrene.blogspot.com/2026/07/agentic-ai-for-network-engineers-guide.html

Cisco ACI Explained
https://netterrene.blogspot.com/2026/04/cisco-aci-explained-concepts-learning.html

Cisco ACI vPC Explained
https://netterrene.blogspot.com/2026/06/cisco-aci-vpc-explained-architecture_01563772518.html

Cisco ACI Service Graphs
https://netterrene.blogspot.com/2026/05/why-service-graphs-matter-in-cisco-aci.html

Understanding L3Out Subnet Scope Options in Cisco ACI
https://netterrene.blogspot.com/2025/08/l3out-subnet-scope-options-in-cisco-aci.html