Download a nice free open software called ATOM, create a file called text.py from __future__ import absolute_import, division, print_function print ('hello') Navigate to the directory that you just created and try to python script: [delanajero@DELAN Documents]$ python text.py hello If you want to run just the script without typing python before the file perform the … Continue reading Basics of running Python scripts from bash shell
Month: July 2017
Releasing ports in use in Linux
Have you ever experienced exiting out of an application and you can’t come back to it because the port is already in use. For example doing an iperf and accidentally pressing ctrl+C for some reason which takes you back to the command prompt. Issuing the iperf -s command would give you an error message saying … Continue reading Releasing ports in use in Linux
Cisco RV134W Initial Review
We’ll take a look at Cisco’s router line for SMB particularly the RV134V router. First time I heard about the RV line was when I went to a partner select training for Cisco. There seems to be a push on these product line specially for the NBN service, National Broadband Network (NBN) is basically Australia’s … Continue reading Cisco RV134W Initial Review
Connecting to a Cisco device with Netmiko
UPDATE: If you are installing netmiko on ubuntu, I would recommend to install pip first then install netmiko. $sudo apt install python-pip Then once this is done, you can execute: pip install netmiko Now lets continue with exploring Netmiko. I don't intend to write long blogs and will try to keep each one as short … Continue reading Connecting to a Cisco device with Netmiko
Revisiting Python and Netmiko
This weekend I am revisiting python and netmiko. Netmiko is basically a phython library that uses ssh connecting to devices to screen scrape, run show and execute commands (in my case) on Cisco routers and switches. I made a blog about writing a simple 881 config template using Python. Back then I was using a … Continue reading Revisiting Python and Netmiko
Cisco ACI Migration training
I am back in Cisco's headquarter in Sydney for another ACI training. What makes this training different from the previous ones I have attended (so far) in Cisco live Mel and here in Sydney is it a deep dive into the technology and not just being thrown a bunch of marketing jargons and hardware specs. … Continue reading Cisco ACI Migration training
eBGP peering with a Fortigate 100D
The other day I get to configure a Fortigate 100D via CLI to peer via a Cisco device. Now the requirements are on certain LAN interfaces on the Forti, they are not making full use of the /24 instead they broke it up to /28. So 3 interfaces on the LAN that would need to … Continue reading eBGP peering with a Fortigate 100D
Managing linux ssh sessions with “screens”
I really need to seriously start learning linux. I have been fudging around it learning basic commands but just didn't spend enough time to dig deeper aside from the basic -ls commands. The other day I had to perform some iperf test for a customer but our iperf is installed on some debian linux server. … Continue reading Managing linux ssh sessions with “screens”