Yet Another Python Networking Automation

As you might see on my previous posting how to configure MPLS using Netmiko Python library, this time I will show you another Netmiko application that I created for personal usage. Currently, I’m pursuing one of my goals to get a magic number. Yeah, I’m studying CCIE at this moment. I use some CCIE study materials but for the lab exercise, I’m using INE Lab Workbook and GNS3 as my favorite network emulator.

In this session, I won’t talk more about my CCIE journey itself. Instead, I will show you another Python code to push Cisco router configuration during my lab study based on INE RS v5 Lab Workbook. Usually, I need to copy and paste the initial configuration from INE Lab Workbook into CLI session. And I always need to perform on each lab section. Therefore, I was thinking how to simplify and translate this repeating job into single action so that I can push the initial configuration on 10 routers automatically.


You can refer to the following network diagram that I use on my lab exercise:

Continue reading Yet Another Python Networking Automation


MPLS Automation Using Netmiko

Due to Computer Networking technology are shifting to software-based recently, we are expected to have capability in programming language as part of Network Engineer skill set today. It doesn’t mean to become a Network Engineer you have to be a Programmer too, it doesn’t mean Programmer jobs will be taken over by Network Engineer or vice versa. However, being Network Engineer with programming knowledge will be an advantage. You can automate network configuration using a codes/script to ease your daily operation, eventually the efficiency is the main objective.

I have a limited experience with Java when I was studying at my engineering college few years ago (in fact, I have no background study in IT). I believe, as an IT engineer at least you have an experience in programming too. I prefer to study Python programming now as its easiness to learn and has so many module that you can use, moreover it has large community outside there.

In this session, I will share my codes to automate MPLS L3VPN configuration using Python. Thanks for Kirk Byers who has developed Netmiko library for Python. Alright! As usual, here the network topology as your reference:

Continue reading MPLS Automation Using Netmiko

TELDAT: PPPoE and 3G Backup

Beberapa minggu lalu saya diminta oleh salah satu client melakukan testing Teldat router (M1 series) untuk menggantikan existing router. Saat ini, mereka menggunakan layanan PPPoE dari salah satu ISP lokal untuk koneksi ke internet. Namun sayangnya, seringkali mereka mengeluhkan layanan dial-up tersebut karena sering down. Sehingga mereka mencari alternatif solusi menggunakan koneksi 3G/4G sebagai backup koneksi ke internet. Berikut adalah overview topologi PPPoE & 3G Backup:

Teldat PPPoE & 3G Backup

Continue reading TELDAT: PPPoE and 3G Backup

ESR Serial-over-IP Tunneling

In several months ago, I’ve been asked to perform proof of concept by a customer who wants to deploy Serial connection over WAN. It’s because they have a Client-Server application for SCADA, which is still running on legacy protocol with Serial interface. In this session, I won’t discuss more detail about the SCADA system. However, I will show you how to transmit the Serial data over IP with Enterprise Service Router (ESR) to provide connectivity between RTU on remote site and the SCADA server on Data Center site.

Actually, this is a common feature as there are a lot of vendors outside there who have capability to do it, especially for manufacture equipment. Cisco they have BSTUN as their proprietary protocol, to transfer Serial data over IP. ESR also has capability to encapsulate Serial data and transfer it over IP connection. It called as ASDP (Asynchronous Serial Device Proxy) and SCADA protocol for specific solution. In this part, I just want to share how to configure ASDP on ESR. As usual, you can refer to the following topology in this scenario.


 Picture 1: Basic Topology for Serial-over-IP to provide SCADA connectivity

Continue reading ESR Serial-over-IP Tunneling

ESR Dual-GSM Failover

I’d like to show you one of the benefit from Enterprise Service Router. As you might be know, ESR has been equipped by GSM module. There are two options, it can support single OR dual SIM card for redundancy purpose. In this tutorial part, I want to share my experience about how to configure Dual GSM Failover in ESR. Please refer to the following picture for details:


Picture 1: General topology for Dual GSM scenario

Continue reading ESR Dual-GSM Failover

ESR VoIP Survivability

In this chapter, I’d like to show you how to configure VoIP feature on OmniAccess ESR from Alcatel-Lucent Enterprise. OmniAccess ESR is a compact router which has wide range solution for Enterprise market. It can be configured to perform VoIP Survival Capability between two areas over WAN connection. Here’s the detail scenario and configuration:

OmniAccess VoIP

We have two routers on different area, these routers are connected to IP Phone clients on both sites. In the branch area, we have two IP Phones which are running different protocol, NoE (Alcatel’s proprietary) and SIP. We should make a call between those two sites during normal situation. When the link between two routers is down, phone clients at branch site should be able to make a local call.

Continue reading ESR VoIP Survivability