Courseiva
200-901Chapter 13 of 18Objective 5.3

Cisco DNA Center API for Network Management

The 200-901 exam objective 5.3 demands that you describe how automated intent-based networking works using a controller. For someone without an IT background, this concept can be confusing because it flips the traditional way of managing a network—from fixing problems manually to telling a system what you want and letting it handle the details. Understanding the Cisco DNA Center API is crucial because it is the primary tool for turning human goals (like 'make the guest Wi-Fi secure') into automatic network configurations, which is exactly what the exam wants you to grasp.

12 min read
Intermediate
Updated Jul 23, 2026
Reviewed by Johnson Ajibi· Senior Network & Security Engineer · MSc IT Security

A simple way to picture Cisco DNA Center API for Network Management

The Personal Assistant Analogy

A corporate executive's personal assistant is the central hub for managing a busy executive's life.

The executive has many different responsibilities: they must meet with clients, approve budgets, review project statuses, and travel to different offices. Without a personal assistant, the executive would have to call their IT department to set up a new laptop, call the travel agency to book a flight, call the finance team to get a budget report, and email each team member individually to ask for status updates. This is slow, chaotic, and wastes the executive's valuable time.

A personal assistant does all of this for them. The executive simply says, "I need a new client, and I want their network access ready by next week." The assistant immediately translates that high-level wish (an "intent") into a series of precise, low-level actions. The assistant books a meeting room (configures a switch), sets up a guest Wi-Fi password (creates a secure policy), and orders a badge (activates a port). The assistant does not need to be told every tiny step; they understand the executive's overall goal and carry it out automatically.

In this analogy, the executive is the network administrator, the personal assistant is the Cisco DNA Center, and the high-level instruction ("onboard a new client") is the user's intent. The phone call the assistant makes to the travel agency or the IT department is an API call—a standardised, automated request. Before the assistant existed, the executive had to do everything manually. Now, the assistant uses a set of automated tools (APIs) to handle the complexity, ensuring the executive's wishes are fulfilled quickly, consistently, and without errors.

How It Actually Works

Let's start by breaking down the big terms into something you already understand.

First, what is a 'network'? Think of it as a system of connected roads, except instead of cars, data packets travel between computers, phones, and servers. Traditionally, if you wanted to change something on these roads—like adding a new turn lane (a new Wi-Fi network) or closing a road to traffic (blocking a dangerous device)—you had to drive to every single traffic light (router/switch) and manually flip switches. This was slow, error-prone, and required a lot of specialised knowledge.

Now, what is 'Intent-Based Networking' (IBN)? This is the idea that you, the network operator, should only have to tell the network your 'intent'—your desired outcome—and the network should figure out the rest. For example, your intent might be: "I need to securely onboard 50 new employees by tomorrow." You do not want to configure each port, create each user account, and set up each Wi-Fi password by hand. You want a system that understands your goal and executes the entire process automatically.

This is where Cisco DNA Center comes in. Cisco DNA Center is a central software controller—think of it as the master brain of the network. It sits above all your physical switches, routers, and wireless access points (the hardware that carries your data). Instead of logging into each device separately, you log into DNA Center, and it acts as a single pane of glass to manage everything.

But how do you tell DNA Center what to do? Through an API. API stands for Application Programming Interface. It is a set of standard commands that one piece of software (your automation script or another application) can use to talk to another piece of software (DNA Center). Instead of clicking buttons on a screen, you can send a message to DNA Center's API saying, "Get me the status of all switches" or "Create a new wireless network called Guest_Zone." The API then translates your request into the correct actions for the network devices.

The magic happens because DNA Center uses 'intent-based' logic. When you use its API to say, "I want to make the network secure for visitors," DNA Center does not just turn on a single setting. It analyses the situation, applies global security policies, configures firewalls (devices that block unauthorised access), and creates separate 'VLANs' (virtual local area networks—basically, separate lanes for different types of traffic). This is the 'closed-loop' model: you state your intent, DNA Centre implements it, and then it constantly monitors the network to ensure the intent is still being fulfilled (e.g., it checks that no unauthorised device is trying to sneak onto the guest Wi-Fi).

