Showing posts with label Cisco APIC. Show all posts
Showing posts with label Cisco APIC. Show all posts

Sunday, 23 August 2026

CI/CD Pipelines for Cisco ACI: Automate, Validate and Deploy Network Changes with Confidence

 Modern data centers are becoming increasingly software-driven. Network engineers are no longer limited to configuring individual switches through the CLI; instead, infrastructure can be represented as code, stored in version-control systems, tested automatically, and deployed through controlled pipelines.

This is where NetDevOps and CI/CD pipelines become highly relevant to Cisco ACI environments.

Cisco ACI already provides a policy-driven and API-based approach to data center networking through APIC. By combining these capabilities with Git, automation tools, testing frameworks, and CI/CD platforms, network teams can create a repeatable process for moving an ACI configuration change from development to production.

The objective is simple:

Design → Commit → Validate → Test → Approve → Deploy → Verify

The source material describes the same fundamental CI/CD idea: configuration changes are stored in a repository, validated through automated stages, and eventually deployed instead of being applied directly to the production network.


What Is NetDevOps?

NetDevOps applies DevOps principles to network engineering.

Traditional network operations often look like this:

Requirement → Engineer logs in → CLI/API change → Verification

Although this approach can work, it becomes difficult to maintain consistency when hundreds or thousands of configuration changes are performed across a large environment.

A NetDevOps approach introduces:

  • Version control
  • Automation
  • Automated testing
  • Peer review
  • Repeatable deployments
  • Change tracking
  • Rollback capability
  • Continuous validation

For Cisco ACI, this means that objects such as:

  • Tenants
  • VRFs
  • Bridge Domains
  • Application Profiles
  • EPGs
  • Contracts
  • Filters
  • L3Outs
  • Interface policies
  • Access policies

can be managed through an automated and controlled workflow.


Why Use CI/CD for Cisco ACI?

Cisco ACI is already designed around centralized policy management. However, manually creating and modifying policies through the APIC GUI or CLI can still introduce operational risks.

A CI/CD workflow adds another layer of control around those changes.

1. Version Control

ACI configuration definitions can be maintained in Git.

This provides a history of:

  • Who changed the configuration
  • What was changed
  • When it was changed
  • Which version was deployed

This becomes particularly useful during troubleshooting or rollback.

2. Automated Validation

Before a change reaches production, the pipeline can validate:

  • Configuration syntax
  • Required parameters
  • Naming standards
  • IP addressing
  • Policy dependencies
  • Configuration structure
  • Organizational standards

3. Automated Testing

The configuration can be deployed to a test or non-production environment before production deployment.

For example, a pipeline could verify:

Tenant → VRF → BD → EPG → Contract → Connectivity

4. Controlled Production Deployment

Only changes that successfully pass the required validation and approval stages should be promoted to the production ACI fabric.

5. Better Auditability

Every pipeline execution can provide an audit trail showing:

Commit → Test Result → Approval → Deployment → Verification

This is significantly easier to review than a collection of manually executed CLI commands.


Understanding the CI/CD Pipeline for Cisco ACI

A typical ACI CI/CD pipeline can be divided into five major stages:

Source → Build → Test → Deploy → Verify

For Cisco ACI, we can extend this model by adding explicit validation and post-deployment verification.


Stage 1: Source Repository

The process starts when a network engineer creates or modifies an ACI configuration definition.

Instead of immediately changing APIC, the configuration is stored in a source-control repository.

For example:

ACI-Configuration/
│
├── tenants/
│   ├── tenant-web.yaml
│   └── tenant-app.yaml
│
├── vrfs/
│   └── vrf-production.yaml
│
├── bridge-domains/
│   └── bd-web.yaml
│
├── epgs/
│   └── epg-web.yaml
│
└── contracts/
    └── contract-web-to-app.yaml

A network engineer can create a feature branch, make the required change, and submit it for review.

For example:

main
  |
  +---- feature/new-web-epg
              |
              +---- configuration change
              |
              +---- validation
              |
              +---- pull request

This creates a much more controlled change-management process.


Stage 2: Build and Configuration Validation

