Video description
The days of configuring Cisco networks only with the command-line interface (CLI) are ending. Do you want to program networks using Python, but not sure where to start? Well, this course will show you how you can start programming Cisco networks using Python within 20 minutes.
The course begins by explaining the steps for setting up the lab and takes you through the concepts of network automation. Once you are ready with the environment and the basics, you will dive into automating networks. You will learn how to automate networks using Telnet, Secure Shell (SSH), Paramiko, Netmiko, and Network Automation and Programmability Abstraction Layer with Multivendor support (NAPALM). In the rest of the course, you will learn the various concepts of Python needed to automate the configuration of network devices.
By the end of this course, you will be able to program networks and network devices using Python 3 and Graphical Network Simulator-3 (GNS3).
What You Will Learn
- Use Telnet to create VLANs
- Enable Secure Shell (SSH) on switches in a network
- Distinguish between Ubuntu and network automation container
- Use Network Automation and Programmability Abstraction Layer with Multivendor support (NAPALM) for device configuration audit and changes
- Become familiar with Netmiko scripts
- Get to grips with the concepts of Python
Audience
This course is for network engineers, network architects, and for those who are looking to apply Python programming to network automation. Basic understanding of networking knowledge (CCNA) and Graphical Network Simulator-3 (GNS3) is needed to get started with this course.
About The Author
David Bombal: David Bombal (CCIE #11023 Emeritus) passed his Cisco Certified Internetwork Expert Routing and Switching exam in January 2003 and is one of a small percentage of Cisco engineers that pass their CCIE labs on their first attempt. David was qualified as a Cisco Certified Systems Instructor (CCSI #22787) many years ago! He has been conducting Cisco courses for over 15 years and has delivered instructor-led courses in various countries around the world covering a wide range of Cisco topics from CCNA to CCIE. He has also personally developed Cisco engineer utilities, such as the VPN Config Generator, software, training materials, eBooks, videos and other products, which are used throughout the world. David has designed, implemented, and managed networks ranging from single sites to those that span 50 countries.
Table of contents
- Chapter 1 : Introduction
-
Chapter 2 : Lab Setup
- Installing the Graphical Network Simulator (GNS3) 2.2 Graphical User Interface (GUI)
- Installing the Graphical Network Simulator-3 (GNS3) 2.2 Virtual Machine
- Graphical Network Simulator-3 (GNS3) IOS Images
- Installing Continuous Machine Learning (CML) Virtual Internet Routing Lab (VIRL 2.0) - Part 1
- Installing Continuous Machine Learning (CML) Virtual Internet Routing Lab (VIRL 2.0) - Part 2
- Installing Emulated Virtual Environment (EVE)-New Generation (NG)
- Emulated Virtual Environment (EVE)-New Generation (NG) Cisco Images
- DevNet: Free Continuous Machine Learning (CML)
-
Chapter 3 : Quick Start Guide to Network Automation
- Quick Start 1: Setting up the Graphical Network Simulator-3 (GNS3) Lab and Integrated Development Environments (IDEs)
- Quick Start 2: Creating a Telnet Script
- Quick Start 3: Testing a Telnet Script
- Quick Start 4: Telnet to a Switch and Create VLANs
- Quick Start 5: Loops
- Quick Start 6: PEP8: Python Style Guide
- Quick Start 7: Configuring Switch Virtual LANs (VLANs) Using Loops
- Quick Start 8: Creating a Multiple Switch Network
- Quick Start 9: Opening a File of Switch Internet Protocol (IP) Addresses
- Quick Start 10: Configuring Multiple Switches with a Loop
- Quick Start 11: Loops within Loops
- Quick Start 12: Backup Network Device Configurations
-
Chapter 4 : Netmiko: Using Secure Shell (SSH) for Network Automation
- Netmiko Part 1: Introduction
- Netmiko Part 2: Enabling Secure Shell (SSH) on Switches in the Network
- Netmiko Part 3: Your First Netmiko Secure Shell (SSH) Script
- Netmiko Part 4: Scripting for Multiple Switches
- Netmiko Part 5: Running a Script and Configuring Multiple Devices
- Netmiko Part 6: File of Multiple Cisco Commands
- Netmiko Part 7: Programming Multiple Switches with File of Commands
- Netmiko Part 8: Scripting to Program an Entire Network
- Netmiko Part 9: Running a Script to Program an Entire Network
-
Chapter 5 : Network Automation and Programmability Abstraction Layer with Multivendor support (NAPALM)
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) Introduction
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) Python 3 versus Python 2.7
- Installing Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM)
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) Connect to Switch 1 (P68_14)
- JSON and More Commands
- Media Access Control (MAC) Address Table and Address Resolution Protocol (ARP) Cache
-
Chapter 6 : Network Automation and Programmability Abstraction Layer with Multivendor (NAPALM) and Border Gateway Protocol (BGP)
- Using Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) to Retrieve Border Gateway Protocol (BGP) Neighbor Information - Part 1
- Use Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) to retrieve Border Gateway Protocol (BGP) Neighbor Information - Part 2
- Use Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) to Retrieve Border Gateway Protocol (BGP) Neighbor Information - Part 3
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM): Multiple Border Gateway Protocol (BGP) Neighbors
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) and Bigger Border Gateway Protocol (BGP) Network - Part 1
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) and Bigger Border Gateway Protocol (BGP) Network - Part 2
-
Chapter 7 : Using Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) for Device Configuration Audit and Changes
- Using Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) to Configure Access Lists
- Checking if Access Control List (ACL) Already Exists and Adding if Missing
- Using Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) for Auditing Device Configurations
- Using Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM) to Add Multiple Configuration Files
- Network Automation and Programmability Abstraction Layer with Multivendor Support (NAPALM): Multiple Configuration Files and Multiple Devices
-
Chapter 8 : Iteration Examples: Netmiko Scripts
- Netmiko Iteration: Script Overview
- Netmiko Iteration (Script 1): Basic Script
- Netmiko Iteration (Script 2): Opening a File of Commands
- Netmiko Iteration (Script 3): Configuring Multiple Devices Using a File of Devices
- Netmiko Iteration (Script 4): Removing Passwords from the Script
- Netmiko Iteration (Script 5): Handling Exceptions (Error)
- Netmiko Iteration (Script 6): Determining Device Types and Running a Specific Device Type
- Netmiko Iteration (Script 7): Iterating Device Typescript
- Chapter 9 : Netmiko Scaling
- Chapter 10 : Python Theory
- Chapter 11 : Python Theory: Objects, Variables, and Data Types
- Chapter 12 : Python Theory: Numbers
-
Chapter 13 : Python Theory: Strings
- Strings
- Strings
- Converting to a String Using the str() Function
- Escape Special Character Meaning with \
- Strings
- String Concatenation with the Addition (+) Operator
- Multiplication (*) Operator
- String Offsets - Extract Characters with []
- string slice _ slicing
- string slice _ slicing 2
- string slice _ slicing 3
- lower upper
- startswith endswith Methods
- Strip lstrip() and rstrip() Methods
- isdigit() Method
- count() Method
- Old Style Text Using %
- Strings: New Way to Do Text Using {}
- dir() Method (P73_9)
-
Chapter 14 : Getting Version Information from a Switch
- Getting Show Version from Switch
- Telnet and String Offset
- Showing Version Using the len() Method
- Split Functions - Part 1
- Split Functions - Part 2
- list() and join() Methods
- List and len - use Interface example
- Index Introduction
- Real Switch Get Version Using Index and Slice
- Python 3 Telnet to Switch
- count() Method
- Using the find() Method to Get Information from a Real Switch
- Python 3 Telnet versus Python 2 - Finding the Version of the Software
- Find not Found
- String Methods - upper() Method
- String Methods - startswith() and endswith() Methods
- String Methods - strip() Method
- String Methods - split() Method
- String Methods - join() Method
- String Methods - Is It in a String?
- String Concatenation
- Capitalize, Upper, Lower, and Swap
- Chapter 15 : Python Theory: Comparisons
- Chapter 16 : Python Theory: Lists
- Chapter 17 : Python Theory: Tuples
- Chapter 18 : Python Theory: Code Structures
- Chapter 19 : Python Theory: If/Else/Else-if Logic
- Chapter 20 : Python Theory: While Loops
- Chapter 21 : Python Theory: For Loop
- Chapter 22 : Python Theory: Ranges
- Chapter 23 : Python Theory: Dictionaries
- Chapter 24 : Python Theory: Functions
Product information
- Title: Python Network Programming for Network Engineers (Python 3)
- Author(s):
- Release date: December 2018
- Publisher(s): Packt Publishing
- ISBN: 9781838551957
You might also like
book
Python Network Programming
Power up your network applications with Python programming Key Features Master Python skills to develop powerful …
book
Learning Python Network Programming
Utilize Python 3 to get network applications up and running quickly and easily In Detail Network …
book
Foundations of Python Network Programming: The comprehensive guide to building network applications with Python, Second Edition
This book gives you everything you need to know about network programming using Python 3, the …
book
Python Network Programming Techniques
Become well-versed with network programmability by solving the most commonly encountered problems using Python 3 and …