Network Programmability for Noobs (ENAUTO, DCAUTO, DevNet)

Using python and the NX-OS API to Configure OSPF on a device.

This script will authenticate with a Nexus device that has feature nxapi enabled. We store the token received in a variable for later use, and then enable ospf globally, set the router id, and finally configure an interface with an IP address and to participate in our ospf instance in area 0.

On my journey towards Enterprise CCIE, I might make a pit stop or two at some of the DevNet certs.

Getting started with it all can be confusing, info overload to the max, and somewhat discouraging when you’re not sure how to accomplish tasks on your own.

The point of this video was not necessarily to be an in depth tutorial, but more an overview of the thought process I used to accomplish the task of having a python script configure something on a network device, without following a tutorial.

I used the NXAPI documentation, postman, and the NXAPI sandbox to accomplish creating this script.

As I continue my path towards the Cisco ENAUTO (Automating Enterprise Networks), I will continue to post my learnings.

Please subscribe, comment with feedback on how to improve these videos, and what you would like to see in the future.


Free Lab:

Script from Video:

NX-API Documentation:…

Cisco DevNet Basics Course (Free):…

Using Windows PowerShell to Compute File Hash (Bonus: automatically compare it to a given value)

Learn to use Windows PowerShell to calculate hash checksum values, and automatically compare the output to a given value!

Being interested in security, you can’t help but hear about “hashing” and “file integrity”. I was aware that you can download third party software to calculate file hashes using different algorithms such as SHA256 and MD5, but I wasn’t aware you can do it in Windows PowerShell.

The coolest thing is how simple it is. Keep reading to learn how we do it!

Continue reading “Using Windows PowerShell to Compute File Hash (Bonus: automatically compare it to a given value)”