Once a change is committed, the CI/CD pipeline can automatically start.

The build stage does not necessarily mean compiling software as it would in application development.

For network automation, the build stage can mean:

  • Loading configuration files
  • Validating YAML or JSON
  • Checking required fields
  • Validating configuration structure
  • Checking dependencies
  • Running policy checks
  • Preparing the deployment package

For example, a pipeline could detect:

Tenant: PROD
VRF: PROD_VRF
BD: WEB_BD
Subnet: 10.10.10.0/24
Gateway: 10.10.10.1

and verify that the values comply with the organization's standards.

A failed validation should stop the pipeline before the configuration reaches the ACI fabric.


Stage 3: Test the ACI Configuration

Testing is one of the most important parts of the pipeline.

The objective is not simply to determine whether the configuration can be pushed to APIC.

The more important question is:

Does the configuration produce the expected network behavior?

Depending on the environment, automated tests could verify:

Tenant Validation

Is the expected tenant present?

VRF Validation

Does the correct VRF exist?

Bridge Domain Validation

Is the BD associated with the correct VRF?

EPG Validation

Is the EPG associated with the expected BD?

Contract Validation

Are the expected contracts and filters configured?

Connectivity Validation

Can the required endpoints communicate?

Policy Validation

Does the resulting configuration comply with the organization's security and network policies?

The source document similarly describes using a non-production testing environment to validate network configuration before production deployment.


Stage 4: Approval and Production Deployment

After successful testing, the change can move toward production.

There are several possible deployment models.

Manual Approval

The pipeline pauses and asks an engineer to approve the production change.

Test Passed
     ↓
Change Review
     ↓
Engineer Approval
     ↓
Production Deployment

This is often a good starting point for production ACI environments.

Automated Promotion

More mature environments can automatically promote a change when all required checks pass.

Commit
  ↓
Build
  ↓
Test
  ↓
Security Check
  ↓
Approval Policy
  ↓
Production

For production ACI, I recommend beginning with human approval and gradually introducing controlled automation.


Stage 5: Deploy to Cisco ACI

The pipeline can communicate with APIC using appropriate automation interfaces.

Possible approaches include:

  • APIC REST API
  • Python-based automation
  • ACI SDK/tooling
  • Ansible
  • Terraform where appropriate
  • Custom automation scripts

A simplified workflow could look like:

Git Repository
      ↓
CI/CD Server
      ↓
Validation
      ↓
Automation Engine
      ↓
Cisco APIC
      ↓
ACI Leaf/Spine Fabric

The key advantage is that the engineer does not need to manually repeat the same configuration process for every deployment.


Stage 6: Post-Deployment Verification

Deployment should not be considered the end of the pipeline.

A good network CI/CD pipeline should verify that the intended state actually exists after deployment.

For example:

Deploy
  ↓
Check APIC Response
  ↓
Check Object State
  ↓
Check ACI Faults
  ↓
Check EPG/Contract State
  ↓
Check Connectivity
  ↓
Success / Rollback

This is especially important in ACI because a configuration can be accepted by the controller while the resulting operational state still requires validation.


A Practical Cisco ACI CI/CD Example

Imagine an application team requests a new application environment.

The requirement is:

Application: Customer-App

Tenant: PROD
VRF: PROD-VRF
BD: CUSTOMER-BD
EPG: CUSTOMER-APP
Contract: APP-TO-DB

Instead of manually creating every object through APIC, the engineer creates the desired configuration in the repository.

The pipeline then performs the following:

Step 1 — Commit

The engineer commits the configuration.

Step 2 — Build

The pipeline checks the configuration structure.

Step 3 — Validate

It checks naming conventions, required fields, and dependencies.

Step 4 — Test

The configuration is tested against an ACI test environment or appropriate validation framework.

Step 5 — Review

A network engineer reviews the proposed change.

Step 6 — Deploy

The approved configuration is pushed through the automation layer to APIC.

Step 7 — Verify

The pipeline checks:

  • Tenant
  • VRF
  • BD
  • EPG
  • Contract
  • Faults
  • Connectivity

Step 8 — Record

The pipeline records the deployment result.

