New Skills

New Training: Automate IP Reachability Testing

by Team Nuggets
New Training: Automate Data Center Fabrics picture: A
Published on February 22, 2021

In this 6-video skill, CBT Nuggets trainer John McGovern demonstrates how to use Python to build effective command-line IP reachability tools for testing network connectivity. Watch this new networking training.

Watch the full course: Advanced Network Automation with Cisco and Python

This training includes:

  • 6 videos

  • 57 minutes of training

You’ll learn these topics in this skill:

  • Overview

  • Building a Script

  • Show IP Interface Brief

  • Targeting Loopbacks

  • Management Interfaces

  • Ping Report

How Do You Automate Testing IP Reachability?

Let's say that you need to verify a list of IP addresses in use in an enterprise environment, or you may want to automate network deployment and need a way to verify IP addresses first. You certainly don't want to verify a long list of IP addresses by hand.

Thankfully, tools like Nornir make this quite easy. Nornir is a Python-powered IT automation framework like Ansible. Because Nornir uses Python for its scripting, automating tasks like checking for IP reachability is simple.

The idea is easy. Create a script in Python that sends a ping command to specific IP addresses. If you need to check a range of IP addresses, that script could loop through an entire address block. The results of each of those tests can be piped to a text file, spreadsheet, or database.

This is only one example of a task that you can complete with these automation tools. Tools like Nornir and Ansible make performing routine and repetitive tasks like this quick and painless.



Ultimate Networking Cert Guide

A 97-page guide to every Cisco, Juniper, F5, and NetApp certification, and how they fit into your career.

By submitting this form you agree that you have read, understood, and are able to consent to our privacy policy.

Don't Miss Out

Get great content delivered to your inbox.

I have read and understood the privacy policy, and am able to consent to it.

Recommended Articles

Get CBT Nuggets IT training news and resources

I have read and understood the privacy policy and am able to consent to it.

© 2022 CBT Nuggets. All rights reserved.Terms | Privacy Policy | Accessibility | Sitemap | 2850 Crescent Avenue, Eugene, OR 97408 | 541-284-5522