Today’s IT landscape if full of software defined marketecture, and lore of a dystopian future full of network engineers that do nothing but write code. But in reality, there are plenty of actual reasons you should be learning programming, or at least some basic scripting. For many network engineers programming is not new, we have […]
Working with the Embedded Event Manager (EEM)
Cisco IOS has plenty of gems contained within, but few are as fun, and as endlessly useful as the Embedded Event Manager, or EEM. To define it simply, EEM is a technology that allows you to run a script or a set of commands upon an event. Basically, it’s an IOS scripting language that allows […]
Regular Expression Basics
Before I even get started, I want to mention that not all regular expression metacharacters are supported in every application. Keep this in mind when building your matches. Regular expressions are made up of normal characters and metacharacters. Normal characters include upper and lower case letters and numerals. The metacharacters have special meanings and can […]
SSH Wrapper Script
Ok — this is my first script that I’m posting here. Its a VERY simple ssh wrapper script that you can place in your path, preferably in ~/bin #!/bin/bash SSH=”/usr/bin/ssh” case “$*” in *’@’*) $SSH $* ;; *’ -l’*) $SSH $* ;; *) $SSH -l root $* ;; esac What this […]