This creates a repeatable workflow instead of a one-time manual change.


Tools Commonly Used in Network CI/CD

For Cisco ACI environments, these tools can be mapped into a broader workflow.

FunctionExample Tools
Source ControlGit, GitLab, GitHub
PipelineGitLab CI/CD, Jenkins, GitHub Actions
AutomationAnsible, Python, Terraform
ACI InterfaceAPIC REST API, ACI SDK/tooling
TestingpyATS, custom API tests
Lab/SimulationCisco Modeling Labs
MonitoringExisting enterprise monitoring platforms
Configuration FormatYAML, JSON
ReviewGit Pull/Merge Requests

The exact combination depends on the organization's architecture and automation standards.


Git and Cisco ACI: Why Version Control Matters

One of the biggest changes when moving from traditional networking to NetDevOps is treating configuration as a managed artifact.

Consider a manual change:

Engineer → APIC → Configuration Change

Later someone asks:

"What exactly changed last Tuesday?"

The answer may require searching audit logs and controller history.

With Git:

Engineer
   ↓
Git Commit
   ↓
Review
   ↓
Pipeline
   ↓
APIC

The configuration change becomes part of a structured history.

This makes troubleshooting and rollback easier.


CI/CD Does Not Mean "Push Everything Automatically"

This is an important point for network engineers.

CI/CD does not mean that every configuration change should automatically reach production.

A mature network pipeline should include appropriate controls.

For example:

Developer
   ↓
Git Commit
   ↓
Automated Validation
   ↓
Automated Testing
   ↓
Security / Compliance Check
   ↓
Peer Review
   ↓
Human Approval
   ↓
Production
   ↓
Verification

The amount of automation can increase as confidence in the pipeline increases.


What Happens When a Test Fails?

A good pipeline should stop.

For example:

Git Commit
    ↓
Build
    ↓
Validation
    ↓
Test
    ↓
❌ FAILED
    ↓
Stop Pipeline
    ↓
Notify Engineer

The engineer can correct the configuration and submit another change.

This is much safer than discovering the problem after deployment to the production fabric.


Rollback Strategy for Cisco ACI

Rollback should be considered before automation is introduced.

A version-controlled workflow makes it easier to identify the previous known-good configuration.

A simplified process is:

Current Version
      ↓
New Configuration
      ↓
Deployment
      ↓
Verification
      ↓
Failure?
   ↙       ↘
 Yes        No
 ↓           ↓
Rollback    Continue

The exact rollback mechanism should be designed carefully according to the ACI objects involved and the organization's change-management procedures.


Benefits of CI/CD for Cisco ACI Engineers

Faster Changes

Repeated configuration tasks can be automated.

Fewer Manual Errors

Automated validation reduces common configuration mistakes.

Consistency

The same process can be applied repeatedly.

Better Collaboration

Network and application teams can work with a common version-control workflow.

Easier Auditing

Configuration changes are associated with commits, reviews, pipeline results, and deployment records.

Safer Production Changes

Changes can be validated before reaching the production fabric.

Repeatability

The same desired configuration can be deployed consistently across environments where appropriate.


Challenges You Should Consider

CI/CD is powerful, but it is not a magic solution.

1. Poorly Designed Automation

Automating a bad process simply makes the bad process faster.

2. Insufficient Testing

If tests do not represent real network behavior, a successful pipeline does not guarantee a successful production deployment.

3. Secrets Management

API credentials, tokens, and other sensitive information must be handled securely.

4. Pipeline Permissions

The automation account should have only the permissions required for its task.

5. Production Safety

High-impact changes should have appropriate approvals and safeguards.

6. Lack of Rollback Planning

Every production deployment should have a defined recovery strategy.


ACI CI/CD Maturity Model

A network team does not have to automate everything on day one.

A practical progression is:

Level 1 — Version Control

Store ACI configurations in Git.

Level 2 — Automated Validation

Validate every configuration change.

Level 3 — Automated Testing

Test changes against a non-production environment.

Level 4 — Controlled Deployment

Deploy approved changes automatically.

Level 5 — Continuous Verification

Automatically verify the resulting network state.