What does this replace? The old way of 'CLI' (Command Line Interface) scripting. In the past, a network engineer would write a script that sent individual text commands to each router. If a command failed, the script often kept going, causing a partial, broken configuration. DNA Center APIs replace this with a higher-level, safer method. You send a single API call to create a 'policy' (a rule about how the network should behave), and DNA Center ensures the policy is applied consistently everywhere.

Why does this matter for the 200-901 exam? You do not need to be an expert network engineer to understand the value. The exam expects you to know that the Cisco DNA Center API provides specific endpoints (the addresses used to make API calls) for tasks like: - Site Management: Creating and managing physical locations (offices, campuses). - Device Management: Adding, removing, and configuring switches and routers. - Policy Management: Defining who can access what (e.g., employees vs. guests). - Assurance: Getting health scores and insights about network performance. - Automation: Automatically deploying configurations across hundreds of devices.

In summary, the Cisco DNA Center API is the bridge between a human's high-level goal (an 'intent') and the low-level, complex world of network hardware. It makes the network programmable, consistent, and much faster to manage. For the exam, remember that 'intent' is the goal, 'API' is the method to communicate the goal, and 'DNA Center' is the engine that executes it.

This sequence diagram shows how an application authenticates, sends an intent (to create a site and a policy), DNA Center pushes the configurations to the hardware, and then the system continuously monitors health via the Assurance API.

Walk-Through

1

1. Authentication (Get the Key)

Before you can do anything, the API must verify your identity. You send a POST request with your username and password to the auth endpoint. The return is a 'token' (a temporary passcode). Without this token, all other API calls are rejected. This is a key security mechanism that the 200-901 exam will definitely test.

2

2. Create a Site (Define the Location)

You send a POST request to the `/dna/site` API endpoint with details about a physical location (e.g., 'Bristol Office'). The site is a container for all the network devices there. This step organises the network logically, which is essential for applying policies and monitoring.

3

3. Discover and Add Devices (Bring in the Hardware)

Using the 'Device Discovery' API (GET or POST to `/dna/network-device`), you tell DNA Centre about the IP addresses of the new switches. DNA Center reaches out, authenticates them (using stored credentials), and adds them to the inventory. The devices are now under DNA Center's control.

4

4. Assign a Policy (Define the Intent)

Now you tell DNA Center what you want. Using the Policy API (e.g., a POST to `/dna/policy`), you define a rule: 'All users in the Finance group get VLAN 10 and deny guest access to the Finance server.' This is the 'intent' step. DNA Center translates this into the correct configurations for each switch.

5

5. Provision and Deploy (Make it Happen)

You send a PUT request to the 'Provision' API endpoint (`/dna/intent/api/v1/network-device` to assign configurations) to apply the policy to the specific devices in the Bristol site. DNA Centre pushes the configurations down to the switches in the background. The network now behaves according to the policy.

6

6. Monitor and Validate (Check the Outcome)

The process does not end. You use the 'Assurance' API (e.g., GET to `/dna/assurance/` for health scores) to pull data on network performance. If the policy is not working as expected (e.g., a guest user gained access), Assurance will flag it. This closed-loop feedback is the core of intent-based networking.

What This Looks Like on the Job

Imagine you work for a medium-sized company called 'TechFinance', which has three offices: London, Manchester, and a new office opening soon in Bristol. You are the IT support person (no fancy title yet), and your boss asks you to set up the entire network for the new Bristol office, which will have 100 employees. They need Wi-Fi, secure access for the finance team who handle sensitive data, a printer network, and a guest network for visitors.

In the old way of doing things, you would have to:

Spend days on site in Bristol, physically connecting cables and logging into each switch and access point.

Manually type the same commands (like setting the Wi-Fi password or creating VLANs) into every device.

Test each connection by walking around with a laptop.

