
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.
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 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.
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.
Use the automation tool to create vlans on the switch, assign names and ip addresses, then verify with ping and show commands.
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 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.
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.
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 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.
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.