Level 6 — Advanced Network Automation

Introduce more sophisticated orchestration, compliance, and intent-based workflows.

This gradual approach allows network engineers to build confidence without immediately handing complete production control to an automation pipeline.


NetDevOps Changes the Role of the Network Engineer

CI/CD does not eliminate the need for network engineers.

Instead, it changes where their time is spent.

Traditional model:

Configure
Troubleshoot
Repeat

Modern model:

Design
    ↓
Define Desired State
    ↓
Automate
    ↓
Test
    ↓
Deploy
    ↓
Observe
    ↓
Improve

Network engineers therefore benefit from learning skills beyond traditional CLI configuration.

Some particularly valuable skills include:

  • Git
  • Python
  • REST APIs
  • YAML/JSON
  • Ansible
  • Terraform
  • CI/CD concepts
  • Automated testing
  • Infrastructure as Code
  • Network programmability

For Cisco ACI engineers, this combination can be especially powerful because ACI already provides a centralized controller and programmable interfaces.

Summary





Final Thoughts

Cisco ACI provides a strong foundation for policy-driven and automated data center networking. CI/CD and NetDevOps can extend that foundation by introducing version control, automated validation, testing, controlled deployment, and continuous verification.

The biggest mindset change is to stop thinking of a network change as simply:

"A command I need to execute."

Instead, think of it as:

"A configuration change that should pass through a controlled lifecycle."

A mature Cisco ACI CI/CD workflow can therefore look like:

Design → Git → Validate → Test → Review → Deploy → Verify → Monitor

The goal is not to automate every possible task.

The goal is to make network changes repeatable, testable, auditable, and safer.

For network engineers who already work with Cisco ACI, learning CI/CD and NetDevOps is a natural next step toward modern network automation.



Related Articles from Netterrene

Cisco ACI Explained: Concepts, Learning Prerequisites, Benefits, and Limitations
Read the Cisco ACI fundamentals guide

AI Planning Strategies for Cisco ACI Engineers
Read the ACI AI planning guide

How AI Agents Actually "Touch" Your Cisco ACI Fabric
Read the ACI automation and API guide

How AI Memory Can Revolutionize Cisco ACI Operations
Read the ACI AI memory guide

Multi-Agent AI Systems Explained for Cisco ACI Engineers
Read the ACI multi-agent guide

Networklearner – Cisco ACI, Network Automation and AI Articles
Visit Netterrene


Need Help With Cisco ACI or Network Automation?

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

I am a CCIE Data Center engineer with 18+ years of enterprise networking experience.

Contact me for consulting, troubleshooting, design reviews, and project support free of cost.


Tuesday, 11 August 2026

Anatomy of an AI Agent : Knowledge Assessment

 

Question 1

In the plan-and-execute architecture, what is the key benefit of separating planning from execution?

  • It reduces API costs
  • It allows the agent to create an explicit roadmap before acting, making complex tasks more manageable
  • It eliminates the need for tools
  • It makes the agent respond faster

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


Question 2

What is the primary role of the system prompt in an agent's configuration?

  • To reduce API costs by limiting token usage
  • To define the agent's identity, scope, and behavioral guidelines
  • To specify which LLM model to use
  • To store conversation history

Ans - To define the agent's identity, scope, and behavioral guidelines

 

Question 3

What is the primary benefit of RAG (Retrieval-Augmented Generation) for an agent?

  • It makes the agent respond faster
  • It allows the agent to access current, organization-specific knowledge
  • It reduces the cost of API calls
  • It eliminates the need for working memory

Ans - It allows the agent to access current, organization-specific knowledge

 

Question 4

What does the "context window" represent in agent architecture?

  • A graphical interface that displays the agent's current status and activity
  • The period of time during which the agent remains active and responsive
  • The span of tokens the model can consider at once when making decisions
  • A rule-based workflow that defines the steps an agent follows sequentially

Ans - The span of tokens the model can consider at once when making decisions

 

Question 5

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

  • The agent has completed the requested task
  • The maximum iteration limit has been reached
  • The agent's confidence level drops below a threshold
  • The agent receives approval to continue

