Python for Network Engineers: Netmiko, NAPALM, pyntc, Telnet

Python for Network Engineers: Netmiko, NAPALM, pyntc, Telnet
Python for Network Engineers: Netmiko, NAPALM, pyntc, Telnet
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 11.5 Hours | 1.96 GB

Program networks using Python. Learn network automation and programmability with this practical course (Cisco networks)

Learn Network Programmability and Network Automation using GNS3 and Python.

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 within 20 minutes.

This course was created for network engineers. There are too many other Python courses out there that try to make network engineers software developers. Instead of teaching network automation, they teach you Python theory. This course is different.

This course is practical. I won't talk about programming in abstract terms and make you wait before you can start automating networks. I will show you how you can quickly and easily start network programming by using GNS3, Cisco IOS and Python.

You will see demonstrations of the configuration of both Cisco routers and switches in GNS3. For example, how to configure multiple VLANs on a multiple switches, or how to configure OSPF on a router and more.

This course shows you practical examples of using Python to programmatically configure Cisco network devices rather then just talking about it.

The days of configuring Cisco networks only with the command line interface (CLI) are drawing to a close. You need to add network programmability using Python and APIs to your skill set.

Learn how to automate networks using:

  • Telnet
  • SSH
  • Paramiko
  • Netmiko
  • NAPALM
  • pyntc

Tools such as NAPALM and pyntc make it easy to configure and interact with network devices using an API such as NETCONF or using SSH. Don't reinvent the wheel. Use the tools available to you to quickly and easily automate your networks.

Table of Contents

1 Introduction
2 Good new

Quick Start Guide to Network Automation
3 Quick Start 1 Python and Telnet Configure Cisco Router
4 QA What about doing this with Python3
5 Quick Start 2 Python and Telnet Configure Switch VLANs
6 Quick Start 3 Remove Passwords and improve scripts Telnet
7 Quick Start 4 Create switch VLANs using loops Telnet
8 Quick Start 5 Multiple switches multiple VLANs Telnet
9 Quick Start 6 In-band management network
10 Quick start 7 PEP Style Guide
11 Quick Start 8 Opening Files and spacing importance
12 Quick Start 9 Backup switch configurations
13 Quick Start 10 Jupter IDE
14 Quick Start 11 Paramiko SSH Python and Cisco devices
15 Quick Start 12 Netmiko Part 1
16 Quick Start 13 Netmiko Part 2
17 Quick Start 14 Netmiko Part 3
18 Quick Start 15 Netmiko Part 4
19 Quick Start 16 Netmiko Part 5
20 Quick Start 17 Netmiko Part 6

NAPALM P75
21 NAPALM Introduction P75_12
22 Install NAPALM P68_13
23 NAPALM connect to switch 1 P68_14
24 JSON and more commands P68_16
25 Mac address table ARP cache P68_17

NAPALM and BGP P75
26 Use NAPALM to retrieve BGP neighbor information Part 1 P75_1
27 Use NAPALM to retrieve BGP neighbor information Part 2 P75_2
28 Use NAPALM to retrieve BGP neighbor information Part 3 P75_3
29 NAPALM Multiple BGP neighbors P75_4
30 NAPALM and bigger BGP Network Part 1 P75_5
31 NAPALM and bigger BGP network Part 2 P75_5b

Use NAPALM for device configuration audit and changes P75
32 Use NAPALM to configure Access lists P75_6
33 Check if ACL already exists and add if missing P75_7
34 Use NAPALM for auditing device configs P75_8
35 Use NAPALM to add multiple config files P75_9
36 NAPALM Multiple config files multiple devices P75_10
37 Want more.html

pyntc P69
38 pyntc Introduction P69_1_2
39 pyntc Installation and get device version information P69_3_4
40 Use pyntc to configure a Cisco IOS device P69_5
41 Use pyntc to retrieve a switch running-config P69_6
42 Use pyntc and github to save a switch running config to a file P69_7_8
43 Backup a switch config with 5 lines of code P69_9
44 Want more.html

Iteration Examples Netmiko scripts P77
45 Netmiko Iteration Script Overview
46 Netmiko Iteration Script 1 Basic Script
47 Netmiko Iteration Script 2 Open a file of commands
48 Netmiko Iteration Script 3 Configure multiple devices using a file of devices
49 Netmiko Iteration Script 4 Remove passwords from script
50 Netmiko Iteration Script 5 Except Error Handling
51 Netmiko Iteration Script 6 Determine device types and run specific device typ
52 Netmiko Iteration Script 7 Iterate device type script

