You are on page 1of 20

ONLINE LIVE TRAINING BATCH { INSTRUCTOR-LED }

NETWORK
AUTOMATION
PYTHON3 | ANSIBLE | OVERVIEW OF CISCO
DEVNET ASSOCIATE
TRAINER: Mr. SAGAR DHAWAN (CCIE, CCNP, CCNA, DEVNET)

Whatsapp: https://wa.me/919739521088

Mr. Abdul (Lab Support Trainer)

Whatsapp: https://wa.me/919049852904

https://youtube.com/c/NetworkJourney
SYLLABUS
Points to discuss in class
✔ MODULE#1: PYTHON3 TELNETLIB
✔ MODULE#2: PYTHON3 PARAMIKO
✔ MODULE#3: PYTHON3 NETMIKO
✔ MODULE#4: PYTHON3 NAPALM
✔ MODULE#5: PYTHON3 PYNTC
✔ MODULE#6: PYTHON3 NORNIR
✔ MODULE#7: PYTHON3 SUBPROCESS
✔ MODULE#8: PYTHON3 SCAPY
✔ MODULE#9: ANSIBLE {PLAYBOOKS, JSON, YAML}
✔ MODULE#10: PYTHON3 THEORY BASIC TO ADVANCE
✔ MODULE#11: OVERVIEW OF CISCO DEVNET ASSOCIATE
FOR INQUIRY /
PRICING /
REGISTRATION
JOIN OUR WHATSAPP GROUP FOR
INQUIRY / PRICING / REGISTRATION

https://chat.whatsapp.com/J4WrJj9
qvRG0jFB9iRc9q5

Presented by Network Journey


DEMO CLASS
WATCH DEMO CLASS VIDEO ON OUR
OFFICIAL YOUTUBE CHANNEL

DEMO #1 Course Intro, Lab Setup &


Writing First Python Script
DEMO#2 Ansible intro, Writing Ansible
script
DEMO#3 Pycharm IDE and Writing
Paramiko Network Script

Presented by Network Journey


FOR DETAILED SYLLABUS & SCRIPTS

SCROLL DOWN

Presented by Network Journey


TIMINGS:
✔ Weekend Batch (Sat & Sunday, 1 hour each, 2
Month Duration)
✔ Timings: 09:00 PM IST starting from 04 July 2020

COURSE first week


✔ 50+ hrs of Course Content

SCHEDULE
✔ 75+ Scripts Discussed in Class
✔ Access to Full Recorded Videos
✔ Class conducted over Zoom conference
✔ Workbook, PDF, 24x7 Lab Setup Support
included
✔ Instructor-led Online Training

Presented by Network Journey


MODULE#1 PYTHON3 TELNETLIB
The telnetlib module provides a Telnet class
that implements the Telnet protocol. See RFC
854 for details about the protocol!!!

WE HAVE CLOSE TO 20 SCRIPTS


FOR EVERY MODULE
Yes! We are going to discuss close to 20
variuos scripts in all the modules individually..
You'll learn how to write script, execute script
and pull output and print to external files.

Presented by Network Journey


MODULE#2 PYTHON3 PARAMIKO
Paramiko is a Python implementation of the
SSHv2 protocol, providing both client and
server functionality. While it leverages a Python
C extension for low level cryptography

MODULE#3 PYTHON3 NETMIKO


Netmiko was created to simplify this lower-
level SSH management across a wide set of
networking vendors and platforms.

Presented by Network Journey


MODULE#4 PYTHON3 NAPALM
NAPALM (Network Automation and
Programmability Abstraction Layer with
Multivendor support) is a Python library that
implements a set of functions to interact with
different network device Operating Systems
using a unified API.

MODULE#5 PYTHON3 PYNTC


PYNTC is an open source multi-vendor
Python library that establishes a
common framework for working with
different network APIs & device
types (including IOS devices)

Presented by Network Journey


MODULE#6 PYTHON3 NORNIR
Nornir is an automation framework written in
Python. These days there exists several
automation frameworks. What makes Nornir
different is that you write Python code in order
to use Nornir. This is to be compared to other
frameworks which typically
use their own configuration language.