Ans - The agent receives approval to continue

 

Question 6

An agent is troubleshooting a network issue. Review this trace excerpt:

{
  "iteration": 3,
  "thought": "I should check the router logs",
  "action": "get_router_logs",
  "observation": "Connection timed out"
}
{
  "iteration": 4,
  "thought": "I should check the router logs",
  "action": "get_router_logs",
  "observation": "Connection timed out"
}
{
  "iteration": 5,
  "thought": "I should check the router logs",
  "action": "get_router_logs",
  "observation": "Connection timed out"
}

What stuck state pattern is this agent exhibiting, and what mechanism would help prevent it?

  • Oscillation - implement fallback strategies
  • Loop - implement iteration limits and action history tracking
  • Dead end - add more tools to the agent
  • Hallucination - improve tool descriptions

Ans - Dead end - add more tools to the agent

 

Question 7

Why is the "description" field in a tool schema critically important?

  • It determines how fast the tool executes
  • It tells the LLM when to use this tool versus other tools
  • Custom C++ implementation for performance
  • It sets the default input values

Answer – It tells the LLM when to use this tool versus other tools

 

Question 8

Why is the "description" field in a tool schema critically important?

  • It determines how fast the tool executes
  • It tells the LLM when to use this tool versus other tools
  • Custom C++ implementation for performance
  • It sets the default input values

Ans - It tells the LLM when to use this tool versus other tools

 

Question 9

Match each tool to its correct category.

 

Ans

 

Question 10

An agent needs to extract structured data from unstructured syslog entries. Which tool category would be most appropriate?

  • Retrieval
  • Execution
  • Communication
  • Perception

Ans - Perception

 

Question 11

In the ReAct pattern, what is the purpose of the "Observation" step?

  • To generate a response for the user
  • To receive and process the result of a tool call
  • To decide which tool to use next
  • To summarize the conversation history

Ans - To receive and process the result of a tool call

 

Match each memory type to its appropriate use case.

Ans

Question 12

A financial services company needs to build an AI system to handle customer requests.

  • Research customer account information
  • Analyze transaction patterns for fraud detection
  • Execute approved actions on accounts
  • Generate audit reports

Each function requires specialized tools and domain expertise. The compliance team requires a clear audit trail of all decisions and a single point of accountability.

Which orchestration pattern would be most appropriate?

  • Peer-to-peer - agents can collaborate like a team of specialists
  • Hierarchical - because there are multiple levels of management
  • Supervisor - add more workers to the central agent
  • Single agent - because the tasks are simple enough for one agent

 Answer -Supervisor - add more workers to the central agent

 

Anatomy of an AI Agent for Cisco ACI: 20+ Knowledge Assessment Questions & Answers

 

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

1. Introduction

Artificial Intelligence is becoming increasingly relevant to network operations. For Cisco ACI engineers, concepts such as AI agents, RAG, tool calling, ReAct, memory, planning, and Human-in-the-Loop can be applied to practical troubleshooting and automation scenarios.

This assessment converts the core Anatomy of an Agent concepts into Cisco ACI-focused scenarios.

The objective is not simply to test whether you know AI terminology. Instead, each question connects an AI-agent concept with something a Cisco ACI engineer may encounter during day-to-day operations.

Try answering each question before looking at the answer.

2. Question 1 – Plan-and-Execute in Cisco ACI

An AI agent is asked to investigate why an application EPG cannot communicate with a database EPG.

The agent first creates a troubleshooting roadmap covering endpoint learning, EPG configuration, contracts, Bridge Domain status, faults, and interfaces before executing the investigation.

What is the primary benefit of this approach?

A. It eliminates the need for APIC

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

C. It guarantees that the configuration is correct

D. It removes the need for network engineers

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

This is the basic idea behind Plan-and-Execute: create a structured roadmap before performing the actual work.

3. Question 2 – System Prompt for an ACI Agent

You are building an AI agent for Cisco ACI troubleshooting.

The agent should be allowed to read APIC operational information but should not make production configuration changes without approval.

Which component should define these behavioral rules?

A. Context Window

B. RAG database

C. System Prompt

D. Memory