If your boss asked for a change a week later (e.g., "let's also add an IoT network for the smart thermostats"), you would have to go back or remote in and re-configure everything again.

This is where the Cisco DNA Center API saves your life. Here is the step-by-step process of what an IT professional actually does:

First, they install Cisco DNA Center as a virtual appliance (a software version of a physical server) in the company data centre. This is the central brain. Then, they connect all the new switches and access points in Bristol to the company's Wide Area Network (WAN), which connects the offices. The devices boot up and automatically discover the DNA Center and register themselves—this is called 'Plug and Play' (PnP).

Now, the real work begins with the API: 1. Define the new site: The engineer uses a Python script (or a tool like Postman) to send an API call to DNA Center to create a new site object called 'Bristol_Office'. The call might look like POST /dna/site with a JSON payload (a structured data message) containing the address and building details. 2. Assign devices to the site: The engineer sends another API call to tell DNA Centre that the switches in Bristol belong to the 'Bristol_Office' site. DNA Center now knows which device is where. 3. Create a policy for secure finance access: The engineer drafts a 'policy' via the API. This policy says: "Anyone from the Finance_User_Group can access the Finance_Server on VLAN 10." The API call (POST /dna/policy) sends this rule to DNA Center, which then automatically configures every switch in Bristol to enforce this rule. The engineer does not touch a single switch. 4. Deploy the guest Wi-Fi: The engineer uses the API to call the 'SSID' (Service Set Identifier—the Wi-Fi network name) endpoint, creating a SSID called 'Guest_TechFinance'. The API also automatically sets up a captive portal (a login page guests see) and isolates guest traffic from the main corporate network. 5. Monitor and adjust: After everything is running, the engineer does not sit back. They set up a monitoring script that uses DNA Center's 'Assurance' API to pull real-time health data. If the script sees that the guest Wi-Fi has high latency (slowness), it can automatically alert the engineer or even trigger an API call to adjust the Quality of Service (QoS) settings to prioritise guest traffic.

What happens when something goes wrong? In Bristol, a switch develops a faulty port. The DNA Center detects this via telemetry (continuous data streaming from the device). The system's 'Assurance' API returns a health score of 60 out of 100 for that switch. The engineer receives an alert. Using the API, they query: 'Show me all devices with health score below 70.' They get a list, isolate the faulty switch, and order a replacement—all without a site visit.

In this scenario, the IT professional's job changed from being a manual configurator to being an orchestrator. They wrote scripts that leverage the DNA Center API to perform large-scale, error-free changes. The exam tests your understanding of this shift: from CLI-based 'box-by-box' management to API-driven 'intent-based' management.

How 200-901 Actually Tests This

The 200-901 exam is not a routing and switching exam; it is a DevNet certification focused on 'Developer' skills. However, it expects you to understand the capabilities of a major controller like Cisco DNA Center. You do not need to memorise every API endpoint path (e.g., /dna/intent/api/v1/network-device), but you MUST grasp the pattern of how intent-based networking works and what DNA Center's APIs can do.

Here is exactly what the exam will test you on regarding Cisco DNA Center API:

- The Difference Between 'Intent' API and 'Managed' Objects: The exam loves to ask: "Which API type does DNA Center use?" The correct answer is 'Intent API'. This means you send a high-level goal (intent), not a low-level configuration command. There is also a 'Managed API' that exposes raw device data, but Intent is the key differentiator. Trap: Do not select 'CLI' or 'SSH' as the method for automation; the exam wants you to say 'REST API over HTTPS'. - Common API Endpoints: You should know the broad categories of DNA Center APIs (which the exam calls 'Northbound APIs'). These include: - Sites: Create, read, update, delete (CRUD) locations. - Devices: Add, discover, inventory, and manage network hardware. - Clients: Query user devices connected to the network. - Command Runner: Run CLI commands on devices through DNA Center. - Intent & Assurance vs. Traditional Management: Exam questions will set up a scenario: "A company wants to ensure that after a policy change, the network still meets performance goals." Answer: DNA Center's 'Assurance' module uses AI/ML to continuously monitor and validate the intent. - The 'Plug and Play' (PnP) Concept: The exam will ask about zero-touch deployment. Key point: PnP allows new devices to automatically register with DNA Centre without manual configuration. The API endpoint for this is the 'Plug and Play' API. - Authentication Traps: DNA Center API requires an authentication token (a digital key). You must first send your username and password to POST /dna/system/api/v1/auth/token to get a token, then attach that token in the header of all subsequent API calls. The exam will offer wrong answers like 'direct password in every call' or 'using SNMP community strings'. - Policy Types: They may ask about 'Access Policy' vs. 'Virtual Network Policy'. Access policies control user permissions (who gets onto what VLAN). Virtual Network policies define the virtual network fabric itself. Be able to differentiate.

