Skip to content
WanderNets.com

WanderNets.com

Journeys in Networking and Automation

  • Home
  • Tools
  • My GitHub
  • Cisco DevNet
  • External Publications
  • About
You are Here
  • Home
  • pexpect

Tag: pexpect

Cisco, iOS, Pexpect, Python

What to expect in pexpect? – Advanced examples

12/07/202322/09/2024 Radosław Kochman

I remember how frustrated I was at the beginning of my journey with pexpect. I never knew what string to put as an expect argument, and even if I knew, the pexpect wasn’t catching it. Today we will go through

Read More

Leave a Comment on What to expect in pexpect? – Advanced examples
Share
Cisco, iOS, Pexpect, Python

Pagination handling with pexpect

06/06/202322/09/2024 Radosław Kochman

In this article, we will examine the apparently easy task which is a retrieval of the show version command from the Cisco router. What could go wrong there, and how to fix it? Let’s figure it out! Workflow overview Today,

Read More

Leave a Comment on Pagination handling with pexpect
Share
Cisco, iOS, Pexpect, Python

Script runtime optimization with pexpect

27/03/202322/09/2024 Radosław Kochman

Automation itself is a milestone when it comes to efficiency. Tasks can be executed simultaneously on many devices even during nights/holidays. Sometimes, however, it has its limits. As the task execution time grows more and more, it’s a good idea

Read More

Leave a Comment on Script runtime optimization with pexpect
Share
Cisco, iOS, Pexpect, Python

Flow control with pexpect

13/03/202322/09/2024 Radosław Kochman

Using pexpect is pretty straightforward, but what about the situations, when we don’t know in what state the device, that we’re interacting with is? In such a scenario, we have to implement logic in our script that could handle different

Read More

1 Comment on Flow control with pexpect
Share
Cisco, iOS, Pexpect, Python

Basic Cisco router automation workflow with pexpect

10/03/202322/09/2024 Radosław Kochman

Network automation can take many forms depending on the technologies and environments. Sometimes though, we have to dive deep into low-level automation, where we can’t use REST API or other more-convenient technologies. In this article, we will take a brief

Read More

1 Comment on Basic Cisco router automation workflow with pexpect
Share

Recent Posts

  • Collect objects from the Strata Cloud Manager
  • Create security rules with automation in Strata Cloud Manager
  • Prepare your Strata Cloud Manager for automation
  • Deploy Cumulus Linux in under a minute with Containerlab
  • Cisco Catalyst Center: Python & REST API Essentials

Categories

  • Charity
  • Cisco
  • Cisco Catalyst Center
  • Cisco DNA Center
  • Cisco Meraki
  • Cisco SD-WAN
  • Containerlab
  • Cumulus Linux
  • Dell
  • DEVASC 200-901
  • FTOS
  • GNS3
  • iOS
  • Linux
  • Netmiko
  • NetStudy
  • Network automation
  • News
  • Nokia/Alcatel
  • Palo Alto
  • Pexpect
  • Python
  • Quanta
  • REST API
  • SDN
  • Spirent
  • SR-Linux
  • Strata Cloud Manager
  • TiMOS/SR-OS
  • Video
  • Webinar
  • Terms and Conditions
All Right Reserved 2020. Proudly powered by WordPress | Theme: Ocius by Candid Themes.