Answer: C – System Prompt

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

For example, an ACI agent could be instructed to:

Investigate ACI issues using approved read-only tools and request human approval before production changes.

4. Question 3 – RAG for Cisco ACI

A network organization wants its AI agent to use the company's current ACI design standards, troubleshooting guides, internal runbooks, and approved change procedures.

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 AI system to retrieve relevant information from external knowledge sources before generating an answer.

For an ACI environment, the knowledge base could contain:

  • ACI design documents
  • Internal troubleshooting guides
  • Change procedures
  • Network diagrams
  • Operational runbooks
  • Approved configuration standards

If you are new to Generative AI, you can first read my beginner-friendly guide:

Related Article: Generative AI Fundamentals Explained for Beginners

5. Question 4 – Context Window

An AI agent is troubleshooting an ACI issue and needs to consider previous tool results, APIC faults, endpoint information, configuration data, and the current conversation.

What does the context window represent?

A. The time for which APIC retains an endpoint

B. The physical memory installed in APIC

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

D. The maximum number of ACI leaf switches

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

For network engineers, you can think of context as the information available to the AI while it is working on the current problem.

6. Question 5 – Agent Termination

An AI agent is troubleshooting an ACI connectivity problem.

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 reaches a configured confidence threshold

D. The agent receives approval to continue

Answer: D – The agent receives approval to continue.

Approval to continue does not represent a termination condition.

7. Question 6 – Detecting an Agent Loop

An AI agent is troubleshooting an ACI interface.

Its activity looks like this:

Iteration 3
Action: Check interface Ethernet1/10
Result: No useful information

Iteration 4
Action: Check interface Ethernet1/10
Result: No useful information

Iteration 5
Action: Check interface Ethernet1/10
Result: No useful information

What problem is the agent demonstrating?

A. Oscillation

B. Loop

C. Successful termination

D. Human-in-the-Loop

Answer: B – Loop

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

This is an important concept for network automation because an automation system that continuously repeats the same diagnostic operation can waste resources without improving the outcome.

8. Question 7 – Tool Description

An AI agent has access to these ACI tools:

get_aci_faults
get_aci_endpoints
get_aci_contracts

Why is the description field in the tool schema important?

A. It determines the physical speed of the interface

B. It helps the LLM determine when the tool should be used

C. It determines APIC CPU utilization

D. It automatically fixes configuration errors

Answer: B – It helps the LLM determine when the tool should be used.

For example:

get_aci_faults — Retrieves current ACI faults for a specified node, tenant, EPG, or object.

Clear descriptions help the agent select the appropriate tool.

9. Question 8 – Selecting the Correct ACI Tool

An engineer asks:

"Show me all active critical faults on Leaf-101."

Which tool would be most appropriate?

A. get_aci_endpoints

B. get_aci_faults

C. change_aci_contract

D. send_email

Answer: B – get_aci_faults

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

10. Question 9 – Tool Categories

Match the following ACI agent activities with the most appropriate tool category.

ACI ActivityTool Category
Retrieve APIC configurationRetrieval
Modify an approved ACI policyExecution
Request engineer approvalCommunication
Extract structured information from raw syslogPerception

Answer:

  • Retrieve APIC configuration → Retrieval
  • Modify an approved ACI policy → Execution
  • Request engineer approval → Communication
  • Extract structured information from raw syslog → Perception

11. Question 10 – Perception Tool

An AI agent receives thousands of unstructured ACI syslog messages.

It needs to extract:

  • Leaf ID
  • Interface
  • Timestamp
  • Fault type
  • Severity

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 or extract structured information from unstructured information.

12. Question 11 – ReAct Observation

An ACI AI agent follows this sequence:

Thought
   ↓
Action
   ↓
Observation

The agent calls an APIC API to retrieve endpoint information.

What is the purpose of the Observation step?

A. Generate the final blog article

B. Receive and process the result of the tool call

C. Restart APIC

D. Delete the previous action

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

For example:

Thought:
I should check whether the endpoint is learned.

Action:
get_aci_endpoint()

Observation:
Endpoint not found.

The observation provides information that can influence the agent's next decision.