Common Question Traps: - Trap: Confusing 'Assurance' with 'provisioning'. Provisioning is the act of setting up the network. Assurance is the ongoing monitoring and validation that the intent is being achieved. They are two different API categories. - Trap: Believing DNA Center replaces all network devices. It does not; it is a controller that manages them. The physical switches and routers still exist. - Trap: Thinking you must use the DNA Center GUI for everything. The exam emphasises that the API is the primary automation tool.

Key Definitions to Memorise for the Exam: - Intent: The desired outcome or goal (e.g., 'secure guest access'). - Northbound API: The interface that applications use to talk to the controller (DNA Center). - Southbound Interface: The protocols (like NETCONF) that the controller uses to talk to the devices. - REST: Representational State Transfer—the architectural style of the API (stateless, uses HTTP methods like GET, POST, PUT, DELETE). - JSON: JavaScript Object Notation—the standard data format for API requests and responses.

Key Takeaways

Cisco DNA Center is a centralised controller that translates high-level user 'intent' (goals) into low-level network configurations across all devices.

The DNA Center API uses a RESTful architecture, meaning you use standard HTTP methods (GET, POST, PUT, DELETE) to interact with network resources.

Authentication to the DNA Center API requires a two-step process: get a token from the auth endpoint, then use that token in all subsequent API headers.

Two major API categories tested on 200-901 are 'Provisioning' (setting up the network) and 'Assurance' (monitoring network health and validating intent).

DNA Center supports 'Plug and Play' (PnP) allowing new devices to automatically register and be configured without manual intervention, enabled via API.

The term 'Northbound API' refers to the API that applications use to talk to DNA Center; 'Southbound Interface' refers to how DNA Center talks to the network hardware.

An 'Intent API' call does not specify exact commands; it states a desired outcome, and DNA Center figures out the implementation, reducing human error.

DNA Center uses JSON (JavaScript Object Notation) as the standard data format for sending requests and receiving responses from its API.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

Intent API (DNA Center)

Focuses on what you want to achieve (the outcome)

Uses high-level terms like 'policy' and 'site'

Automatically configures multiple devices based on one request

Managed API (DNA Center)

Exposes raw device data and commands

Requires knowledge of device-specific details

Similar to using a command line interface through an API

Northbound API (DNA Center)

Used by applications and scripts to talk to DNA Center

Uses REST over HTTP/HTTPS

Exposes DNA Center's capabilities to the outside world

Southbound Interface (DNA Center to Device)

Used by DNA Center to talk to network hardware

Uses protocols like NETCONF, SNMP, or SSH

Hidden from the user; changes are abstracted

Provisioning (DNA Center API)

Used for initial setup and deployment of policies

Focuses on the 'creation' phase of the network lifecycle

Answer: 'How do I set up the network?'

Assurance (DNA Center API)

Used for ongoing monitoring and health checks

Focuses on the 'validation' phase of the network lifecycle

Answer: 'Is the network still working as intended?'

REST (Representational State Transfer)

Uses standard HTTP methods (GET, POST, PUT, DELETE)

Data format is usually JSON (text-based and lightweight)

Stateless—each request is independent

SOAP (Simple Object Access Protocol)

Uses XML for messages (heavier and more verbose)