Python Theory P61
53 Theory topics - very short P62_14_15
54 Keep learning P61_26
55 2.7 and 3 setup P61_27
56 2.7 and 3 examples P61_28
57 Basic Hello World Scripts P61_29_30

Python Theory Objects Variables and Data Types
58 Python Objects P61_1
59 Python Objects Part 2 P61_2
60 Python Variables P61_3
61 Python Variables Part 2 P61_4_5
62 Python Variables Part 3 P61_6
63 Python Variables Part 4 P61_7_8
64 Data Types P61_9
65 Data Type testing P61_10

Python Theory - Numbers P61
66 Introduction P61_19
67 Numeric Types P61_11
68 Int and Float P61_12
69 Operators P61_14
70 Operators Part 2 P61_15_16
71 Operators P61_17_18
72 bin hex oct P61_20
73 binary decimal octal number examples P62_1
74 int calculation P62_2
75 Floats P62_3

Python Theory - Strings
76 strings P62_4
77 strings GT 06-8-17 7_8
78 convert to a string using str P62_10
79 escape special character meaning with P62_12
80 strings P62_9
81 string concatenation with P62_13
82 multiplication operator P62_16
83 string offsets - extract characters with P62_17
84 string slice _ slicing P62_string
85 string slice _ slicing 2 P62_1string
86 string slice _ slicing 3 P62_2string
87 lower upper P73_11
88 startswith endswith P73_12
89 strip lstrip rstrip P73_13
90 isdigit P73_14
91 count P73_15
92 Old Style text using P66_24
93 Strings New way to do text using P73_16
94 dir P73_9

Get version information from a switch P65
95 Get show version from switch P65_14
96 Telnet and string offset P65_16
97 Show version using len P65_17
98 Split 1 P65_18_21
99 Split 2 P73_18
100 List and join P73_17
101 List and len - use Interface example P73_25
102 Index introductionP66_1
103 Real switch get version using index and slice P66_2_3
104 Python3 telnet to switch P66_4
105 Count P66_6
106 Use find to get information from a real switch P66_10
107 Python3 Telnet versus Python2 - Find version of software P66_11
108 find not found P66_12
109 String methods - upper P66_13
110 String methods - startswith and endswith P66_14
111 String methods - strip P66_15
112 String methods - split demo P66_16
113 String methods - Join P66_17_18
114 String methods - is it in string P66_19
115 String concatenation P66_20
116 Capitalize upper lower swap P66_23

Python Theory Comparisons P73
117 Boolean comparisons
118 Boolean Truth Table
119 Boolean Truth Table Demo
120 false conditions

Python Theory Lists
121 Lists versus tuples
122 lists
123 create a list using split
124 lists in lists
125 lists versus tuples - documentation
126 list merge and extend
127 List methods
128 lists insert and delete
129 list pop index and in
130 reverse sort
131 len copy list

Tuples P70
132 tuples
133 Tuples and Sequences v2

Python Theory Code Structures P72
134 Comments in Code P72_2
135 Line Continuation P72_3

Python Theory Part 73 - if else elseif logic
136 if logic
137 physical router demonstration
138 esleif

Python Theory Part 73 - While Loops
139 while loop
140 infinite while loop with break
141 infinite while loop with continue
142 while loop with a list
143 while loop with else

Python Theory Part 73 - For Loops
144 for loops
145 for loop with dictionary
146 for loop with if and lists

Python Theory Ranges
147 Ranges 1
148 Ranges 2

Python Theory Dictionaries P70
149 Dictionary Theory P70_17
150 Dictionary Demo P70_18
151 Combine Dictionaries P70_19
152 Dictionaries Clear and check P70_20
153 Dictionaries Add values P70_21

Python Theory Functions
154 Functions Intro
155 Functions Intro Part 2
156 Functions Part 3
157 Functions - Netmiko and Router
158 Functions - Netmiko and Router
159 Function 6 - Named keyword arguments Netmiko

GNS3 Setup
160 GNS3 setup Overview
161 GNS3 Installation Part 1
162 GNS3 Installation Part 2
163 GNS3 Installation Part 3
164 GNS3 Installation Part 4
165 GNS3 Installation Part 5
166 Import Ubuntu Docker Container Part 1
167 Import Ubuntu Docker Container Part 2
168 Ubuntu Docker Container Issue Part 1
169 Ubuntu Docker Container Issue Part 2
170 Python 2.7 Python 3 Go Perl and PHP appliance