13. Question 12 – ACI Agent Memory

An AI agent has already checked:

Endpoint learning
EPG membership
Bridge Domain
Contract
Interface status

It should not repeat the same investigation unnecessarily.

Which capability helps the agent retain information about previous actions and results?

A. Memory

B. Interface policy

C. VXLAN

D. BGP

Answer: A – Memory

Memory can help an agent retain relevant information from previous actions and interactions.

For a network engineer, think of this as the agent maintaining a useful history of its troubleshooting journey.

14. Question 13 – Short-Term Investigation Context

During an ACI troubleshooting session, the agent needs to remember:

"Leaf-101 was checked and is healthy."

It also needs to remember:

"EPG-App has endpoint learning problems."

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

A. Working context / short-term memory

B. L3Out

C. Contract

D. Interface policy group

Answer: A – Working context / short-term memory

This information is required to make the next troubleshooting decision without repeating previous steps.

15. Question 14 – Supervisor Architecture

An enterprise wants to build an AI-based network operations platform with specialized agents:

ACI Troubleshooting Agent
Security Agent
Monitoring Agent
Ticketing Agent

The organization wants one central agent to coordinate these specialized agents.

Which orchestration pattern is most appropriate?

A. Peer-to-peer

B. Single agent

C. Supervisor

D. Random selection

Answer: C – Supervisor

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

This is particularly interesting for large network environments where different systems may require different specialized capabilities.

16. Question 15 – Human-in-the-Loop for ACI

An AI agent has determined that a production ACI contract needs to be modified.

The change could affect communication between multiple application environments.

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

A. Make the change immediately

B. Delete the existing contract

C. Request appropriate human approval

D. Restart the leaf switches

Answer: C – Request appropriate human approval

A safer production workflow is:

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

This is particularly important when AI agents are given access to production network infrastructure.

17. Question 16 – ACI Agent Safety

An AI agent identifies a possible problem with an ACI L3Out and proposes changing the configuration.

Which approach is safest for a production environment?

A. Allow unrestricted autonomous changes

B. Give the agent administrator access to everything

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

D. Disable logging to improve performance

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

The objective should be to provide the agent with enough access to perform its task while limiting unnecessary privileges.

18. Question 17 – Agent Fails to Access APIC

An AI agent is troubleshooting Cisco ACI but its APIC API connection repeatedly fails.

What should the agent ideally do?

A. Continue calling the API indefinitely

B. Pretend that the API returned the expected result

C. Apply an approved fallback or escalate to a human

D. Change APIC configuration automatically

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

A well-designed agent needs defined failure-handling behavior.

19. Question 18 – ACI Endpoint Investigation

An engineer asks:

"Why can't Server-A communicate with Server-B?"

The AI agent discovers:

Server-A → Endpoint learned
Server-B → Endpoint learned
EPG membership → Correct
Bridge Domain → Operational
Contract → Missing

What is the most logical next conclusion?

A. The leaf switch must be powered off

B. The missing contract should be investigated as a likely policy issue

C. The APIC cluster must be rebuilt

D. The spine switches must be replaced

Answer: B – The missing contract should be investigated as a likely policy issue.

This demonstrates how an agent can use observations from previous steps to determine what to investigate next.

20. Question 19 – RAG vs Live Operational Data

An ACI engineer asks:

"What does our company-approved procedure say about removing a leaf from production?"

Which information source would be most appropriate?

A. Generic model knowledge only

B. Organization-specific knowledge retrieved through RAG

C. Random internet content

D. Endpoint table only

Answer: B – Organization-specific knowledge retrieved through RAG

This distinction is important:

RAG → Knowledge

APIC API → Current operational state

A powerful ACI agent could potentially use both.

21. Question 20 – Complete AI Agent Workflow

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

A.

Change → Guess → Stop

B.

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

C.

Login → Change → Logout

D.

Prompt → Delete Fabric → Restart

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

This brings together the major concepts covered throughout the assessment.

22. Bonus Question – Think Like an ACI Engineer

An AI agent tells you:

"I am 98% confident that the contract is the cause of the connectivity problem."

