
Section 1 Introduction & Basics of Python
Introduction
Let's Learn Python
Python Conceptual Hierarchy
Python Data types Strings
Python Data type Number
Pythyon Strings inbuilt functions
Python Conditions
Python Lists
Python Dictionaries
Python Loops For Loop
Python Loops While Loop
Python Fuctions
Python Working with Files
Section 2 Python Basic Network Automation
Learn how to telnet Network Device
Loopback _ Eigrp Configuration
Create Vlan to Switch
Telnet to Multiple devices _ Vlan config 01
Telnet to Multiple devices _ Vlan config 02
Create 10 Vlans with Loop Condition
Take the Backup of Networking Devices
SSH via Netmiko
Do the SSH via Netmiko
Add more Commands via Netmiko
SSH to Multiple Devices
Run Bulk Commands via SSH
Explore how to use a Python virtual environment within Cisco DNA Center automation to manage multiple Python versions, install dependencies, clone code, and run API programs.
Explore Python strings inbuilt functions with practical examples, including upper, split, and replace, and learn consistent quoting, list storage, and basic string manipulation.
Master Python lists for network automation by learning list creation, indexing (including negative indices), and common methods such as append, insert, pop, extend, count, and sort to manage device collections.
Learn how Python dictionaries store key-value pairs, their mutability, and practical use with update, pop, and get methods, plus accessing keys, values, and items.
Explore for loops and loop logic to iterate over device lists and inventories, printing device types and sanitized ip addresses one by one, with practical Python examples for network devices.
Explore the Python while loop in Cisco DNA Center automation, including conditional iteration, printing values, and using increment and break to avoid infinite loops.
Learn to define your own functions, pass arguments, and reuse code, including nested calls, returning lists, and using inbuilt functions like devices and length to automate Cisco DNA Center tasks.
Learn how to use Python to work with files, including reading and writing permissions, reading lines, and loading configurations from a file to compare device configs with a master copy.
Build the lab from scratch by installing the required software, setting up VirtualBox and GNS3, importing the DVM, and configuring host-only adapters to start the lab.
Set up a GNS3 based lab for Cisco DNA Center Automation, using VirtualBox, remote and local servers, templates, and Docker to deploy and test network automation with Cisco devices.
Learn to automate telnet into a network device with Python, using a library to drive login prompts, enter enable mode, and encode commands in ASCII.
Configure two loopback interfaces and enable EIGRP on a remote device using an automation tool, assign IP addresses, set the autonomous system, and verify the configuration.
Use the automation tool to create vlans on the switch, assign names and ip addresses, then verify with ping and show commands.
Automate logins to multiple switches with Python via telnet, using an inventory-driven loop and conditional logic to apply VLAN configurations across devices.
Learn to automate Telnet-based configuration across multiple switches using for and if logic, proper indentation, and login-driven VLAN configuration sequences to achieve consistent results.
Demonstrate replacing manual VLAN creation with a for loop in the automation engine script, iterating 1–10 to build commands, while managing indentation, encoding, and candidate configuration.
Extend a netmiko automation lab by adding interface and loopback IPs, creating VLANs from 40 to 50, and printing configuration outputs to validate automated Cisco DNA Center workflows.
Explore basics of the Cisco DNA Center API, log into DNA, and integrate the API with Python to push templates, manage device lifecycles, and explore enterprise automation and security integration.
Learn how Cisco DNA Center integrates internet-based infrastructure with an open platform and RESTful APIs to improve network visibility and reduce total cost of ownership.
Explore Cisco DNA Center automation by using the DNA API, enabling REST API access, and leveraging the developer toolkit to run EPA for topology and policy insights.
Learn to obtain an authentication token with a POST request to the Cisco DNA Center API and use it for subsequent lab APIs in sandboxes.
Explore Cisco DNA Center automation with programs to check IP and IP network, retrieve device licenses, list devices, generate CSV reports, and locate clients by IP or MAC on switches.
Explore how to fetch all devices from Cisco DNA Center, handle pagination beyond 500, and generate table and CSP output with headers like hostname, device type, and software version.
Learn to fetch license information from Cisco DNA Center using APIs, filter licenses in use, and assemble device details—hostname, device type, serial number—from the DNA output.
Identify wired or wireless clients using IP and MAC queries in Cisco DNA Center automation. The IP client info program retrieves hostname, model, device type, and interface for precise location.
Demonstrate switchport inventory in Cisco DNA Center automation, comparing license info with switchboard inventory, and collect hostname, device type, serial number, and port details via an API.
Identify out-of-sync and non-compliant devices by comparing running vs startup configurations, using DNA Center APIs and archive config diffs to reveal missing lines and guide corrections.
Explore the DNAC life-cycle app, which retrieves security advisories and hardware and software details, integrates with ServiceNow to trigger events, and generates an Excel report and a summary page.
Follow the network assurance workflow in DNA Center, from discovering devices to provisioning, assigning them to sites, applying templates, and validating health and risks in the assurance dashboard.
Discover how Cisco DNA Center integrates internet-based infrastructure with an open platform via RESTful APIs, enabling IT management integration, health checks, and software updates.
Fetch an authentication token via a post request and print it for use in subsequent api calls, using a python library and sandbox configurations.
Cisco DNA Center enables multivendor support by managing non-Cisco devices via third-party SDKs, while acting as the single source of truth with discovery, inventory, topology, policy, and assurance.
Explore how DNA Center automation integrates with ITSM and management tools and sends events and notifications to external web servers via API-based monitoring and webhooks.
Learn how to implement API requests for Cisco DNA Center to accomplish network management tasks using the DNA Center API toolkit, exploring intent-based APIs, site management, topology, and Python integration.
Explore how to use Cisco DNA Center command runner APIs with Python to fetch supported commands, execute them on devices, and manage latency and timeouts.
Learn how to use Cisco DNA Center site APIs to count, list, create, and delete sites in DNA Center, including name, type, and address details.
Explore network discovery with Cisco dna center automation. Use device APIs and Python to run discoveries, retrieve results by range, and export data as csv.
Learn how to back up Cisco DNA Center managed devices using the DNA Center SDK, enumerate devices, fetch configurations, save backups to a sandbox folder, and generate device reports.
learn to use templated api with a script to create a project, define a template, and push it to devices via deployment in DNA Center.
No more box-by-box configuration and deployment. Using intent-based policy, Cisco DNA automation capabilities transform previously manual onboarding, configuration, provisioning, and software management processes to simplify and scale network operations and greatly minimize configuration errors.
Features and benefits
Cisco DNA automation replaces manual chores with a more agile and effective process based on four sets of capabilities: visibility, intent, deployment, and management.
Visibility
Automatically discover devices to get end-to-end network visibility and a network inventory.
Intent
Define how you intend your network to work, and translate that intent into automation.
Deployment
No more guessing about configurations. Simply plug in a network device to onboard it automatically.
Management
Help ensure end-to-end network consistency and performance with the right software image management for every device.
Components of Cisco DNA automation
Cisco DNA software
Help enable continuous innovation through software updates. Choose from three licensing tiers for your access points, switches, and routers.
Cisco DNA Center
Manage automation and assurance for your entire network from a central dashboard.
Cisco DNA infrastructure
Deploy Cisco software-programmable access points, switches, routers, and other devices to help enable automation capabilities.
Cisco services
Get more from your intent-based network with Cisco Customer Experience services.
Cisco DevNet
Learn how to extend automation across the enterprise via open APIs.
Cisco DNA Center security
Integrate with Cisco security solutions such as Umbrella, Stealthwatch, firewalls, and wIPS.