Can use different transports (HTTP, SMTP, etc.)

More rigid and complex; less common in modern controllers

Watch Out for These

Mistake

DNA Center API is just a fancy way to run the same old CLI commands on a router.

Correct

The API abstracts the complexity. Instead of sending 20 CLI commands to a switch, you send one API call saying 'create this policy', and DNA Center figures out the necessary CLI commands and applies them.

Beginners often come from a background where automation means scripting SSH/CLI commands. They assume DNA Centre just hides that process. In reality, it uses a model-driven approach that is fundamentally different from manual CLI.

Mistake

Once you set an 'intent' using the API, the network is locked and no changes are possible without another API call.

Correct

The network is dynamic. The 'Assurance' part of DNA Center constantly checks if the intent is still valid. If a device fails or traffic patterns change, DNA Center can automatically adjust or alert the operator.

People think of automation as 'set and forget'. This misconception comes from thinking of networks as static infrastructure, whereas intent-based networking is designed to be responsive and adaptive.

Mistake

The DNA Center API is only useful in a data centre, not in a small office or branch.

Correct

DNA Center can manage networks of any size, from small branches to large campuses. Its API lets you scale management from a handful of devices to thousands, making it very useful for businesses with many remote sites.

Many beginners think 'enterprise software' only applies to massive data centres. In reality, DNA Center and its API are designed for managing networks spread out across different locations, which is a common pain point for growing companies.

Mistake

You cannot use the DNA Center API unless you know a programming language like Python.

Correct

While Python is common, you can use any tool that sends HTTP requests (like Postman, cURL, or even a simple browser extension). The exam focuses on the API concepts, not on a specific language.

The name 'API' sounds intimidating and programming-heavy. Beginners worry they must learn to code first. The 200-901 exam is about understanding the capability and the model, not memorising code syntax.

Mistake

DNA Center API directly controls the network cables and Wi-Fi signals.

Correct

DNA Center is a software controller. It communicates with physical switches and access points via network protocols (like NETCONF or SSH). It does not control the physical layer directly.

People think of 'software-defined networking' as the software taking over the hardware completely. In reality, there is still a chain of command: API -> Controller -> Device hardware.

Do You Actually Know This?

Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.

Frequently Asked Questions

Do I need to know how to code Python to pass the Cisco DNA Center API questions on 200-901?

No, you do not need to be a programmer. The exam tests your understanding of the API's capabilities and concepts (like REST, JSON, and the difference between Intent and Managed APIs), not your ability to write code.

What is the difference between DNA Center and an SD-WAN controller?

DNA Centre is for campus and branch networks (LAN/WLAN), focusing on wired and wireless access, security, and assurance. An SD-WAN controller is for connecting multiple sites over the internet (WAN). They are different products for different parts of the network.

How do I authenticate to the Cisco DNA Center API?

You send a POST request to the `/dna/system/api/v1/auth/token` endpoint with your credentials. The response is a JSON object containing a token. You then include that token in the 'X-Auth-Token' header of all subsequent API requests.

Is the DNA Center API the same as the Meraki API?

No, they are different platforms. Meraki is a cloud-managed networking solution, and its APIs are cloud-specific. DNA Center is an on-premise (or virtual appliance) controller for traditional Catalyst switches and routers. Both are Cisco products but target different deployment models.

What happens if I send an API call to create a policy, but the network hardware doesn't support it?

DNA Center checks the device inventory to ensure compatibility before pushing the configuration. If the hardware cannot support the policy (e.g., an old switch lacking a feature), the API call returns an error message, and the policy is not applied.

Can DNA Center manage switches from other vendors like Juniper or Arista?

No, DNA Center is designed to manage only Cisco network devices (Catalyst, Meraki, ISR, etc.). It uses Cisco-proprietary protocols for deep management. For multi-vendor environments, you would need a different controller.

Terms Worth Knowing

Keep going

You've finished Cisco DNA Center API for Network Management. Continue through the 200-901 study guide to build a complete picture of the exam.

Done with this chapter?