MODULE#7 PYTHON3 SUBPROCESS


MODULE#8 PYTHON3 SCAPY
The subprocess module allows you to spawn new
processes, connect to their input/output/error pipes, and
obtain their return codes.

Scapy - Packet crafting for Python2 and Python3. Used


to decaps the Wireshark .pcap files into JSON format.

Presented by Network Journey


MODULE#9 ANSIBLE
Ansible is the simplest way to automate apps
and IT infrastructure. Application Deployment +
Configuration Management + Continuous Delivery.

MODULE#10 PYTHON3 THEORY


Python was developed by Guido van Rossum in the
early 1990s and its latest version is 3.7.1, we can simply
call it as Python3. Python 3.0 was released in 2008. and
is interpreted language i.e it’s not compiled and the
interpreter will check the code line by line.

Presented by Network Journey


MODULE#11 OVERVIEW OF CISCO
DEVNET
THIS IS GOING TO BE OVERVIEW ONLY.
CISCO DEVNET ASSOCIATE ITSELF IS A COMPLETE
NEW TRACK.
WE ARE COVERING THE OVERVIEW SO THAT
SOMEONE WHO IS LOOKING INTO CISCO DEVNET
FINDS IT EASIER ALONG WITH OUR PRACTICAL
SCRIPTING ON PYTHON3 & ANSIBLE MODULES.

CISCO DEVNET 200-901 DEVASC


Understanding and Using APIs
Infrastructure and Automation
Application Deployment and Security
Cisco Platforms and Development
Network Fundamentals
Software Development and Design

Presented by Network Journey


SCRIPTS

✔Script 1: Configure Loopback, OSPF, BGP using


Telnetlib module
✔Script 2: Exclude password from the script using
getpass() using Telnetlib module
✔Script 3: Save output locally to default folder

DETAILED ✔Script 4: Save output locally to customized folder


✔Script 5: Configure Vlan using Single line

SYLLABUS ✔Script 6: Configure Vlan using “for loops”


✔Script 7: Configure Vlans (using “for” loops) on
Multiple Switches (using “List”)
ON SCRIPT ✔Script 8: Configure Vlans (using “for” loops) on
Multiple Switches (using “for” loops)

BASIS ✔Script 9: Configure Vlans (using “for” loops) on


Multiple Switches (device lists
on seperate text file) and Save the output (customized
File path)
✔Script 10: Save Backup (default path) for Multiple
Switches (device lists on seperate text file)
✔Script 11: Basic Paramiko script to collect “show
version” output on Cisco IOS {Exec method}

Presented by Network Journey


SCRIPTS CONTD.

✔Script 12: Basic Paramiko script to take “ifconfig”


output on Linux server {Exec method}
✔Script 13: Script to configure “Loopback”, “OSPF” using
Paramiko Invoke method
DETAILED ✔Script 14: Script to configure “Loopback”, “OSPF” and
Vlans via “for” loops using Paramiko Invoke Method

SYLLABUS ✔Script 15: Create myparamiko.py (Parent Paramiko)


✔Script 16: “SHOW RUN” on Cisco IOS (Child Paramiko)

ON SCRIPT ✔Script 17: Create “Users” on Linux (Child Paramiko)


✔Script 18: Trim Unwanted Output from “Show run” on

BASIS
Single Cisco IOS using “split”, “list”, “join” (Child
Paramiko)
✔Script 19: Trim Unwanted Output from “Show run” on
Multiple Cisco IOS using
“split”, “list”, “join” and Save it on Daily basis with “time”
module
(Child Paramiko)

Presented by Network Journey


SCRIPTS CONTD.
✔Script 20: SCP Paramiko {Complete IOS Software
Upgrade Automation step-by-step} (Standalone
paramiko script and not re-factoring method)
✔Script 21: BASIC NETMIKO SCRIPT WITHOUT
“CONNECTHANDLER”
✔Script 22: NETMIKO SCRIPT USING

