Skip to main Content

Programming for Network Engineers

  • Course Code PRNE
  • Duration 4 days
  • Version 2.0

Additional Payment Options

  • CLC 36 excl. VAT

Public Classroom Price

£3,095.00

excl. VAT

Request Group Training Add to Cart

Course Delivery

This course is available in the following formats:

  • Company Event

    Event at company

  • Elearning (Self-paced)

    Self paced electronic learning

  • Public Classroom

    Traditional Classroom Learning

  • Virtual Learning

    Learning that is virtual

Request this course in a different delivery format.

Course Overview

Top

The Programming for Network Engineers (PRNE) course is designed to equip you with fundamental skills in Python programming. Through a combination of lectures and lab experience in simulated network environments, you will learn to use Python basics to create useful and practical scripts with Netmiko to retrieve data and configure network devices. Upon completion of this course, you should have a basic understanding of Python, including the knowledge to create, apply, and troubleshoot simple network automation scripts.

This course will help you:

- Explain the need for network engineers to learn how to program

- Explain how programming relates to the journey into network automation and programmability

- Create useful and practical scripts to retrieve data and configure network devices

- Create, apply, and troubleshoot simple network automation scripts

- Gain hands-on experience with Python programming

Course Schedule

Top
    • Delivery Format: Virtual Learning
    • Date: 09-12 December, 2024

      Guaranteed  To Run

    • Location: Virtual

    £3,095.00

    • Delivery Format: Virtual Learning
    • Date: 22-25 April, 2025
    • Location: Virtual

    £3,095.00

    • Delivery Format: Virtual Learning
    • Date: 26-29 August, 2025
    • Location: Virtual

    £3,095.00

    • Delivery Format: Virtual Learning
    • Date: 15-18 December, 2025
    • Location: Virtual

    £3,095.00

Target Audience

Top

Networking individuals looking to understand the fundamentals of Python programming which is essential for todays software defined networks.

Course Objectives

Top

After completing this course, you should be able to:

  • Create a Python script
  • Describe data types commonly used in Python coding
  • Describe Python strings and their use cases
  • Describe Python loops, conditionals, operators, and their purposes and use cases
  • Describe Python classes, methods, functions, namespaces, and scopes
  • Describe the options for Python data manipulation and storage
  • Describe Python modules and packages, their uses, and their benefits
  • Explain how to manipulate user input in Python
  • Describe error and exception management in Python
  • Describe Python code debugging methods

Course Content

Top

Introducing Programmability and Python for Network Engineers

  • Programmability
  • Continued Importance of the CLI
  • Need for Python
  • First Python Program

Scripting with Python

  • Running a Python Script
  • Python Interactive Shell
  • Editors and IDEs

Examining Python Data Types

  • String Data Type
  • Integer Data Type
  • Float Data Type
  • Boolean Data Type
  • type() Function 
  • Python Variables
  • List Analysis
  • Tuple Data Analysis
  • Data Set Types
  • Python Dictionary
  • Nested Data Types
  • Navigating Complex Data Structures

Manipulating Strings

  • String Manipulation
  • String Splitting
  • Modifying Strings
  • String Contacenation
  • Whitespace Stripping
  • Formatting and Templating
  • Escape Characters
  • Regular Expressions
  • String Methods

Describing Conditionals, Loops, and Operators

  • Whitespace and PEP 8
  • Conditionals
  • Operators
  • Example of Using Conditionals
  • Loops
  • Loops with Lists, Dicts and Ranges

Exploring Classes, Methods, Functions, Namespaces, and Scopes

  • Practical Reuse of Codes
  • Functions
  • Code Commenting
  • Namespaces and Scopes
  • Classes and Methods
  • Using Inheritance to Extend Functionality
  • Main Construct

Exploring Data Storage Options

  • Data Formats
  • Readng Data from a Simple Text and CSV File
  • Writing Data to a Simple Text and CSV File
  • Reading Data from a JSON Text File
  • Writing Data to a JSON Text File
  • Data Access in a RAW or Unstructured Format

Exploring Python Modules and Packages

  • Python Standard Library Modules
  • Reusable code with Modules and Packages 

Gathering and Validating User Input

  • Obtaining User Input
  • Command-Line Arguments

Analyzing Exceptions and Error Management

  • Errors and Exceptions
  • Managing Exceptions
  • Assertions

Examining Debugging Methods

  • Code Debugging Process
  • Python Debugging Functions
  • Debuggers
  • Python Debugger
  • Pdb Commands

Labs

  • Execute Your First Python Program
  • Use the Python Interactive Shell
  • Explore Foundation Python Data Types
  • Explore Complex Python Data Types
  • Use Standard String Operations
  • Use Basic Pattern Matching
  • Reformat MAC Addresses
  • Use the if-else Construct
  • Use for Loops
  • Use while Loops
  • Create and Use Functions
  • Create and Use Classes
  • Use the Python main() Construct
  • Traverse the File Structure
  • Read Data in Comma-Separated Values (CSV) Format
  • Read, Store, and Retrieve Data in XML Format
  • Read, Store, and Retrieve Date in JavaScript Object Notation (JSON) Format
  • Read, Store, and Retrieve Data in a Raw or Unstructured Format
  • Import Modules from the Python Standard Library
  • Import External Libraries
  • Create a Python Module
  • Prompt the User for Input
  • Use Command-Line Arguments
  • Manage Exceptions with the try-except Structure
  • Manage Exceptions with the try-except-finally Structure
  • Use Assertions
  • Use Simple Debugging Methods
  • Use the Python Debugger
  • Code a Practical Debugging Script

 

Course Prerequisites

Top

Attendees should meet the following prerequisites:

  • Familiarity with Cisco IOS®-XE software or other Cisco network device configuration and operation skills
  • Basic network management knowledge
Recommended prerequisites:

Test Certification

Top

Recommended as preparation for the following exams:

  • There is no exam currently aligned to this course

 

Follow on Courses

Top
  The following are recommended for further study:
Cookie Control toggle icon