Category: Netmiko


Using Python with Cisco Devices – User Input & Device Lists

In the last blog post, “FirstStep – 1.0 – Using Python to Connect to Cisco Device“, we defined a couple of Cisco devices within our script and used Netmiko to SSH into them to issue a “sh clock” command. In this post I want to simply add to the previous. This isn’t necessarily anything more than just an example of taking input from user and using that to determine devices we will connect to. You may find the general concept useful when building your own scripts to do trivial tasks or in creating some self service tools for others. The...


FirstStep – 1.0 – Using Python to Connect to Cisco Device

When I first started out wanting to learn Python I watched numerous online courses and videos related to basic python programming. Most just repeated all the same things and I struggled with understanding how things would apply to me in the networking world. I also struggled with the question, “What do you want to automate?”. This was oddly a major roadblock for me as I couldn’t somehow convince myself it was worth my time. Why would I spend days or weeks trying to write something to do a task I could knock out manually in an hour or so? Once...


First Steps: Avoid the religious wars!

Many in the networking world have either embraced the fact the tide is shifting in how we manage devices and data centers or have at the least seen the writing on the wall. The network is changing, period. What will the technologies or tools be that we ultimately shift too is yet to be determined? Don’t get caught up in the rhetoric and seemingly religious debate of it all.  Know it’s changing, know if you want to stay relevant that means you too must change. It’s my opinion that one of the first things you can do to help yourself...