Monthly Archives: April 2014

NetEng PyScript 1: Mass Ping

Python Scripts For Network Engineers 1: Mass Ping

 

import subprocess
import os
import sys

for ping in range(1,32): #(x,y) x = starting range; y = ending range but not including
address = sys.argv[1] + str(ping)
x = subprocess.call([‘ping’, ‘-c’, ’3′, ‘-W’, ’1′, address])
        if x == 0:
                printping to“, address, “OK
        elif x == 2:
                printno response from“, address
        else:
                printping to“, address, “failed!

 

Example:

python ping_script.py 172.16.1.0

Pings would then start from 172.16.1.1 up to 172.16.1.31

Log 10: Narbik Volume I Done!

Week: 15-18

Hours: 166.25

Week 15 was filled completely with finishing up all the Advanced Technologies INE videos on BGP. The videos were very well put together but there were definitely many times where I felt overwhelmed. I am sure I will be going through this section of videos again :/

Week 16 I started up on the Narbik BGP labs. These labs once again are amazing. They really reinforce everything I watch in the videos and make it a lot more clearer. It also helps that Narbik also writes out key facts throughout the workbook. BGP was the last section in the first Narbik workbook.

Week 17 was the start of a completely new topic for me…MPLS. Once again going through the INE videos on the subject. MPLS is definitely something I am going to have to put in major lab time in since it is so new to me. It really is an awesome technology though. I feel like I got a very good understanding of how MPLS works during this week.

Week 18, bring on the MPLS labs from Narbik Volume II! The first MPLS lab alone took me nearly 4.5 hours! I was able to finish about 3 of the MPLS labs up this week and hope to finish up the rest during week 19.

Log 9: Back in Action!

Week: 13-14

Hours: 129.75

You thought I had quit didn’t you! Shame on you, shame on you! :)

I had my week break and feel refreshed and good as ever. Week 13 & 14 were filled with finishing up everything OSPF as well as Redistribution. Currently I am in week 15 going through BGP. I actually am really really enjoying it! I think it may be my favorite topic so far.

I really would like to step up my weekly study hours but it has truly become a challenge. I find it very difficult to break more then 13 hours on a weekly basis. My current schedule goes something like this:

Monday through Thursday:
- Work: 9am – 6pm (sometimes later/earlier depending on network changes at work)
- 7pm-8pm: Run, Eat, Shower
- 8pm-11pm: Study (I usually get between 2-3 hours in)

Friday and Saturday:
- I usually hang out with friends/family/gf. Go out to bars and such. My weeks are usually really busy and stressful with work so I feel like I need this time to kick back and relax. I know I should be studying but it’s very difficult :/

Sunday:
- Study for usually 3hours (I try to at least)

All in all I feel I am making decent progress. Yeah I may not be in the “hardcore CCIE mode” but I am definitely becoming a stronger engineer each and everyday.

networking-link.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.