Automate file uploads to your Cisco Nexus switches

If you have more than three Cisco Nexus switches in nx-os mode, and you are not using Cisco DCNM or any other similar tool, you probably already have encountered this question: How to automate file uploads to your Cisco Nexus switches? Here is a turnkey Python script using Netmiko’s SCP function to do this.

Read More...

Shutdown thousands access ports with Python and Netmiko

When people ask me “what a network engineer should do to start in network automation?”, my first answer is: start with small things. Try to automate basic and repetitive tasks you do every day. Go after the low-hanging fruits first. Then, step by step, you can do more and more complex things. This is how I learn the best. In the same vein, I want to share with you my recent experience of automating a very basic and repetitive task: shutdown thousands of unused network access ports.

Read More...

How to install EVE-NG on Microsoft Hyper-V

Recently, my license for Cisco VIRL expired and I wanted to test alternatives to have a lab on my laptop. I got used to install the client and the server parts of VIRL on my laptop, to not have to worry about connectivity when I want to do a lab or a demo to a colleague or a customer. With the exceptional opportunities of the different cloud solutions actually, this is probably not the best solution, but it suits me well for a small lab and I’d like to continue…

Read More...

Python script and multiple API calls practice with Google and Twitter

After doing a lot of Python tutorials and spending time “playing” with Postman and API calls during my journey to network programmability and automation, I wanted to make a concrete example, from zero to a visible result. Since I love photography and my country is full of beautiful but not well-known places, I chose to do the following: Take the complete list of municipalities, towns and villages in my country. Choose one location per day, randomly, in this list. Search and download a photo of this place on Google map, including…

Read More...

Cisco Embedded Event Manager (EEM)

EEM

The Cisco Embedded Event Manager or Cisco EEM is a software component of Cisco IOS, IOS-XR, and NX-OS that provides real-time network event detection and onboard automation. EEM allows you to automate tasks, perform minor enhancements and create workarounds and can makes life easier for network operators by tracking and classifying events that take place on a network device and providing actions options for those events.

Read More...