DETAILED “CONNECTHANDLER”
✔Script 23: NETMIKO SCRIPT USING

SYLLABUS
“CONNECTHANDLER” FOR HANDLING ADDITIONAL
“PROMPTING”
✔Script 24: NETMIKO SCRIPT USING
ON SCRIPT “CONNECTHANDLER” FOR SENDING MULTIPLE
COMMANDS IN “LIST” FORMAT

BASIS ✔Script 25: NETMIKO SCRIPT USING


“CONNECTHANDLER” FOR SENDING COMMANDS VIA
“EXTERNAL FILES”
✔Script 26: NETMIKO SCRIPT “RUN MULTIPLE CLI
COMMANDS” FROM “MULTIPLE CONFIG FILES” ON
“MULTIPLE DEVICES”
✔Script 27: NETMIKO SCRIPT TO SAVE “BACKUP”
✔Script 28: NETMIKO SCRIPT TO SEND FILE USING
“SCP”
Presented by Network Journey
SCRIPTS CONTD.
✔Script 29: NETMIKO SCRIPT FOR ENABLE “LOGGING”
✔Script 30: NETMIKO FIND PROMPT
✔Script 31: NETMIKO TELNET
✔Script 32: NETMIKO LOGGING
✔Script 33: CONNECT TO “TERMINAL SERVER” FIRST
AND THEN GOTO SSH CISCO IOS

DETAILED ✔Script 35: SCP TRANSFER FILE TO FLASH0:


✔Script 36: PROMPT FINDING

SYLLABUS
✔Script 37: INVALID DEVICE
✔Script 38: NETMIKO MULTIPLE DEVICE IN ONE SCRIPT
✔Script 39: TO CHECK NETMIKO SNMP STRING V2C
ON SCRIPT ✔Script 40: TO CHECK SNMP V3
✔Script 41: NETMIKO COMMMIT COMMAND IN LIST

BASIS FORMAT
✔Script 42: NETMIKO MULTI PROCESSING
✔Script 43: NETMIKO MULTI THREADING
✔Script 44: NETMIKO JINJA
and many more..
Guys, trust me these are only half of the scripts
mentioned. There are still as many as of them which
would be discussed in Live Online Training.

Presented by Network Journey


PYTHON3 THEORY IS ALSO
COVERED
✔Python Intro
✔Python Syntax
✔Python Comments
✔Python Variables
✔Python Data types

AND ALSO ✔Python Numbering


✔Python Casting

PYTHON3 ✔Python Strings


✔Python Boolean
✔Python Operators
THEORY IS ✔Python Lists
✔Python Tuples

COVERED ✔Python Dictionary


✔Python Sets
✔Python if.. loop
✔Python Else if
✔Python While Loop
✔Python JSON
✔Python PIP
✔Python Regex

Presented by Network Journey


DID YOU KNOW?

85%
OF CISCO DEVICES ARE
15%
PLACED IN
DISTRIBUTION & OF CISCO DEVICES ARE
ACCESS LAYER ON CORE LAYER
WITHOUT INTEGRATED HAVING INBUILT
PYTHON. PYTHON. AUTOMATING
THIS IS WHERE THIS IS NOT A CHALLENGE
COURSE WILL HELP TO HERE DUE TO BENEFITS
INTEGRATE SCRIPTING OF ACI
AND AUTOMATE CISCO
DEVICES
Presented by Network Journey
75% NETWORK
50%
AUTOMATION
JOBS
25%

INCREARE IN JOB TREND


0%
2005 2010 2015 2020 FOR LAST COUPLE OF YEARS
FOR NETWORK
AUTOMATION JOBS

Presented by Network Journey


SAGAR
DHAWAN
TRAINER
TRAINER
SPECILIZED
PROVIDING
YOUTUBE TRAINING IN:
✔ CCIE
LINKEDIN ✔ CCNP
✔ CCNA
WEBSITE ✔ DEVNET
✔ SECURITY
WHATSAPP ✔ DATACENTER

Presented by Network Journey

You might also like