Learn Scripting
Today’s IT landscape is full of software-defined marketecture, and the lore of a dystopian future full of network engineers that do nothing but write code. But in reality, there are plenty of reasons you should Learn Scripting or at least some basic scripting. For many network engineers programming is not new, we have all been hacking together shell, Perl, and Python for a VERY long time. While the requirements in the future may change, today it is not necessary to become a half network engineer and half software engineer, but learning the basics now will keep you in the know. Learning the basics of logic and loop statements will help you speed up day-to-day tasks, but it will help you understand other languages as you expand your knowledge. So, here are a few reasons we think will boost you enough to make your heart assure that it’s a necessity in this era you need to learn to script.
1: Automation can save you time
Writing a script for common/repetitive tasks can save you a staggering amount of time. Over the years I have written hundreds of scripts to aid in everything from Data Center VLAN/SVI management to banning/unbanning MAC addresses from multiple wireless LAN controllers.
2: Scripts keep things consistent
When you want identical configuration across multiple devices, a script can ensure that happens every single time. Interface descriptions, VLAN names, or even things like keeping port-channel and vPC ids synced.
3: The knowledge is portable
As you continue to learn you will find more and more uses for the skills you pick up. To this day I still use the same “tricks” that I picked up 20 years ago to speed up tasks that I perform. From bash for loops to iterate through lists of data to filtering with grep, or using cut or awk to segment it, I use these things nearly every day to deal with whatever data I’m sorting through.
4: It’s not as difficult as you think
Many of the one-off scripts that I write can be simplified into a single line. If you understand tools like grep, awk, or sed, you’re already on the right path. If not, start exploring the tools that are built right into bash. (Which is available from MSFT for Windows 10 users)
5: If you don’t learn these skills, someone else will
These skills are not only valuable to you, but to your future employers. Our roles may or may not shift in the future, and we could end up in a situation where those without the proper skill set are left behind.