Blog

  • CPU vs GPU: Differences, Uses and Role in AI Computing

    Introduction

    The CPU and GPU are two of the most important processors in modern computing. They both perform calculations, but they are designed for different kinds of work. A CPU is a general-purpose processor that manages a wide range of system activities. A GPU is designed to perform many similar calculations in parallel, making it especially useful for graphics, scientific workloads and artificial intelligence.

    Understanding the difference between a CPU and GPU is useful not only for computer users, but also for IT professionals, cloud architects and data center engineers. As AI workloads grow, GPU-based servers and high-bandwidth networks are becoming increasingly important.

    1. What is a CPU?

    CPU stands for Central Processing Unit. It is often described as the general-purpose brain of a computer. It executes program instructions, manages operating-system activities, coordinates applications and handles a broad mix of tasks.

    A CPU typically has a comparatively small number of powerful cores. Each core is designed to handle complex instructions, branching logic and tasks that may depend on the results of earlier steps. This makes CPUs well suited to operating systems, database control logic, application services and many everyday computing tasks.

    • Runs operating-system and application instructions.
    • Coordinates work across the computer or server.
    • Handles complex tasks with branching and sequential dependencies.
    • Works with system memory (RAM) and other hardware components.

    2. What is a GPU?

    GPU stands for Graphics Processing Unit. GPUs were originally developed to accelerate graphics operations, such as rendering images and video. Their architecture is also well suited to workloads that can be divided into many smaller calculations and processed at the same time.

    A GPU contains many processing units designed to work in parallel. This makes it effective for large-scale mathematical operations used in machine learning, deep learning, image processing and scientific computing. The exact number and type of cores vary by GPU model.

    • Accelerates graphics and visual computing.
    • Performs large groups of similar calculations in parallel.
    • Can accelerate AI training and inference workloads.
    • Uses dedicated GPU memory, commonly called VRAM or high-bandwidth memory, depending on the product.

    3. CPU vs GPU: Key differences

    Feature CPU GPU
    Full form Central Processing Unit Graphics Processing Unit
    Main role General-purpose computing and system control Parallel processing and workload acceleration
    Typical design Fewer, more complex cores Many processing units optimized for parallel work
    Strength Complex logic, branching and sequential tasks Large batches of similar calculations
    Common uses Operating systems, application logic, databases Graphics, AI, simulation and image processing
    Memory relationship Uses system RAM Uses dedicated GPU memory such as VRAM or HBM
    AI role Coordinates workloads and can run AI tasks Often accelerates compute-intensive AI operations

    Important clarification: CPU and GPU performance cannot be compared by core count alone. Their architectures are different, and the best processor depends on the application, software, memory requirements and workload.

    4. A simple real-world example

    Imagine a task that contains thousands of independent calculations. A CPU can perform the work efficiently using its powerful cores, but it may not be the best choice when the same type of calculation needs to be repeated across a very large dataset.

    A GPU can divide suitable parts of the workload across many processing units and execute them in parallel. Think of the CPU as a skilled coordinator handling varied instructions, while the GPU is a large team working on many similar calculations at once. This is an analogy; real CPU and GPU workloads are more complex.

    5. Why are GPUs important for artificial intelligence?

    Many AI models rely on large numbers of matrix and vector operations. These operations can often be parallelized, which makes GPUs valuable accelerators for AI workloads.

    AI training

    During training, a model processes examples, calculates errors and updates its internal parameters. GPUs can accelerate many of the mathematical operations involved, especially when training large neural networks.

    AI inference

    Inference is the process of using a trained model to produce an output, such as a text response, classification or image result. GPUs can help serve demanding inference workloads, although CPUs and specialized accelerators can also be used.

    Other AI-related workloads

    • Deep learning and neural-network operations.
    • Image and video analysis.
    • Speech and language processing.
    • Scientific simulations and large-scale data analytics.

    6. How CPU and GPU work together

    A CPU and GPU are usually complementary rather than competing components. The CPU runs the operating system and application logic, prepares data and coordinates tasks. When a suitable compute-intensive operation is identified, the application can send that work to the GPU. The GPU processes it and returns the result for the application to use.

    Figure: Simplified view of CPU–GPU cooperation.

    RAM and GPU memory

    System RAM stores data and instructions used by the CPU and applications. GPU memory stores data needed by the GPU, such as model parameters, intermediate calculations and image data. In many AI servers, GPU memory capacity and bandwidth are important design considerations.

    7. Why this matters for data center and networking engineers

    Traditional enterprise data centers commonly run a broad mix of CPU-based workloads, including virtual machines, databases, web services and business applications. AI infrastructure adds clusters of GPU servers that may exchange large amounts of data with one another and with high-performance storage.

    Area Traditional data center AI-focused data center
    Compute Primarily CPU-based servers for general applications GPU-accelerated servers for suitable AI and HPC workloads
    Network traffic A mix of north-south and east-west application traffic Can include intensive east-west traffic between GPU nodes
    Network design Designed around application, storage and user requirements May require high bandwidth, low latency and careful congestion management
    Interconnects Ethernet is widely used Ethernet and/or InfiniBand may be used, depending on architecture
    Storage General-purpose enterprise storage High-throughput data pipelines may be needed to feed accelerators

    For networking teams, the key point is that AI clusters can create demanding east-west traffic patterns. Network design must consider throughput, latency, congestion, oversubscription, storage access and the specific communication pattern of the AI workload. Not every AI data center uses the same network design.

    8. Infographic: CPU vs GPU at a glance

    Use the infographic below as a visual summary of the processor differences, AI use cases and data center context.

    9. Key takeaways

    • A CPU is a versatile processor designed for a wide range of tasks and complex control logic.
    • A GPU is designed to accelerate workloads that can be divided into many parallel calculations.
    • AI training and inference can benefit from GPUs, but not every AI task requires one.
    • CPUs and GPUs usually work together as parts of a larger computing system.
    • AI data centers may need high-bandwidth networking and storage to keep GPU servers supplied with data.

    Frequently Asked Questions (FAQs)

    What is the main difference between a CPU and a GPU?

    A CPU is a general-purpose processor designed for varied tasks and complex instructions. A GPU is designed to execute many suitable calculations in parallel, making it useful for graphics, AI and other data-intensive workloads.

    Is a GPU faster than a CPU?

    It depends on the task. A GPU can be much faster for highly parallel workloads, while a CPU is often better for complex sequential logic, operating-system tasks and workloads with frequent branching. Neither is universally faster.

    Why are GPUs used for AI?

    Many AI workloads involve large matrix and vector calculations that can be performed in parallel. GPUs are designed to accelerate these operations and can improve training or inference performance for supported models.

    Can a computer work without a GPU?

    Yes. Many computers can operate using integrated graphics or other display hardware. A dedicated GPU is not required for every computer or every application.

    Can a GPU replace a CPU?

    No, not in a typical computer or server. The CPU manages general system tasks and coordinates applications, while the GPU accelerates specific workloads. They are designed to complement each other.

    What is VRAM?

    VRAM is video memory used by a graphics card or GPU. It stores data the GPU needs, such as textures, images and model data. Some data-center accelerators use high-bandwidth memory (HBM) rather than conventional graphics-card VRAM.

    What is the difference between AI training and AI inference?

    Training is the process of teaching a model from data by adjusting its parameters. Inference is using the trained model to generate a prediction or response. GPUs can accelerate both, depending on the model and system.

    Do AI data centers use Ethernet or InfiniBand?

    They may use either, or a combination, depending on the workload and architecture. Ethernet technologies such as RoCE and InfiniBand are both used in high-performance AI and computing environments.

    Does every AI application need an NVIDIA GPU?

    No. AI workloads can run on CPUs, GPUs from different vendors, and specialized accelerators. The appropriate hardware depends on software support, performance, cost, power and deployment requirements.

    Why does GPU networking matter in an AI data center?

    GPU servers may need to exchange large volumes of data during distributed training and other workloads. Network bandwidth, latency, congestion control and topology can therefore influence overall cluster performance.

    Related articles from Netterrene

    Continue learning with these related guides published on Netterrene.com. The links below were checked against the live site when this document was prepared.

    Conclusion

    The CPU and GPU solve different computing problems. The CPU provides flexible control and handles a wide range of instructions, while the GPU accelerates suitable workloads by processing many calculations in parallel. Together, they form the computing foundation of modern PCs, servers and AI infrastructure.

    As organizations adopt AI, data center engineers need to understand not only GPU servers but also the network and storage systems that support them. A balanced design considers the complete workload rather than focusing on processor specifications alone.

  • A Practical Framework for Troubleshooting Modern Networks

    Start with the Network Fundamentals

    When users report slow connections or lost access, a structured troubleshooting process is more useful than changing configuration immediately. First, define the scope: identify affected users, devices, applications, and locations. Determine when the issue began and whether it is intermittent or persistent. These details help distinguish a local access problem from a wider routing or service outage.

    Work through the network in layers. Check physical links, interface status, errors, and negotiated speed before investigating higher-level behavior. Then confirm VLAN membership, trunk configuration, and gateway reachability. A clear baseline—such as expected routes, interface counters, and normal latency—makes unusual behavior easier to recognize.

    Trace Switching and Routing Paths

    For switching issues, verify that the correct VLAN exists along the entire path and that spanning-tree behavior is expected. Review MAC address learning and interface counters for clues such as flapping, drops, or excessive errors. On routed networks, inspect the routing table and confirm that the selected path matches the design. Check both directions: asymmetric routing can cause problems even when one-way tests appear successful.

    Use targeted tests rather than relying on a single ping. Test from the affected device, its default gateway, and relevant points farther along the path. Traceroute, DNS lookups, and application-specific checks can reveal whether the issue involves forwarding, name resolution, or the service itself.

    Consider Nexus and ACI Environments

    In Cisco Nexus environments, validate port-channel consistency, interface health, and the expected Layer 2 or Layer 3 configuration. In ACI, examine endpoint learning, policy relationships, and the relevant bridge domain and routing configuration. Confirm that the observed behavior aligns with the intended policy, rather than assuming that connectivity follows traditional VLAN boundaries.

    Make Changes Carefully

    Before modifying a production network, capture the current state and identify a rollback plan. Change one variable at a time, then verify the result with the same tests used to establish the problem. Record the cause, resolution, and useful command outputs. Consistent documentation turns individual fixes into repeatable procedures and helps teams resolve future incidents with greater confidence.

  • Building a Strong Foundation in Modern Network Engineering

    Networking Begins with the Fundamentals

    Reliable networks depend on a clear understanding of how data moves. Routing and switching are central to that foundation: switches connect devices within local networks, while routers direct traffic between networks. Knowing how addressing, VLANs, subnetting, and routing protocols work makes it easier to design, troubleshoot, and maintain infrastructure.

    These concepts remain useful even as organizations adopt more automation and software-defined approaches. When a connectivity issue appears, fundamentals help engineers trace the path of traffic, identify where it is interrupted, and distinguish configuration problems from hardware or policy issues.

    Working with Cisco Nexus and Data Center Networks

    Cisco Nexus platforms are widely used in data centers, where availability, performance, and predictable operations are essential. Engineers working with Nexus technologies may encounter features such as virtual port channels, high-availability designs, and advanced Layer 2 and Layer 3 capabilities. Understanding how these features fit into the overall topology is just as important as knowing the commands used to configure them.

    Good operational practice includes documenting design decisions, validating changes before deployment, and reviewing logs and counters during troubleshooting. These habits can reduce downtime and make complex environments easier for teams to manage.

    Understanding Cisco ACI

    Cisco Application Centric Infrastructure (ACI) uses a policy-driven model to manage data center connectivity. Instead of configuring every device independently, administrators define application requirements through constructs such as tenants, application profiles, endpoint groups, and contracts. The fabric then applies those policies across the infrastructure.

    ACI does not remove the need to understand networking. Familiarity with routing, switching, encapsulation, and security policies helps engineers interpret the fabric’s behavior and investigate connectivity issues. Learning how traditional network concepts map to ACI objects can make the transition to policy-based operations more approachable.

    Growing as a Network Engineer

    Network engineering continues to evolve, but practical knowledge remains valuable. Build a lab, test configurations, read vendor documentation, and record lessons from real troubleshooting scenarios. A steady balance of core skills and emerging technologies can help engineers make sound design choices and keep networks resilient as requirements change.

  • Generative AI Fundamentals Explained for Beginners (With IT & Network Engineering Examples)


    1.     What is Generative AI?

    Generative AI is a type of artificial intelligence that creates new content instead of simply analyzing existing information. It can write text, generate images, create code, summarize reports, and even produce audio or videos. It learns patterns from massive datasets and uses those patterns to generate human-like responses.

    IT & Networking Example:

    A network engineer can ask AI:

    “Generate a Cisco IOS configuration for OSPF with authentication.”

    Instead of searching through documentation, AI generates the initial configuration in seconds.

    2.     AI Model vs AI Tool

    An AI model is the intelligence behind the system, while an AI tool is the application people use to interact with that model. Think of the model as the engine of a car and the tool as the car itself.

    IT & Networking Example:

    Model: GPT

    Tool: ChatGPT

    Example prompt:

    “Explain VXLAN EVPN like I’m preparing for my CCIE Data Center lab.”

    3.     Prompt Engineering

    Prompt engineering is the skill of writing clear and detailed instructions for AI. The better your prompt, the more useful and accurate the AI’s response will be. Good prompts include context, objectives, audience, and expected output.

    IT & Networking Example:1

    A good prompt usually contains:

    ·       Role

    ·       Context

    ·       Objective

    ·       Constraints

    ·       Desired output

    Then show:

    Act as a CCIE Data Center instructor.

    Explain VXLAN EVPN.

    Audience:
    CCNP engineers

    Output:
    Comparison table with deployment examples.

    Length:
    Around 500 words.

    Readers immediately learn how professionals write prompts.

    IT & Networking Example:2

    Poor Prompt:

    Explain BGP.

    Better Prompt:

    Act as a CCIE Data Center instructor. Explain BGP Route Reflectors using a real Cisco data center example suitable for an interview.

    4.      Persona Assignment

    Persona assignment tells AI to behave like a particular professional or expert. This helps the AI tailor its language, explanations, and recommendations to match that role.

    IT & Networking Example:

    Act as a Cisco TAC Engineer troubleshooting a Nexus 9000 switch with high CPU utilization.

    5.     Context

    Context gives AI background information about the problem. Without context, AI has to guess what you need, often resulting in generic answers.

    IT & Networking Example:

    Instead of asking:

    Explain VXLAN.

    Ask:

    Explain VXLAN to a virtualization administrator migrating from traditional VLANs in a Cisco ACI environment.

    6.     Output Format

    Always tell AI how you want the response delivered. You can request tables, bullet points, step-by-step instructions, emails, reports, or configuration templates.

    IT & Networking Example:

    Explain STP in a comparison table including RSTP, MSTP, advantages, disadvantages, and Cisco commands.

    7. Human-in-the-Loop

    AI should assist—not replace—human decision-making. Every AI-generated output should be reviewed for accuracy, completeness, security, and business relevance before it is used.

    IT & Networking Example:

    Before deploying an AI-generated Cisco configuration, verify interface numbers, VLAN IDs, IP addresses, routing protocols, and security settings.

    I’d emphasize that AI is an assistant.

    AI accelerates work, but humans remain responsible for reviewing configurations, security recommendations, and production changes.

    7.     Iterative Refinement

    The first AI response is rarely perfect. Professionals improve results by asking follow-up questions, correcting mistakes, and requesting refinements until the output meets their requirements.

    IT & Networking Example:

    First Prompt:

    Generate an EVPN configuration.

    Second Prompt:

    Optimize it for Cisco Nexus 9500 running NX-OS 10.x with dual-homed servers.

    8.     Large Language Models (LLMs)

    Large Language Models are AI systems trained primarily to understand and generate human language. They are excellent at writing, explaining concepts, summarizing documents, and answering questions.

    IT & Networking Example:

    Explain Cisco ACI contracts with real production examples.

    9.     10. Diffusion Models

    Diffusion models specialize in generating images from text descriptions. They are commonly used in graphic design, marketing, and product visualization.

    IT Example:

    Create a professional network topology diagram showing a Cisco Spine-Leaf architecture.

    10.             Multimodal AI

    Multimodal AI can process multiple types of information, including text, images, audio, and documents, within a single conversation. This makes it more versatile than text-only models.

    IT & Networking Example:

    Upload a network topology, firewall logs, screenshots, and an Excel report, then ask:

    Identify the root cause of this outage.

    11.            AI Tokens

    A token is the smallest piece of text processed by an AI model. Tokens may represent words, parts of words, punctuation, or symbols. AI pricing and context limits are often measured in tokens rather than words.

    IT Example:

    A 100-page Cisco design document uses significantly more tokens than a simple troubleshooting email.

    12.            Enterprise AI Security

    Businesses should use enterprise AI platforms that provide encryption, access control, audit logs, and contractual privacy protections. Sensitive business information should never be uploaded to unsecured public AI services.

    IT & Networking Example:

    Never upload a customer’s firewall configuration or network topology into a public AI chatbot.

    Examples of sensitive data include:

    • Passwords
    • API keys
    • VPN credentials
    • SSH private keys
    • Network diagrams
    • Customer IP addresses
    • Internal design documents

    13.             AI Ethics

    Responsible AI means using AI fairly, transparently, and responsibly. Humans remain accountable for AI-assisted decisions, especially when those decisions affect customers, employees, or business operations.

    IT & Networking Example:

    If AI recommends disabling a security feature to improve performance, verify the recommendation before applying it in production.

    14.            AI Bias

    AI can unintentionally reflect biases present in its training data. Users should review outputs for fairness and use inclusive prompts when generating content or images.

    IT Example:

    Instead of asking:

    Show a software engineer.

    Ask:

    Show a diverse team of software engineers collaborating in a modern data center.

    15.            Data Privacy

    Organizations must protect customer information and comply with privacy regulations. AI should only process personal data in secure and compliant environments.

    IT & Networking Example:

    Never upload customer IP inventories, passwords, VPN credentials, firewall rules, or confidential network diagrams to an unsecured AI platform.

    16.            AI Hallucination

    This is probably the most important concept after Prompt Engineering.

    What is AI Hallucination?

    AI hallucination occurs when an AI model generates information that sounds confident and convincing but is incorrect, fabricated, or unsupported by facts. Since AI predicts likely responses rather than verifying every fact, users should always validate important information.

    IT & Networking Example

    AI generates a Cisco command that doesn’t exist or recommends configuring a feature that is unsupported on your NX-OS version.

    Always verify commands using Cisco documentation before deploying them.

    17.            Temperature

    Beginners often see this setting in AI tools.

    What is Temperature?

    Temperature controls how creative or predictable AI responses are. Lower values produce more consistent and factual answers, while higher values encourage creativity and varied outputs.

    IT Example

    For generating Cisco configurations, use a low temperature for consistent results.

    For writing a blog or designing a network diagram, a higher temperature may produce more creative ideas.

    18.            Context Window

    One of the biggest limitations of AI.

    What is Context Window?

    A context window is the maximum amount of information an AI model can process in a single conversation. If too much information is provided, earlier details may no longer influence the response.

    IT Example

    Uploading a 400-page Cisco design guide may exceed the model’s context window, so splitting the document into sections often produces better results.

    19.            Retrieval-Augmented Generation (RAG)

    This is becoming standard in enterprise AI.

    What is RAG?

    Retrieval-Augmented Generation (RAG) allows AI to retrieve information from trusted sources before generating an answer. This helps improve accuracy and ensures responses are based on up-to-date or organization-specific knowledge.

    IT Example

    Instead of relying only on general AI knowledge, a company chatbot searches Cisco documentation, internal runbooks, and knowledge bases before answering a network engineer’s question.

    20.            AI Agents

    Everyone is talking about AI Agents.

    What are AI Agents?

    AI agents are AI systems that can plan tasks, make decisions within defined limits, use tools, and complete multi-step workflows with minimal human intervention.

    IT & Networking Example

    An AI agent monitors network alerts, collects logs from switches, analyzes potential root causes, drafts a troubleshooting report, and opens a support ticket for engineer approval.

    Where Can Network Engineers Use AI?

    TaskHow AI Helps
    Learning CCNA/CCNP/CCIEExplains difficult concepts in simple language
    TroubleshootingAnalyzes logs and suggests possible causes
    AutomationGenerates Python, Ansible, or Terraform scripts
    DocumentationCreates network design documents and runbooks
    Email WritingDrafts professional incident updates
    ConfigurationGenerates Cisco IOS, NX-OS, or Junos templates
    Interview PreparationConducts mock technical interviews
    Study NotesSummarizes RFCs and Cisco documentation

    Final Takeaway

    Generative AI is rapidly becoming an essential productivity tool for IT professionals. Whether you’re a CCNA student, a network administrator, or a CCIE Data Center engineer, AI can help you learn faster, troubleshoot complex issues, automate repetitive tasks, summarize technical documentation, generate Python scripts, create Ansible playbooks, draft Cisco configurations, and prepare for technical interviews. However, AI should always be treated as an intelligent assistant—not as a replacement for engineering expertise. Validate all AI-generated recommendations, especially before making changes in production environments.

    Related Blogs

    Networklearner: Generative AI MCQ Quiz for Beginners (With Answers & Explanations for IT & AI Learners)

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

    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.

    Function Example Tools
    Source Control Git, GitLab, GitHub
    Pipeline GitLab CI/CD, Jenkins, GitHub Actions
    Automation Ansible, Python, Terraform
    ACI Interface APIC REST API, ACI SDK/tooling
    Testing pyATS, custom API tests
    Lab/Simulation Cisco Modeling Labs
    Monitoring Existing enterprise monitoring platforms
    Configuration Format YAML, JSON
    Review Git 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.

  • How to Permanently Decommission a Leaf Switch in Cisco ACI Fabric: A Complete Guide for Network Engineers

     ACI leaf switch is more than simply unplugging cables and removing the hardware. The switch can be referenced throughout the fabric by policies, vPC configurations, management settings, and routing components. If these dependencies are not removed correctly, the fabric may continue to generate faults and warnings long after the switch has been taken out of service.

    This guide walks through a clean and permanent method for removing a leaf switch from an ACI fabric while ensuring the environment remains stable and fault-free.

    When Would You Need to Decommission a Leaf Switch?

    Network engineers commonly decommission leaf switches during:

    • Hardware refresh projects
    • Data center migrations
    • Fabric redesign initiatives
    • Capacity optimization exercises
    • RMA and hardware replacement activities
    • Retirement of unused infrastructure

    No matter the reason, following a structured process helps prevent operational issues later.

    Why Proper Decommissioning Matters

    Before removing a leaf switch, it is important to understand that the node may still be referenced by:

    • vPC configurations
    • Endpoint Group (EPG) static bindings
    • L3Out configurations
    • Interface policies
    • Management connectivity settings
    • Maintenance groups and policy groups

    Leaving these references behind can generate faults and impact fabric health even after the physical switch has been disconnected.

    Step 1: Remove vPC Dependencies

    If the leaf switch is part of a vPC pair, begin by removing the explicit vPC protection group associated with the node.

    This is one of the most frequently missed steps during decommissioning. If the vPC relationship remains configured, the surviving peer may continue looking for its partner and generate unnecessary faults within the fabric.

    Always verify that all vPC references have been removed before proceeding.

    Step 2: Remove All References to the Leaf Switch

    Before decommissioning the node, review the fabric and remove every configuration object that references the switch.

    Static Path Bindings

    Check all Endpoint Groups (EPGs) and remove any static path bindings associated with the leaf switch.

    L3Out Configuration

    Review:

    • Node Profiles
    • Interface Profiles

    Remove any references to the target node.

    Interface Policies

    Validate and clean up:

    • Interface Selectors
    • Interface Profiles
    • Leaf Switch Profiles

    Management Configuration

    Verify and remove:

    • Out-of-Band (OOB) Management Addresses
    • In-Band (INB) Management Addresses

    Policy Group Membership

    Ensure the node is removed from:

    • Leaf Policy Groups
    • Maintenance Groups
    • Operational Groups

    Cleaning these dependencies beforehand helps ensure a smooth removal process and reduces troubleshooting efforts afterward.

    Step 3: Decommission the Node from APIC

    After confirming that all dependencies have been removed, navigate to:

    Fabric → Inventory → Fabric Membership

    Select the leaf switch you want to retire and choose the Decommission option.

    When prompted, select:

    Remove from Controller

    This is the permanent decommission option.

    When selected, APIC removes:

    • Node ID association
    • Serial number registration
    • Fabric membership information

    After the process completes, the switch is no longer considered an active member of the ACI fabric.

    Step 4: Verify Successful Removal

    Allow a few minutes for APIC convergence and database updates.

    Once convergence is complete, verify the following:

    • The node no longer appears in Fabric Membership
    • The serial number has been removed from APIC inventory
    • No active faults are associated with the node
    • No policies reference the decommissioned switch

    This validation step provides confidence that the node has been successfully removed from the fabric.

    Step 5: Clean the Switch Configuration

    Although the switch has been removed from APIC, the physical device may still retain its ACI identity.

    Connect to the switch console and run:

    setup-clean-config.sh

    After the cleanup process completes, reload the switch:

    reload

    This removes residual ACI configuration and fabric identity information from the hardware.

    Performing this cleanup is highly recommended if the switch will be:

    • Added to another ACI fabric
    • Used in a lab environment
    • Returned to inventory
    • Repurposed for another project

    Step 6: Physically Disconnect the Switch

    The final step is to remove all physical connections.

    Disconnect:

    • Uplinks
    • Downlinks
    • Management cables
    • Power connections (when approved by local procedures)

    Physical removal should always occur after the logical decommissioning process is fully completed.

    Many engineers make the mistake of disconnecting the switch first, which can complicate troubleshooting and validation activities.

    A good rule to remember is:

    “Logically remove first, physically remove last.”

    Common Mistakes to Avoid

    Skipping vPC Cleanup

    This can cause vPC-related faults on the peer switch.

    Forgetting Static Path Bindings

    Orphaned EPG configurations can remain in the fabric.

    Leaving L3Out References Behind

    Routing policies referencing decommissioned nodes can cause operational issues.

    Not Selecting “Remove from Controller”

    The switch may continue to appear in the fabric inventory.

    Skipping Switch Cleanup

    The device may retain old fabric identity information and create issues when reused.

    Disconnecting Cables Too Early

    This makes verification and troubleshooting more difficult.

    Best Practice Checklist

    Before retiring a Cisco ACI leaf switch, confirm the following:

    ✅ vPC protection groups removed

    ✅ Static path bindings cleaned

    ✅ L3Out references removed

    ✅ Interface profiles cleaned

    ✅ OOB and INB management addresses removed

    ✅ Policy groups updated

    ✅ Node decommissioned from APIC

    ✅ Serial number removed from Fabric Membership

    ✅ Switch cleaned using setup-clean-config.sh

    ✅ Physical cables disconnected last

    Conclusion

    A clean Cisco ACI leaf switch decommission requires more than simply removing hardware from the rack. By systematically removing policy references, cleaning vPC dependencies, decommissioning the node from APIC, clearing the switch configuration, and finally disconnecting physical cabling, you can avoid unnecessary faults and maintain a healthy fabric.

    Following this approach will help network engineers perform leaf switch retirements confidently while ensuring operational consistency across the data center environment.

    Related Networking Articles

    Continue learning Cisco ACI and Data Center Networking concepts through Netterrene:

    • https://netterrene.com/
    • https://netterrene.com/search/label/Cisco%20ACI
    • https://netterrene.com/search/label/Data%20Center
    • https://netterrene.com/search/label/Cisco
    • https://netterrene.com/search/label/Networking

    For more Cisco ACI troubleshooting guides, best practices, and real-world operational lessons, visit:

    Home

  • 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

  • Top 10 Cisco ACI Multiple Choice Questions (MCQs) with Answers and Explanations

     Cisco ACI’s policy-driven model trips up even experienced engineers coming from traditional VLAN/routing backgrounds. The following ten questions cover the concepts that come up most often in interviews, CCIE Data Center prep, and real production troubleshooting — contracts, EPGs, zoning-rules, Multi-Site, and APIC cluster behavior.


    Question 1

    A contract subject is configured with scope “VRF” instead of “Tenant.” What does this actually control?

    Options

    A. Whether the contract can be reused by other tenants

    B. Which EPGs within the fabric the contract’s filter rules are allowed to apply between

    C. The QoS priority assigned to matched traffic

    D. Whether the contract requires stateful firewall inspection

    Correct Answer

    ✅ B. Which EPGs within the fabric the contract’s filter rules are allowed to apply between

    Explanation

    Contract scope controls the boundary within which a contract’s consumer/provider relationship is valid — VRF scope restricts it to EPGs within the same VRF, Tenant scope extends it to any VRF within the same tenant, and Global scope allows it across tenants. Getting this wrong is a common cause of contracts silently failing to apply between EPGs that appear correctly configured otherwise.


    Question 2

    Which ACI construct is responsible for propagating endpoint reachability information (which leaf owns which endpoint) across the fabric?

    Options

    A. Zoning-rules

    B. COOP (Council of Oracle Protocol)

    C. LLDP

    D. OSPF between leaf and spine

    Correct Answer

    ✅ B. COOP (Council of Oracle Protocol)

    Explanation

    COOP runs between leaf switches and spine switches to synchronize the fabric-wide endpoint database, so any leaf can look up where an endpoint currently lives. This is distinct from zoning-rules, which enforce policy (what’s allowed to talk to what) rather than reachability (where something physically is).


    Question 3

    What is the KEY architectural difference between ACI Multi-Pod and ACI Multi-Site?

    Options

    A. Multi-Pod supports more leaf switches per Pod than Multi-Site

    B. Multi-Pod uses a single APIC cluster and fabric-wide policy domain; Multi-Site uses independent APIC clusters per site orchestrated centrally

    C. Multi-Site does not support Layer 3 connectivity between sites

    D. Multi-Pod requires Nexus Dashboard Orchestrator; Multi-Site does not

    Correct Answer

    ✅ B. Multi-Pod uses a single APIC cluster and fabric-wide policy domain; Multi-Site uses independent APIC clusters per site orchestrated centrally

    Explanation

    Multi-Pod extends one fabric (single APIC cluster, single policy domain) across pods connected by an IPN. Multi-Site keeps each site as its own independent fabric with its own APIC cluster, and coordinates policy between them via Nexus Dashboard Orchestrator — giving genuine fault-domain isolation that Multi-Pod doesn’t provide.


    Question 4

    An engineer configures EPG-WEB as the consumer and EPG-DB as the provider of a contract, but traffic from DB to WEB is unexpectedly blocked while WEB to DB works fine. What is the MOST likely cause?

    Options

    A. The Bridge Domain is set to flood mode

    B. The contract’s filter is unidirectional and “Apply Both Directions” was not enabled (or a reverse filter wasn’t added)

    C. The VRF is in unenforced mode

    D. The two EPGs are in different tenants

    Correct Answer

    ✅ B. The contract’s filter is unidirectional and “Apply Both Directions” was not enabled (or a reverse filter wasn’t added)

    Explanation

    By default, ACI contracts can be configured to apply filters in both directions automatically, but if that option is disabled, the consumer-to-provider direction is permitted while the reverse (provider-to-consumer) traffic needs its own explicit filter entry. This is one of the most common real-world contract misconfigurations.


    Question 5

    What is the purpose of vzAny in an ACI tenant?

    Options

    A. It disables all contract enforcement within a VRF

    B. It represents all EPGs in a VRF as a single group, allowing one contract to apply to every EPG in that VRF at once

    C. It is the default deny rule applied to unmatched traffic

    D. It defines the L3Out external EPG

    Correct Answer

    ✅ B. It represents all EPGs in a VRF as a single group, allowing one contract to apply to every EPG in that VRF at once

    Explanation

    vzAny is a shortcut object representing every EPG within a VRF. Associating a contract to vzAny (as provider or consumer) avoids configuring the same contract relationship individually for dozens of EPGs — commonly used for shared services like DNS or NTP that every EPG needs to reach.


    Question 6

    An APIC cluster is running with a target size of 3, but only 2 controllers are currently healthy. What is the operational impact?

    Options

    A. The fabric immediately goes into a full outage

    B. The fabric continues to run on existing policy, but the cluster is out of quorum for making and validating new configuration changes reliably

    C. Only Tenant-level changes are blocked; Fabric Access Policy changes still work normally

    D. APIC automatically demotes itself to a single-controller cluster with no impact

    Correct Answer

    ✅ B. The fabric continues to run on existing policy, but the cluster is out of quorum for making and validating new configuration changes reliably

    Explanation

    Data plane forwarding on the leaf/spine switches is independent of APIC availability — it keeps running on already-programmed policy. But losing quorum in the APIC cluster means new configuration changes may not be reliably validated or replicated, which is why restoring cluster health quickly matters even though traffic isn’t immediately affected.


    Question 7

    Which ACI feature allows two endpoints within the SAME EPG to be prevented from communicating with each other?

    Options

    A. Intra-EPG Isolation

    B. Preferred Group Member

    C. Taboo Contract

    D. Unenforced VRF mode

    Correct Answer

    ✅ A. Intra-EPG Isolation

    Explanation

    By default, endpoints in the same EPG can freely communicate with each other since they share the same policy. Intra-EPG Isolation overrides this, blocking east-west traffic between endpoints in the same EPG — useful for scenarios like a shared VDI or DMZ EPG where individual endpoints shouldn’t reach each other directly.


    Question 8

    What is the primary function of an L3Out in Cisco ACI?

    Options

    A. To create a Layer 2 extension between two Bridge Domains

    B. To provide Layer 3 connectivity between the ACI fabric and external networks, and control which external routes are imported/exported

    C. To define QoS policy for external traffic only

    D. To replace the need for a Bridge Domain in a tenant

    Correct Answer

    ✅ B. To provide Layer 3 connectivity between the ACI fabric and external networks, and control which external routes are imported/exported

    Explanation

    An L3Out defines the routing protocol (BGP, OSPF, EIGRP, or static) used to exchange routes with an external network, along with route-map-based import/export control over which external subnets are learned into the fabric and which internal subnets are advertised out.


    Question 9

    What does a VMM (Virtual Machine Manager) domain in ACI primarily enable?

    Options

    A. Automatic firmware upgrades for ESXi hosts

    B. Direct integration between APIC and a hypervisor manager (like vCenter) so EPGs can be dynamically mapped to VM port groups

    C. A dedicated management VRF for hypervisor traffic

    D. Automatic contract creation between all VMs in a cluster

    Correct Answer

    ✅ B. Direct integration between APIC and a hypervisor manager (like vCenter) so EPGs can be dynamically mapped to VM port groups

    Explanation

    A VMM domain lets APIC push EPGs directly into the hypervisor as port groups (e.g., in vCenter), so VM placement automatically inherits the correct network policy without a network admin manually configuring VLANs or trunk ports for every new VM.


    Question 10

    A leaf switch shows a health score of 45 with no active critical faults listed. What does this indicate?

    Options

    A. The health score is unrelated to faults and only reflects hardware temperature

    B. The health score is a weighted aggregate that can be pulled down by multiple minor/major faults even without any single critical fault present

    C. A health score below 50 always means the leaf is about to fail

    D. The health score only reflects the previous 24 hours and resets automatically

    Correct Answer

    ✅ B. The health score is a weighted aggregate that can be pulled down by multiple minor/major faults even without any single critical fault present

    Explanation

    ACI health scores are calculated as a weighted aggregate across all faults affecting an object, including minor and major severities — not just critical ones. A moderate score with no critical faults often means several smaller issues are compounding, which is why it’s worth reviewing the full fault list rather than only filtering for critical severity.


    Key Takeaways

    Policy Model

    • Contracts define what’s allowed to communicate — scope defines the boundary they operate within
    • vzAny simplifies shared-services contracts across an entire VRF
    • Intra-EPG Isolation blocks communication within a single EPG when needed

    Fabric Architecture

    • COOP synchronizes endpoint location, independent of policy enforcement
    • Multi-Pod = one fabric, one APIC cluster; Multi-Site = independent fabrics, centrally orchestrated
    • APIC cluster health affects config changes, not existing data-plane forwarding

    Connectivity and Integration

    • L3Out controls both routing protocol adjacency and route import/export to external networks
    • VMM domains connect APIC directly to hypervisor managers for automatic policy-to-VM mapping

    Operations

    • Health scores are weighted aggregates — always check the full fault list, not just the score

    Conclusion

    These ten questions cover the concepts that separate engineers who can navigate the APIC GUI from engineers who genuinely understand why ACI behaves the way it does — contract scope, zoning-rule enforcement, fabric architecture, and health-score interpretation all come up constantly in real troubleshooting. Use these as a quick self-check before an interview, a CCIE Data Center study session, or your next production change window.


    Related Reading on Networklearner:


    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, working hands-on with production ACI fabrics.

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

  • Top 9 Agentic AI Multiple Choice Questions (MCQs) with Answers and Explanations

     Agentic AI is transforming how organizations automate operations, perform reasoning, and execute actions autonomously. The following questions cover key concepts including agent architecture, governance, frameworks, automation platforms, and AI risks.


    Question 1

    A security team is deploying an agent that can quarantine potentially infected hosts. Which human-in-the-loop pattern is MOST appropriate?

    Options

    A. Notification only – the agent acts and informs the team afterward

    B. Full automation – the agent acts without any human involvement

    C. No agent involvement – humans should handle all security decisions manually

    D. Approval required – a human must confirm before the agent quarantines a host

    Correct Answer

    ✅ D. Approval required – a human must confirm before the agent quarantines a host

    Explanation

    Quarantining a host can disrupt business services and impact users. Because of the potentially significant consequences, human review should occur before the action is executed.

    Human approval provides:

    • Risk mitigation
    • Better decision accuracy
    • Reduced operational disruption
    • Governance and accountability

    Question 2

    A network operations team needs to build an agent that monitors alerts, queries a knowledge base, and creates tickets. The team includes NOC analysts with limited Python experience, and they need the solution within a week. Which approach is MOST appropriate?

    Options

    A. n8n or similar low-code platform for rapid development

    B. Custom C++ implementation for performance

    C. Wait to hire a Python developer

    D. Python with LangChain for maximum flexibility

    Correct Answer

    ✅ A. n8n or similar low-code platform for rapid development

    Explanation

    The requirements emphasize:

    • Rapid implementation
    • Low coding complexity
    • Limited Python expertise
    • Workflow automation

    Low-code tools such as n8n offer visual workflow designers and pre-built integrations, making them ideal for fast delivery.


    Question 3

    Match each ecosystem component to its role in agent architecture.

    Components

    • Vector Database
    • Model Provider (LLM)
    • Code Sandbox
    • LangChain

    Correct Matching

    Component Role
    Vector Database Provides memory
    Model Provider (LLM) Provides the reasoning core
    Code Sandbox Enables safe code execution
    LangChain Orchestrates

    Explanation

    Vector Database Stores embeddings and supports semantic retrieval, acting as long-term memory.

    Model Provider (LLM) Performs reasoning, understanding, and response generation.

    Code Sandbox Allows secure execution of generated code.

    LangChain Coordinates interactions among models, tools, databases, and workflows.


    Question 4

    Which of the following BEST describes an AI agent?

    Options

    A. A machine learning model that generates text responses

    B. A script that automates repetitive tasks based on schedules

    C. An autonomous system that perceives, reasons, acts, and learns from outcomes

    D. A chatbot that responds to user queries using a knowledge base

    Correct Answer

    ✅ C. An autonomous system that perceives, reasons, acts, and learns from outcomes

    Explanation

    An AI agent typically:

    • Perceives information
    • Reasons about data
    • Takes actions
    • Learns from results

    Unlike basic chatbots or scripts, agents pursue goals with varying degrees of autonomy.


    Question 5

    Which risk category is BEST described by the following scenario?

    “An agent confidently recommends a network configuration change based on incorrect information it generated.”

    Options

    A. Operational risk – cost overrun

    B. Reliability risk – hallucination

    C. Governance risk – unexplainability

    D. Security risk – unauthorized access

    Correct Answer

    ✅ B. Reliability risk – hallucination

    Explanation

    This represents an AI hallucination where the model generates incorrect information while appearing confident.

    Reliability risks include:

    • Hallucinations
    • Incorrect recommendations
    • Inaccurate outputs
    • Poor decision quality

    Organizations commonly reduce this risk through validation, retrieval systems, and human review.


    Question 6

    Which characteristic distinguishes agentic AI from generative AI like ChatGPT?

    Options

    A. The ability to process natural language input

    B. The capacity to maintain conversation context

    C. The use of large language models for reasoning

    D. The capability to take autonomous actions that affect the environment

    Correct Answer

    ✅ D. The capability to take autonomous actions that affect the environment

    Explanation

    Generative AI primarily creates content.

    Agentic AI goes further by:

    • Planning
    • Making decisions
    • Using tools
    • Executing actions
    • Pursuing goals autonomously

    A useful distinction is:

    Generative AI creates. Agentic AI creates and acts.


    Question 7

    A system receives customer support tickets, analyzes their content, creates draft responses, routes tickets to appropriate teams, monitors resolution time, and escalates overdue tickets automatically. This system is BEST classified as:

    Options

    A. Generative AI

    B. Agentic AI

    C. Reactive automation

    D. Rule-based workflow

    Correct Answer

    ✅ B. Agentic AI

    Explanation

    The system:

    • Analyzes information
    • Generates responses
    • Makes routing decisions
    • Monitors progress
    • Escalates issues automatically

    These behaviors demonstrate goal-oriented autonomy, making it an example of Agentic AI.


    Question 8

    Which of the following is a key advantage of n8n for building agentic workflows?

    Options

    A. It provides 400+ pre-built integrations and self-hosting capability

    B. It offers better performance than any coded solution

    C. It requires extensive Python programming knowledge

    D. It must be deployed only in public cloud environments

    Correct Answer

    ✅ A. It provides 400+ pre-built integrations and self-hosting capability

    Explanation

    n8n is widely adopted because it offers:

    • Large integration ecosystem
    • Visual workflow design
    • Self-hosting support
    • Fast deployment
    • Low-code development

    These features make it attractive for rapid AI automation projects.


    Question 9

    DevOps team needs to build an agent that maintains conversation state across sessions, supports human-in-the-loop interruption for approval steps, and can checkpoint and resume workflows. Which framework should they choose?

    Options

    A. CrewAI – for role-based team coordination

    B. LangChain – for its large ecosystem

    C. LangGraph – for explicit state management and checkpointing

    D. AutoGen – for multi-agent conversations

    Correct Answer

    ✅ C. LangGraph – for explicit state management and checkpointing

    Explanation

    LangGraph is specifically designed for:

    • Stateful workflows
    • Durable execution
    • Human-in-the-loop operations
    • Checkpointing
    • Workflow recovery
    • Long-running agent processes

    These capabilities make it ideal for enterprise DevOps scenarios.


    Key Takeaways

    Agent Architecture

    • LLM = Reasoning
    • Vector Database = Memory
    • Sandbox = Safe Execution
    • LangChain = Orchestration

    Governance

    • High-risk actions should use Human-in-the-Loop approvals.
    • Hallucinations are Reliability Risks.

    Platforms and Frameworks

    • n8n = Rapid low-code automation
    • LangChain = Ecosystem and integrations
    • LangGraph = Stateful workflows and checkpointing
    • CrewAI = Agent teams
    • AutoGen = Multi-agent conversations

    Agentic AI

    Agentic AI extends generative AI by enabling autonomous decision-making and action execution to achieve objectives.

    Conclusion

    Understanding AI agents, agent architecture, governance models, and frameworks such as LangGraph and LangChain is essential for designing reliable enterprise AI solutions. These MCQs provide a strong foundation for certification preparation, interviews, and practical implementation of agentic AI systems.

  • 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 Activity Tool Category
    Retrieve tunnel statistics Retrieval
    Apply an approved SD-WAN policy change Execution
    Request engineer approval Communication
    Extract structured information from raw device logs Perception

    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

    Question Answer
    Q1 B
    Q2 C
    Q3 A
    Q4 C
    Q5 D
    Q6 B
    Q7 B
    Q8 B
    Q9 Matching
    Q10 D
    Q11 B
    Q12 A
    Q13 A
    Q14 C
    Q15 C
    Q16 C
    Q17 C
    Q18 B
    Q19 B
    Q20 B
    Bonus C

    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.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.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.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.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.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.