Should the network engineer automatically implement the proposed configuration change?

A. Yes, because the confidence is 98%

B. Yes, because AI cannot make mistakes

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

D. No, because AI agents can never troubleshoot networks

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

AI confidence should never replace engineering validation.

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. Related Cisco ACI & AI Articles from Netterrene

If you are learning AI as a network engineer, I recommend following these articles in sequence.

AI Fundamentals

Generative AI Fundamentals Explained for Beginners
A beginner-friendly introduction to Generative AI, LLMs, context, prompting, Human-in-the-Loop, AI agents, and networking examples.

Read: Generative AI Fundamentals for Beginners

Agentic AI for Network Engineers

Agentic AI for Network Engineers: What It Actually Means for BGP, ACI, and Your NOC
This is a natural follow-up to this assessment because it explains Agentic AI using real network operations scenarios and compares agents with traditional automation.

Read: Agentic AI for Network Engineers

Reactive Automation vs Agentic AI

Reactive Automation vs Generative AI vs Agentic AI: A Decision Framework for Network Engineers
Useful for understanding where traditional automation, Generative AI, and Agentic AI fit into network operations.

Read: Reactive Automation vs Generative AI vs Agentic AI

Cisco ACI Fundamentals

Cisco ACI Explained: Concepts, Learning Prerequisites, Benefits, and Limitations
If you are new to ACI, start here before moving into AI-powered ACI automation.

Read: Cisco ACI Explained

Cisco ACI MoQuery

Cisco ACI MoQuery – Advanced Commands for Day-to-Day Operations
MoQuery is particularly relevant when thinking about how an AI agent could retrieve operational information from the ACI Management Information Tree.

Read: Cisco ACI MoQuery Guide

Cisco ACI vPC

Cisco ACI vPC Explained: Architecture, Working, Configuration, Traffic Flow & Interview Questions
Useful for engineers who want to understand ACI vPC before applying AI-assisted troubleshooting concepts to it.

Read: Cisco ACI vPC Guide

Cisco ACI Service Graph

Why Service Graphs Matter in Cisco ACI
A useful advanced ACI topic because service insertion introduces additional relationships that an AI troubleshooting agent may need to understand.

Read: Cisco ACI Service Graph Guide

ACI Switch Lifecycle

Cisco ACI Decommission Only vs Remove vs Secure Remove
This is another good example of where an AI agent could potentially help an engineer investigate dependencies before a fabric change.

Read: Cisco ACI Decommission vs Remove vs Secure Remove

25. Recommended Learning Path

If you are using this article for self-study, follow this sequence:

Step 1 → Learn Cisco ACI fundamentals

Step 2 → Learn Generative AI fundamentals

Step 3 → Understand AI agents

Step 4 → Understand Reactive Automation vs Generative AI vs Agentic AI

Step 5 → Learn RAG and tool calling

Step 6 → Learn ReAct and agent memory

Step 7 → Apply these concepts to ACI troubleshooting

Step 8 → Start with read-only automation

Step 9 → Introduce Human-in-the-Loop approval

Step 10 → Gradually explore controlled autonomous operations

This gives you a strong bridge between your existing Cisco ACI expertise and your new AI/Agentic AI learning journey.

26. Final Takeaway

The anatomy of an AI agent becomes much easier to understand when it is mapped to a Cisco ACI troubleshooting problem.

Plan-and-Execute → ACI troubleshooting plan

RAG → ACI documentation and internal runbooks

Tool Calling → APIC APIs and operational tools

ReAct → Think → Act → Observe

Memory → Incident investigation history

Perception → Extracting information from logs

Supervisor → Coordinating specialized network agents

Human-in-the-Loop → Production change approval

Termination → Knowing when the troubleshooting task should stop

The important lesson for network engineers is that Agentic AI doesn't require abandoning your networking fundamentals.

Instead, your existing knowledge of ACI, APIC, contracts, EPGs, Bridge Domains, L3Outs, endpoints, faults, and troubleshooting methodology becomes the foundation on which you can build AI-assisted network operations.

The future network engineer won't just understand the network. They will increasingly understand how to teach intelligent systems to work with the network safely.