Tagged: automation


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: Python and Network Automation

I won’t get into any of the arguments about what constitutes “network automation.” For me and the purposes of some of the posts, it’s simply about learning Python and some of the libraries to help simplify information gathering and or device configuration. If you want to get started down this path, then your first course of action is to get familiar with “CiscoConfParse” and “Netmiko.” The first thing you have to deal with is connecting to your devices and issuing commands, that’s where Netmiko comes in. Then you will want to parse configurations to either extract details or to help...